autosubmit="false" is currently broken. You can track the following issue:
https://issues.apache.org/jira/browse/TAPESTRY-2003 -- Kevin Menard Servprise International, Inc. Remote reboot & power control for your network www.servprise.com +1 508.892.3823 x308 > -----Original Message----- > From: Andy Pahne [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 20, 2008 10:54 AM > To: Tapestry users > Subject: Re: [4.1.5] @EventListener question > > > I changed my @EventListener like that: > > @EventListener( > targets = "formField1", > events = "onchange", > async=true, > autoSubmit=false) > > > And it submits the form, although I added "autoSubmit=false". > > I think I'll need some time to get used to it... > > A. > > > > Kevin Menard schrieb: > >> -----Original Message----- > >> From: Andy Pahne [mailto:[EMAIL PROTECTED] > >> Sent: Wednesday, February 20, 2008 10:41 AM > >> To: Tapestry users > >> Subject: [4.1.5] @EventListener question > >> > >> Page class: > >> > >> @EventListener(elements = "formField1", > >> events = "onchange", async=true) > >> public void formField1Changed(BrowserEvent event) { > >> LOG.info("formField1 changed"); > >> setFormValue3(getFormValue1()); > >> getRequestCycle().getResponseBuilder() > >> .updateComponent("formField3"); > >> } > > > > You likely want: > > > > @EventListener(targets = "formField1", > > events = "onchange", async=true) > > > > > > I.e., use "targets" rather than "elements". > > > > > -- > Andy Pahne > System Architektur & Software Design > > net22 GmbH > Ehrenbergweg 24 > 32760 Detmold > > http://www.net22.de > > Email [EMAIL PROTECTED] > Telefon +49 (5231) 58 06 40 > Mobil +49 (174) 171 68 70 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]