Which datepicker are you using?
If you're using Tapestry's, see
http://tacos.sourceforge.net/components/DatePicker.html


Daniel Tabuenca wrote:
> I'm really having a hard time getting to the bottom of this. I don't
> have time right now to fully research the inner workings of dojo and
> tacos but hopefully someone can at least give me some direction.
>
> I have a simple page that after I click on an ajax link opens a form
> in a new div. The form is simple and has just a datepicker and a
> save/cancel buttons.
>
> Now the problem is that when first loading the page and clicking on
> the link that brings the form up, the ajax request works and the form
> comes up. However none of the event handlers get loaded so that if I
> click on the calendar icon or any of the buttons they don't work and
> nothing happens.
>
> Now the strange thing is that if I cancel and do it again, or reload
> the page and try again it will work, and will continue working for the
> rest of my browser session. For some reason something is getting
> cached and after it is cached everything works fine. I tested this by
> disabling the cache in Firefox and after doing this, no matter how
> many times I reload the page it won't work.
>
> This leads me to believe there is some sort of race condition, since
> somehow the problem depends on the speed the page loads. If I connect
> locally it seems to work with or without cache wheras if I connect to
> a remote server on the internet it does not work with cache disabled
> nor the first time I access the page.
>
> I'm hoping someone can identify where a potential race condition
> regarding the loading of the event handlers could occour. I have the
> same problem in both Firefox and IE. I am using the latest nightly
> build (July 9 I believe?) of tacos.
>
> Any help would be appreciated. Even a description of the theory of how
> event loaders get assigned after the ajax request or any suggestions
> as to how I may better debug this so I can provide more information.
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Tacos-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/tacos-devel
>
>   


-- 
Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr
Tapestry / Tacos developer
Open Source / J2EE Consulting 


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Tacos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tacos-devel

Reply via email to