Here's what I believe is happening...
When an ajax response includes large external js files (that take some
time to load because
it's either their first time or cache is disabled) and tacos tries to
execute inline javascript (i.e. to create
the calendar - datepicker) it fails because the calendar.js hasn't yet
loaded.
It looks like this explains the behavior you ( and I ) have observed. An
idea is to force tacos to wait
for those external js to load. Will try to implement something like this.
We'll probably need another implementation for
tacos.loadScriptFromUrl
which currently does a document.createElement("script") and a
document.getElementsByTagName("head")[0].appendChild(e);
Perhaps dojo's ScriptIO should be used...
Daniel Tabuenca wrote:
> I'll see if I can spend some time on this tonight. Also, keep in mind
> that it's not just the date picker icon but all On-Click events that
> failed to get connected to their propper elements.
>
> On 8/25/06, andyhot <[EMAIL PROTECTED]> wrote:
>
>> well, using firefox and firebug, and
>> http://www.opencomponentry.com:8080/tacos/bugs/Bug91.html
>> i gathered the ajax response... it looks ok, but the datepicker icon isn't
>> working.
>> Don't know if it has to do with order of execution.
>>
>> I also like to do 'View generated Source' in firefox,
>> once when the form is getting included with ajax
>> and then again when i simply reload the page (and the form preexists)
>> Then i do a diff between the two - it shows the real diffs of the
>> (generated)
>> html state
>>
>>
>> Daniel Tabuenca wrote:
>>
>>> Any idea as to the potential cause of this bug that might help me
>>> debug and fix myself?
>>>
>>> On 8/25/06, andyhot <[EMAIL PROTECTED]> wrote:
>>>
>>>
>>>> you're right...
>>>> Just talked with Jesse and ... tacos will shortly switch to jira :)
>>>> we can wait till then I guess!
>>>>
>>>> Daniel Tabuenca wrote:
>>>>
>>>>
>>>>> I tried but the wiki tells me I don't have enoguh priviliges. I tried
>>>>> to create an account but it says I don't have priviliges for that
>>>>> either. What is the proper way of creating an account to report the
>>>>> bug?
>>>>>
>>>>>
>>>>> On 8/25/06, andyhot <[EMAIL PROTECTED]> wrote:
>>>>>
>>>>>
>>>>>
>>>>>> didn't have time to enter this in...
>>>>>> Can you report it? Simply copy paste your (or mine) emails...
>>>>>>
>>>>>>
>>>>>> Daniel Tabuenca wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>> What is the new bug number for this? Where can I go to comment on the
>>>>>>> bug if I find new 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
>>
>>
>
> -------------------------------------------------------------------------
> 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
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Tacos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tacos-devel