wicket-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Makundi <martin.maku...@koodaripalvelut.com>
Subject Re: Doubt about form components
Date Mon, 22 Feb 2010 20:55:55 GMT
Hi!

What's the difference whether it's thrown away or not if the next step
is re-submit with new values?

**
Martin

2010/2/22 Pedro Santos <pedrosans@gmail.com>:
> IMO the form processing can be:
>
>>
>> 1. validate
>> 2. detect error
>> 3. keep rawinput
>> 4. re-render error components with red border AND rawinput
>>
>
> 4.1. throw away the raw input in some detach method
>
> 5. user retry form submit
>>
>
> 6. all form components get they raw input again since they get rendered
> before some detach method clear they raw input, no need to maintain those
> values on the server
>
>
>
>
> --
> Pedro Henrique Oliveira dos Santos
>

Mime
View raw message