On 8/28/06, andyhot <[EMAIL PROTECTED]> wrote:
> Mike Oestereter wrote:
> > 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.
> >
> can you see the ajax response coming? can you check with firebug?


I can't see it comming  - It goes straight to the webserver root - as
if the javascript does not even fire to post the form. But then again
I probably do not know where to look.
What firebug function should I use? Dojo in debug mode spits nothing out.


> It would also be nice to show a bit of code... just the minimum thing that
> reproduces this...

I'm trying to isolate the code and will post shortly. In the mean the
code below will demonstrate the redrirect to the webserver root on a
close to double-click speed.
                <div jwcid="[EMAIL PROTECTED]"
                         id="testpart2">
                        <span jwcid="@tacos:AjaxForm">
                                <a jwcid="@tacos:AjaxLinkSubmit"
                                   listener="listener:doNothing"
                                   updateComponents="ognl:{'testpart2'}"
                                   value="doit">click twice</a>         <br/> 
TEST: <span jwcid="@Insert"
                                                                                
                                                         value="ognl:new 
java.util.Date()"/>
                        </span>
                </div>

> > Funny thing is that it used to work fine with tacos beta2.
> >
> you mean before beta2?

No, with beta2 - using beta2. It works just fine with beta2. And it
works with tacos4 if I change the AjaxLinkSubmit to AjaxSubmit - but
then I have those ugly buttons.

> >
> > 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

-------------------------------------------------------------------------
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