Hi,

I have a simple form as follows, if it can not pass onValidate, errors were
shown, and the value in the 'Name' field was retained, but the 'Gender' will
not retain the selected value, always goes back to blank unless I declare
gender field @Persist, why? Thanks.

 <t:form  t:id="regForm">
        <input t:type="textfield" t:id="name" size="40"
t:validate="required,minlength=8" /><br />
         <input t:type="select" name="gender"  t:id="gender"
model="genderModel" t:validate="required" t:label="gender" t:value="gender"
/><br />
         <input type="submit" name="Submit" id="Submit" value="Submit" /><br />
                <t:errors />
 </t:form>
-- 
View this message in context: 
http://www.nabble.com/T5%3A-Select-won%27t-retain-value-when-it-rejects-by-the-server-tf4689919.html#a13403938
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to