Re: [jira] Resolved: (WICKET-1090) clean up raw_input after rendering of form components

2007-10-21 Thread Matej Knopp
Hold on, the raw input _must_ be preserved after rendering. Where else would we keep invalid input? The code also doesn't make sense - there is no reason why it shouldn't work, except when the page was submitted before the render and the submit was not validated. Am I missing something? -Matej

Re: [jira] Resolved: (WICKET-1090) clean up raw_input after rendering of form components

2007-10-21 Thread Eelco Hillenius
On 10/21/07, Matej Knopp [EMAIL PROTECTED] wrote: Hold on, the raw input _must_ be preserved after rendering. Where else would we keep invalid input? Why do we need to keep invalid input after rendering? Any such input is already consumed for feedback messages, and the renders should either

Re: [jira] Resolved: (WICKET-1090) clean up raw_input after rendering of form components

2007-10-21 Thread Eelco Hillenius
On 10/21/07, Eelco Hillenius [EMAIL PROTECTED] wrote: On 10/21/07, Matej Knopp [EMAIL PROTECTED] wrote: Hold on, the raw input _must_ be preserved after rendering. Where else would we keep invalid input? Why do we need to keep invalid input after rendering? Any such input is already

Re: [jira] Resolved: (WICKET-1090) clean up raw_input after rendering of form components

2007-10-21 Thread Matej Knopp
On 10/21/07, Eelco Hillenius [EMAIL PROTECTED] wrote: On 10/21/07, Matej Knopp [EMAIL PROTECTED] wrote: Hold on, the raw input _must_ be preserved after rendering. Where else would we keep invalid input? Why do we need to keep invalid input after rendering? Any such input is already

Re: [jira] Resolved: (WICKET-1090) clean up raw_input after rendering of form components

2007-10-21 Thread Matej Knopp
Just to show you one of the thing your fix broke: Go to the form input applicaiton. Enter invalid input in some fields. Submit form. Refresh page. your input is gone. Now as an user for such app this behavior would really piss me of. As for the original problem, I believe the proper solution is