hi angelo, the ValidationTracker within the Form component stores field values and error messages if a validation error occurs. this tracker has the @Persist annotation applied and therefore saves the field data with the error messages in the session. the data from the tracker is then used to render the page
so if you dont have any validation errors no field will have a value :) http://www.nabble.com/T5%3A-refreshing-page-when-there-is-an-error-tf4627982.html#a13233652 g, kris Angelo Chen <[EMAIL PROTECTED]> 25.10.2007 14:37 Bitte antworten an "Tapestry users" <users@tapestry.apache.org> An users@tapestry.apache.org Kopie Thema RE: T5: Select won't retain value when it rejects by the server Hi Kristian, Thanks for the reply, but why this one is retained: <input t:type="textfield" t:id="name" size="40" only this one not: <input t:type="select" name="gender" t:id="gender" model="genderModel" t:validate="required" t:label="gender" t:value="gender" kristian.marinkovic wrote: > > it is because of the way tapestry handles component requests! > > -- View this message in context: http://www.nabble.com/T5%3A-Select-won%27t-retain-value-when-it-rejects-by-the-server-tf4689919.html#a13405947 Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]