thats odd, all the values should be preserved, thats our rawinput that
all formcomponents have. Do you have a repeater/listview around your
formcomponents.
On 11/1/07, Chris Colman <[EMAIL PROTECTED]> wrote:
> I've created a form and set up some validators on various fields. When
> there is an error and the page is redisplayed showing the errors none of
> the previous values that the user typed in are there.
>
> Is there an easy way to preserve the values already entered by the user?
>
> I tried overriding onError but it didn't seem to do get it working:
>
> public final void onError()
> {
> // update model fields so the user doesn't have to type them in
> again
> // -> I was hoping that the next page render would get these
> // values from the updated model
> updateFormComponentModels();
> }
>
> ---------------------------------------------------------------------
> 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]