Miguel Angel Hernández wrote: > Good morning, > > I'm having a pretty wierd problem with an AjaxForm inside a Dialog. > The submit of the form works correctly 3 times but after the third it > calls its listener more than once: (4 times in a row) > the fourth time it calls it (9 times)...
I see a pattern here if after the 9 times, it calls 15 times.... does it? Anyway, which tacos version is this, and on which version you've tried? I think we fixed something similar in the 4.0.1 And as always, here's the bugtracker: http://tacoscomponents.jot.com/BugReporter > > The template of my component goes like this: > > <div jwcid="[EMAIL PROTECTED]:Dialog" hidden="ognl:hide"> > <form jwcid="@tacos:AjaxForm" > updateComponents="ognl:updateComponents" > listener="ognl:listener" class="popup"> > ... form STUFF > <input jwcid="@Submit" type="submit" value="Aceptar"/> > </form> > </div> > </form> > > The listener is passed by the container but it pretty much hides the > dialog: > /** > * Agrega la nota generada a la liquidación en proceso. > */ > public void agregaNota() { > /* The next property of the container is binded to hide > parameter which its binded to hidden of the dialog :) */ > setOcultaNotas(true); > Logger.getLogger("El tamaño de la lista es de notas: "); > } > > The listener that shows the component its in its container its called > via a AjaxDirectLink... > > Any ideas? > > Thanks, > > Miguel > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > 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 > Tacos-devel@lists.sourceforge.net > 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 Tacos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tacos-devel