Issue with date pop-up window coming up continuously

Hey all,
We are experiencing some sort of weird Swing behavior in our
application with a date pop-up window. When we update date
values, a pop-up date selection window displays. Then we choose
a date by either double clicking a date or clicking on a date
and clicking OK. Well, on subsequent updates of dates in a
specific table, it is prompting us to select the date 3-4 times
before taking. In other words, the pop-up date selection window
displays 3-4 time consecutively despite choosing a date each
time before taking affect on the last selection.
Looking at the code and the behavior, it seems the application
is simply ignoring the fact that the event has been completed.
has anybody experienced behavior like this? Any help would be
appreciated. We are stumped.
Need more information?
Thanks in advance,
Tim

here's a snippet of the code that's generating the calendar
dialog:
when a "double click" is detected:
public void mouseClicked(MouseEvent e)
if(e.getClickCount() == 2)
//consume event to prevent it from "contaminating" other
mouse listeners
e.consume();
if (AbstractApplication.LOG_INFO)
System.out.println("Calendar row double-clicked");
CalendarDialog cd = AbstractApplication.getCurrentInstance
().getCalendarDialog();
cd.init(fieldToModify);
cd.setLocation(100, 100);
cd.resetDefaultButton();
cd.setVisible(true);
which calls this in CalendarDialog:
public void init(JTextComponent aFieldToModify)
setFieldToModify(aFieldToModify);
DateTime currentDate = validateTextDatePassedIn
(getFieldToModify().getText());
setDateAsText(currentDate.toString());
//remove button listener
if(OKButtonListener != null)
getOKButton().removeActionListener(getOKButtonListener());
//set new button listener, then pump in appropriate date info
getOKButton().removeActionListener(getOKButtonListener());
setOKButtonListener(new CommitToFieldListener());
getOKButton().addActionListener(getOKButtonListener());
if(currentDate != null)
{ initDateInfo(currentDate); }

Similar Messages

  • Having an issue with a pop-up window behavior

    My client has asked me to have a graphic on her web page to trigger another smaller window to open.  I had it set to onClick, so I changed it to onMouseOver.  It works fine in Firefox, it does not however work in Safari and since I'm on a Mac i do not even bother to look at IE because nothing works in IE.
    So can anyone tell me what I need to do to get this to work?  Here's what I think the relevant code is:
      <a href="#"><img src="images/constantcontactallstar_onlinelogo.jpg" style="float:left; padding:10px;" onmouseover="MM_openBrWindow('2009ConstantContactAllTotalOffice.htm','2009CCAward','width =800,height=640')"/></a>
    And you can see the file at:
    http://www.totalofficewebsites.com/marketing.html
    The graphic in the left hand column should link to the press release on the mouse over.
    Again, thanks for the help!!
    Nina

    I'll check my browser settings.  What would be a better solution to this?  Leave it as onClick?
    Yes.  To get around Pop-up script blocking, the user must initiate an event by clicking the link.
    Another approach is to use pure CSS (no scripts) to create a rollover effect
    http://alt-web.com/DEMOS/CSS-Disjointed-Image-Rollover.shtml
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

  • I have problem with data transfer between Windows Server 2012RT and Windows7 (no more than 14kbps) while between Windows Sever 2012RT and Windows8.1 speed is ok.

    I have problem with data transfer between Windows Server 2012RT and Windows7 (no more than 14kbps) while between Windows Sever 2012RT and Windows8.1 speed is ok.

    Hi,
    Regarding the issue here, please take a look at the below links to see if they could help:
    Slow data transfer speed in Windows 7 or in Windows Server 2008 R2
    And a blog here:
    Windows Server 2012 slow network/SMB/CIFS problem
    Hope this may help
    Best regards
    Michael
    If you have any feedback on our support, please click
    here.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Initial issues with PS CS4 Extended Windows XP Pro.

    Initial issues with PS CS4 Extended Windows XP Pro.
    CS3 worked just fine but had many issues with Bridge CS3. So frustrating that the $$ to upgrade to CS4 seem worth it. Mostly works OK with the following exceptions:
    1. Sometimes the file menu selections are non-selectable grey including fundamental functions like Open and Exit not even clicking on the x will allow PS to close! I found a workaround, I can select a tool that is not currently selected (like the crop or brush) and now the menu items appear.
    2. The Arrange Documents drop down menu is blank except for the lower text portion. All icons are missing. Roll over text popup shows what is supposed to be on the menu but no icons.
    3. I have setup Bridge CS4 to auto start at logon. Works OK but sometimes for whatever reason stays busy after I close. Task Manager shows Bridge using up to 25% of CPU time and the program is not even open!
    5. I purchased a couple Canon EOS 50Ds as backup cameras for our business. Worked last week with CS3 and Bridge with Raw 4.6 upgrade. Does not work with RAW 5.0 in CS4bummer!

    I had the same problem with blank/missing "Arrange Documents" icons. And I use NIK and OnOne plugins (CS4 & Vista). These plugins are all supposed to be compatible with CS4 and I use them ALOT - so I refused to remove them. Today I also started having a problem with an error re: needing to install a printer before I could select print functions.
    I found the answer to both problems!! While researching the error message I found information from Adobe support stating that you should:
    1. Quit Photoshop
    2. Vista: Rename the Users\[username]\AppData\Roaming\Adobe\Adobe Photoshop CS4\Adobe Photoshop CS4 Settings\Adobe Photoshop CS4 Prefs.psp file to Adobe Photoshop CS4 Prefs.old
    Windows XP path: Documents and Settings/[username]/Application Data/Adobe/Adobe Photoshop CS4/Adobe Photoshop CS4 Settings/Adobe Photoshop CS4 Prefs.psp
    3. Start Photoshop - it will create a new preferences file.
    My print error message is gone AND I have Arrange Documents icons!!!

  • HT4527 Is there an issue with home sharing and windows 8?

    Is there an issue with home sharing and windows 8? I've tried everything and cant get mine to work.

    Here is the entire error listing after it states the installation encountered errors.
    Exit Code: 7
    -------------------------------------- Summary --------------------------------------
    - 1 fatal error(s), 2 error(s), 13 warning(s)
    WARNING: DW066: OS requirements not met for {0D96CFE6-376D-44B8-808A-16F3BEB73263}
    WARNING: DW066: OS requirements not met for {601CB5BC-03F9-43CC-86F0-C75E65E6AF31}
    WARNING: DW066: OS requirements not met for {56AE7FCC-81B2-4A63-A171-CD95C9295EF2}
    WARNING: DW066: OS requirements not met for {4717AE70-5377-45C7-A9E9-4E400485F0BF}
    WARNING: DW066: OS requirements not met for {8B59B329-26C1-48A4-A5AA-923F55B17B87}
    WARNING: DW066: OS requirements not met for {948B7277-3D4C-4672-B1DB-24B3C83D704E}
    WARNING: DW066: OS requirements not met for {25303D67-B573-460C-A0B6-B5CF2AE05045}
    WARNING: DW066: OS requirements not met for {33E08F4F-42B7-42A9-89E4-443E02738DB0}
    WARNING: DW066: OS requirements not met for {D5B1535A-FDFC-4B40-B2E2-21DA83D9CB57}
    WARNING: DW066: OS requirements not met for {AD60EB24-4CEE-4CA0-A6AA-526EAF41F2DB}
    WARNING: DW066: OS requirements not met for {F9FAC696-2E48-497D-B820-C9A65DA630DF}
    WARNING: DW066: OS requirements not met for {7DE6CDC3-CFEE-4564-813D-3F59E5D71F10}
    WARNING: DW066: OS requirements not met for {C92E440F-EE79-4A28-B1E1-EC82B6F2AF33}
    ERROR: DW020: Found payload conflicts and errors:
    ERROR: DW020:  - Adobe Flash CS5.5 depends on Adobe Flash Player 10 ActiveX to be installed.
    FATAL: DW020: Conflicts were found in the selected payloads. Halting installation.

  • A USB thumb drive with data created in Windows is not showing up on my desktop. Do I need a different driver or something?

    A USB thumb drive with data created in Windows is not showing up on my desktop. Do I need a different driver or something?

    OK in order to read those files you will need MS Office for Mac or install MS Windows on your Mac. You can get MS Office for Mac from anyone that sells Apple products. I would suggest the Apple Store, Best Buy, Amazon etc...For help getting the data from the memory stick I'd recommend visiting your local Apple Store or AASP and they can help you move it. It should be as simple as plugging the USB drive into your USB port and then open a Finder Window where you will see the drive on the left  pane. If you don't know what Finder is or how to open a new Finder window you need the sites I've noted below!!!
    Because you are new to OS X I would strongly recommend you bookmark and frequently visit the following web sites:
    Switch 101
    Mac 101
    Find Out How Video tutorials

  • Issue with Data Provider name in variable screen for BEx Analyzer

    Hello all,
    We got an issue with Data Provider name in Variable screen in BEx Analayzer.
    We want to change the DataProvider name there to Description of the report instead of its Technical name.
    Any inputs are appreciated.
    Thanks
    Kumar

    You have to create a workbook to do this.
    Refresh your query/report. In Bex analyser, there is one toolbar named BEx design toolbox, If you are not able to see it in analyser, right click on the toolbar space of BEx analyser and click on BEx design toolbox. Here, goto to design mode, by clicking on a sysbol like 'A'. after that place the curser where you want to see the Query description. and click on insert text (T) in BEx toolbox. click on it and check "Query description" in constant tab. in the general tab you need to assign a dataprovider, for that assign your query name in workbook settings (in Bex design toolbox). also check the "display caption" in general tab.
    Pravender

  • Issue with data dictionary -Table maintanance generator

    Hi all,
    I have an issue with Data dictionary, table maintenance generator. I have entered some records in a custom table (ZBCSECROLETOGRP) and changed the delivery class from C to A. When I create the table maintainance generator, I am encountered with the following errors:
    1)Field ZBCSECROLETOGRP-PORTALGROUP shortened (new visible length: 000032)
    2)0012 could not be generated
    3)In TCTRL_ZBCSECROLETOGRP field LENGTH has the invalid value 01
    My main motto is to create the table maintainace generator and transport to the furthur systems .
    Please help.
    ThnX in advance,
    Vishal..

    HI,
    Regenerate the table maintenance by selecting the checkbox of "Modified field structure" => new entry & then save.
    Also ensure that the new changes are not affecting old data bcz of data type changes. If that is the case, then delete the old records, regenerate table maint. & re-enter those records which you had deleted.
    Thanks,
    Best regards,
    Prashant

  • Issue with Date Format

    Hi All,
    I m facing an issue with Date format in the prompt. I have used date presentation variables in my column formula as shown below:
    FILTER("SKU Order Details"."Fulfilled Quantity" USING Time."Calendar Date" <= DATE '@{todate}{2900-01-01}')
    The report returns data when I don't select any date range for start & end date prompts on the page. But when I select the start & end date values in the prompt, I m getting the following error:
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 46047] Datetime value 10/22/2009 12:00:00 AM from 10/22/2009 12:00:00 AM does not match the specified format. (HY000)
    I included the following formulas for start & end date prompts:
    Start Date prompt: case when 1=2 then License."Ips Creation Date" else cast ('1.1.1900' as date) end
    End Date prompt: case when 1=2 then License."Ips Creation Date" else cast ('1.1.2900' as date) end
    Can you please help me resolve the issue.
    Thanks,
    Kartik

    Hi Nico,
    I tried putting the format that you mentioned, I m getting an error message.
    My prompts have the following formula :
    Start: case when 1=2 then License."Creation Date" else cast('1.1.1900' as DATE) end
    End: case when 1=2 then Time."Calendar Date" else cast('1.1.2900' as DATE) end
    My column formula has the following syntax:
    FILTER("SKU Order Details"."Fulfilled Quantity" USING Time."Calendar Date" between DATE '@{start}{1900-01-01}' AND DATE '@{end}{2999-01-01}')
    Error Message:
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 46047] Datetime value 11/17/2009 from 11/17/2009 does not match the specified format. (HY000)
    Can you please let me know if something needs to be changed.
    Thanks,
    Kartik

  • I get an error stating cc cookies dir: cannot make folder / cookies: Permission denied (error 13) when I attempted to download the creative cloud installer on my Mac. Can anyone help with similar pop up window?

    I get an error stating cc cookies dir: cannot make folder / cookies: Permission denied (error 13) when I attempted to download the creative cloud installer on my Mac. Can anyone help with similar pop up window?  I'm trying to get a trial version of CS5. 

    You do not need to involve Creative Cloud to install/try the trial version of CS5...
    You can download the trial version of the software thru the page linked below and then use your current serial number to activate it.
    Be sure to follow the steps outlined in the Note: Very Important Instructions section on the download pages at this site and have cookies enabled in your browser or else the download will not work properly.
    CS5: http://prodesigntools.com/all-adobe-cs5-direct-download-links.html

  • Issues with illustrator 10 and windows 8

    any known issues with illustrator 10 and windows 8...version worked fine on windows xp....new computer with windows 8....now cannot seem to operate. Loads, and shows access but will NOT start up. help ! thanx ttp74

    AI 10 is now 10 years or so old and was never tested on nor designed for Win 7 or Win 8. You should simply assume it's not compatible and will never run properly. feel free to spend your time with the compatibility modes and al lsorts of hacking with the security stuff and otehr settings, but to be honest, it will probably be a waste of time.
    Mylenium

  • Issue with Date and Time Picker on Windows 8.1 and Office 2013

    We are having a issue with the Developer tool in Excel called the Date and Time Picker which puts a calendar field into the spreadsheet where you can select a date from the calendar popup
    If we change this date field and then save and close and reopen it reverts back to the previous date before the change was made
    If we do the same process on a Windows 7 machine with Office 2013 it saves the changes we made to the Date and Time picker field

    Hi jdono2,
    I'm using Windows 8 and Office 2013,and I can't reproduce this issue.
    Please make sure you have already upgraded to the latest version of excel, try to reregister the MSCOMCT2.OCX.
    Also you can try to use another date picker add-in to test this issue.
    http://social.msdn.microsoft.com/Forums/office/en-US/36f83f24-cd76-4f8e-aa7b-5f166666e7d3/excel-2013-popup-calendar?forum=exceldev
    Wind Zhang
    TechNet Community Support

  • Error pop-up window coming up while working with application.

    Hello,
    We are using wls 10.3.2.0. We have one application deployed in one of the managed server. User is getting the error pop-up window with a message "Becauue of
    inactivity, your session has timed out and is no longer active. Click OK to reload the page". Even at the time of working continuously the user gets the message.
    Kindly provide any suggestions on this.
    Following are the settings in weblogic.xml file :
    <session-descriptor>
    <timeout-secs>3600</timeout-secs>
    <invalidation-interval-secs>60</invalidation-interval-secs>
    <cookie-name>ADMINCONSOLESESSION</cookie-name>
    <cookie-max-age-secs>-1</cookie-max-age-secs>
    <cookie-http-only>false</cookie-http-only>
    <url-rewriting-enabled>false</url-rewriting-enabled>
    </session-descriptor>

    "Even at the time of working continuously the user gets the message." This is very odd... and does not make any sense.
    Especially the continuous part...
    What I can think of is that a session-timeout is configured in the web.xml as well (which to my knowledge is leading), for example
    <session-config>
    <session-timeout>1</session-timeout>
    </session-config>
    Could be that this value is set low, which could explain something why the user's session times out quicker than expected.
    If this is not the case I think you have to talk to your users and ask them what exactly they describe as "working continuously".
    We are getting following error in test environment

  • Performance issues with class loader on Windows server

    We are observing some performance issues in our application. We are Using weblogic 11g with Java6 on a windows 2003 server
    The thread dumps indicate many threads are waiting in queue for the native file methods:
    "[ACTIVE] ExecuteThread: '106' for queue: 'weblogic.kernel.Default (self-tuning)'" RUNNABLE
         java.io.WinNTFileSystem.getBooleanAttributes(Native Method)
         java.io.File.exists(Unknown Source)
         weblogic.utils.classloaders.ClasspathClassFinder.getFileSource(ClasspathClassFinder.java:398)
         weblogic.utils.classloaders.ClasspathClassFinder.getSourcesInternal(ClasspathClassFinder.java:347)
         weblogic.utils.classloaders.ClasspathClassFinder.getSource(ClasspathClassFinder.java:316)
         weblogic.application.io.ManifestFinder.getSource(ManifestFinder.java:75)
         weblogic.utils.classloaders.MultiClassFinder.getSource(MultiClassFinder.java:67)
         weblogic.application.utils.CompositeWebAppFinder.getSource(CompositeWebAppFinder.java:71)
         weblogic.utils.classloaders.MultiClassFinder.getSource(MultiClassFinder.java:67)
         weblogic.utils.classloaders.MultiClassFinder.getSource(MultiClassFinder.java:67)
         weblogic.utils.classloaders.CodeGenClassFinder.getSource(CodeGenClassFinder.java:33)
         weblogic.utils.classloaders.GenericClassLoader.findResource(GenericClassLoader.java:210)
         weblogic.utils.classloaders.GenericClassLoader.getResourceInternal(GenericClassLoader.java:160)
         weblogic.utils.classloaders.GenericClassLoader.getResource(GenericClassLoader.java:182)
         java.lang.ClassLoader.getResourceAsStream(Unknown Source)
         javax.xml.parsers.SecuritySupport$4.run(Unknown Source)
         java.security.AccessController.doPrivileged(Native Method)
         javax.xml.parsers.SecuritySupport.getResourceAsStream(Unknown Source)
         javax.xml.parsers.FactoryFinder.findJarServiceProvider(Unknown Source)
         javax.xml.parsers.FactoryFinder.find(Unknown Source)
         javax.xml.parsers.DocumentBuilderFactory.newInstance(Unknown Source)
         org.ajax4jsf.context.ResponseWriterContentHandler.<init>(ResponseWriterContentHandler.java:48)
         org.ajax4jsf.context.ViewResources$HeadResponseWriter.<init>(ViewResources.java:259)
         org.ajax4jsf.context.ViewResources.processHeadResources(ViewResources.java:445)
         org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:193)
         org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
         org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
    On googling this seems to be an issue with java file handling on windows servers and I couldn't find a solution yet. Any recommendation or pointer is appreciated

    Hi shubhu,
    I just analyzed your partial Thread Dump data, the problem is that the ajax4jsf framework ResponseWriterContentHandler triggers internally a new instance of the DocumentBuilderFactory; every time; triggering heavy IO contention because of Class loader / JAR file search operations.
    Too many of these IO operations under heavy load will create excessive contention and severe performance degradation; regardless of the OS you are running your JVM on.
    Please review the link below and see if this is related to your problem.. This is a known issue in JBOSS JIRA when using RichFaces / ajaxJSF.
    https://issues.jboss.org/browse/JBPAPP-6166
    Regards,
    P-H
    http://javaeesupportpatterns.blogspot.com/

  • Session expiration issue with parent and child window

    Hi,
    We have two applications (App1 - Implemented using JSF, Spring and Hibernate and App2 -Implemented using Spring MVC, Spring JDBC).
    I have implemented 'Test Access Content' functionality in App1.
    First admin user (Role- Manager) needs to login to App1
    As part of 'Test Access Content' functionality, he enters URL with encrypted key and click 'Test Access' button.
    It opens new window (implemented using java script - window.open) and hits spring controller of App2.
    In spring controller of App2, I am decrypting the key to get user details. After that i am setting user details in session, constructing final URL to display actual content.
    Problem is parent window maintains session till child window renders response. Once child window renders response, parent window loosing session.
    So, if i click any button in parent window after child window renders response, it displays login page as there is no session for parent window.
    Please note that App1 and App2 are sharing same domain. only context paths are different for both apps (app1 and app2).
    Any suggestions on this issue are much appreciated. Please let us know if you have any questions.

    Hi,
    When you open a child window from parent window then you can access child data in the parent window through javascript.
    We have a main web page. There are quite many links on it from which >user can open new web pages but the data is saved when the submit >button on the main page is clicked. Also data that user entered on the >other sub pages is not displayed in the main window.
    1 is this a case of parent and child window.case 1 When you are submitting the main page you need to run javascript function and get data from child windows and save that to database or session. next time when you are displaying the main window you need to query session or database to display the child window data in the main window.
    Case 2> closing child window and you need data in the parent. This can be done in two ways.
    1> When you are closing the child window populate some variables of the main window using javasript.
    2> Save the values in the database or session and refresh the main window and extract data from database or session
    Where should the data be saved that user enetered on the sub pages as the data is not shown in the main page - should it be stored in the session?It is design decision. You can store data in either session or database when you are closing the child window. But ifyou are saving the data on the main page then you can populate main page with child windows data using javascript. Save the data t database when main window data is saved. Depends on business requirements.
    In short if you are saving child windows data in session or database then you need to refresh main screen to pull that data otherwise populate main screen using javascript.
    I hope i answered your questions :) best of luck

Maybe you are looking for

  • My Macbook is slow down after installing Maverick OSX...!!!!

    Hi everi body... When I updated Maverick OSX from Mountain Lion 10.8.5, boot up speed is increase and my battery is discharge very fast. Also I use this command to Quick Sleep: sudo pmset -a hibernatemode 0 But when I put my MAC to sleep, it is about

  • Macbook pro to my old apple laserwriter issue

    This sounds insane. and pretty stupid, but i grew up with macs, i love them anyways i have my old personal laserwriter NTr printer that i used to use with my mac IIsi. Well the thing is i think the printer still works. all i do is print out papers an

  • Hyperlinks in e-mail don't work

    Hyperlinks in e-mails that I send sometimes do not work. I get a 404 error message, server not found. I am using Firefox 3.6.6 with Mac OS 10.5.8 Someone with a similar problem went back to an earlier version of Firefox, how do I do this? Any other s

  • How to make sure a client will reboot if the LDAP server SLAPD isn't runnin

    What do I need to do to a Solaris 8 client to make sure that if SLAPD is down and something happened and the server rebooted, that it would come up even though the LDAP server slapd isn't running? thanks, Gary

  • My Address Book on Snow Leopard won't Search!

    When I type something in on the search field on my address book in Snow Leopard, it won't filter out the search, meaning that nothing new will show up. It will act as if I didn't type anything into the search field at all since nothing changes. I alr