Hi Folks, I have a form with some TextField and CheckBox. I add the onValidate() method into the page to do my own page page validation like below: === void onValidate() { if ( .... ) _tracker.recordError( "validation error..." ); } ===
The data in the action request get correctly validated, and the validation error message shows up in the result page. However, all values of CheckBox get lost, at the mean time, all values of TextField are still there. The way I found to get around this problem is make all CheckBox fields Persist("flash"). The same problem applies to Select component too. Is this a problem? Why it's happening? Is my walk-around of this problem good? Thanks, Jeffrey Ai -- View this message in context: http://www.nabble.com/T5%3A-Why-value-of-CheckBox-get-lost-at-validation-result-page-tf4876723.html#a13954998 Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]