Good Morning :) The TapestryExt.js in this page: http://tinybits.blogspot.com/2009/10/missing-javascript.html has a method that allows to submit a form using AJAX easily. U just need to call that method from ur Select.
On Fri, Feb 12, 2010 at 10:00 AM, Dominik Gätjens < dominik.gaetj...@leomedia.eu> wrote: > Good Morning List, > > > > i'm trying to get an AJAX Form submit with an onChange-Event from an > Select-Component. > > Request.isXHR() returns false if i make an change in the select. > > if i click the submit button it returns true. > > > > Can anyone help me to get an AJAX request on select change? > > > > thank you, Dominik > > > > Code: > > <t:zone t:id="fooZone"></t:zone> > > <t:form t:zone="fooZone" t:id="ligaForm" id="foo2"> > > <table> > > <tr> > > <td> > > <t:label for="ligen"></t:label> > > </td> > > <td> > > <select t:type="select" t:id="ligen" > > t:encoder="ligaEncoder" t:model="ligaSelectModel" > > t:value="selectedLiga" onchange="this.form.submit()" > > t:blankOption="never" id="foo3"/> > > <input type="submit"></input> > > </td> > > </tr> > > </table> > > </t:form> > > > > > > > >