grab todays build from http://tacos.sf.net/nightly
it should stop directing to webserver root

andyhot wrote:
> When an AjaxLinkSubmit is clicked,
> it starts by removing its onclick handler,
> then doing the ajax request...
> The ajax response will contain code that connects a new onclick handler.
>
> According to the comments in the code, this is done to avoid memory leaks.
>
> However, if one reclicks the link fast enough, he'll be transfered to /
> because the link contains href="/" and onclick has been deleted.
>
> There's also http://tacoscomponents.jot.com/BugReporter/Bug75
>
> As I describe there, we could keep the onclick handler and when the ajax
> response arrives, it would disconnect the old onclick and connect the
> new one.
>
> But i'm not sure if this avoids memory leaks... and i haven't used any
> of the tools
> that are supposed to help with javascript memory leaks... Any advices
> please ?
>
> BTW, until this is fixed, we could change the generated href to
> 'javascript:doNothing()' so that the link keeps us in the same page.
>
> Mike Oestereter wrote:
>   
>> I found this problem on tacos-beta2 and it is still present in tacos4.
>>
>> Since upgrading to tacos4 I experience a problem which I beloive is
>> related to this problem:
>> I have a list of recuring component groups each containing several
>> input components. For each of these recuring component groups there is
>> a "delete" link and finally an "add" link. After clicking the "add'
>> (and waiting for a while) and then clicking another "add" or a
>> "delete" the app directs to the webserver root.
>>
>> Funny thing is that it used to work fine with tacos beta2.
>>
>>
>> On 8/27/06, Mike Oestereter <[EMAIL PROTECTED]> wrote:
>>   
>>     
>>> Hi
>>>
>>> I find that if I click on an AjaxLinkSubmit link twice - the second
>>> time before the 1st click's result could be rendered - the browser
>>> gets directed to the webserver root.
>>>
>>> In other words if I am on http://localhost:8080/myapp/balhabla and I
>>> click twice I get directed to http://localhost:8080/
>>>
>>> It does not happen with AjaxSubmit.
>>> It also does not happen with  AjaxDirectLink
>>>
>>> Cheers
>>> Mike
>>>
>>>     
>>>       
>> -------------------------------------------------------------------------
>> 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