So the acceptable solution is to wax the Submit, replace it with Button and wrap it in a DirectLink.
On 7/7/05, Kent Tong <[EMAIL PROTECTED]> wrote: > RR <security.identity <at> gmail.com> writes: > > > So, the values assigned in the listener method are being wiped upon > > render. It appears that Tapestry is overwriting the modified values > > (above) with the default values submitted (which are blank by design). > > Thus, the form submittal is hosing my intention of dynamic property > > updates through the listener. > > The listener of Submit is called before your TextField stores > the value into the property. So what you have done in that > listener is lost. To solve the problem, either move the Submit > to the end of the form or just move the listener to the Form > instead of the Submit: > > <component id="form" type="Form"> > <binding name="listener" expression="listeners.saveButton"/> > </component> > > -- > Author of an e-Book for learning Tapestry (http://www.agileskills2.org/EWDT) > > > > > --------------------------------------------------------------------- > 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]
