hmm, looks like

http://tacoscomponents.jot.com/BugReporter/Bug91

was for another issue, but the test to reproduce it simply demonstrates
the issue you describe...
So, I'll simply open a new bug report for this...



andyhot wrote:
> I know see the problem...
> This was reported as
> http://tacoscomponents.jot.com/BugReporter/Bug91
> and was closed cause i couldn't reproduce... exactly because (as you
> describe) I was running it from localhost...
>
> Now that I test it from
> http://www.opencomponentry.com:8080/tacos/app?page=bugs%2FBug91&service=page
> (this test page is exactly like the one you use!) I can see what you
> describe...
>
> I'll reopen Bug91, thanks...
>
> Daniel Tabuenca wrote:
>   
>> No I'm using the tacos Datepicker. In any case the issue is much more
>> general than the date picker. None of the on click events get loaded
>> in any of the widgets. When I click on the date picker icon there is
>> no on-click event so the calendar does not open and nothing happens.
>> When I click on the ajax link submit  the is no on-click event that
>> submits the form so I get sent to a blank url.
>>
>> I think the key to this is that it does no happen after the page is
>> cached or if it can load quickly. In this case both the above work
>> fine. This is why I'm thinking it's some sort of race condition
>> because I can reproduce this by turning off the cache on firefox.
>>
>>
>> On 8/24/06, andyhot <[EMAIL PROTECTED]> wrote:
>>   
>>     
>>> 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
>>>
>>>     
>>>       
>> -------------------------------------------------------------------------
>> 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