Allow update of invalid form submit data
----------------------------------------
Key: TAPESTRY-369
URL: http://issues.apache.org/jira/browse/TAPESTRY-369
Project: Tapestry
Type: New Feature
Components: Framework
Versions: 4.0
Reporter: Howard M. Lewis Ship
Fix For: 4.0
The current form element components (TextField, ValidField, etc.) that support
validation will not update bound properties if there is a validation error.
This is not always desirable.
When building a multi-page wizard, you will often allow the user to move
backwards and forwards through the wizard.
It is disconcerting to move backwards and then forwards and NOT see a value for
a field at all, just because it failed some validation constraints.
Now, ideally, we should be able to come back to the page and have those fields
decorated and errors marked ... but that is well beyond the capabilities of the
current system.
Hm. An interesting idea; the validation delegate could track component
addresses (page name + id path) and corresponding names. It could then
*restore* names, even on a subsequent render of an otherwise fresh page. A
wizard would have a seperate delegate for each page in the wizard and the
wizard would persist between requests.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]