I have a Form which holds all data of a database record, I will do some updates, like add some elements into it, and it will back to the same edit page for users to continue to change the data.
When I click submit, if the data is incorrect, the validator prompts me the errors, BUT, all newly changed data are gone!
Let say, if I provide a description "x@xxxxx", and in validate.xml, I set the rule that the description cannot contain "@" character, this will then be an ActionError.
But, the description "x@xxxxx" disappear after the checking!
So, what should I do? How can I preserve the data in the forms, even it is incorrect?
Nick
SCJP 1.2, OCP 9i DBA, SCWCD 1.3, SCJP 1.4 (SAI), SCJD 1.4, SCWCD 1.4 (Beta), ICED (IBM 287, IBM 484, IBM 486), SCMAD 1.0 (Beta), SCBCD 1.3, ICSD (IBM 288), ICDBA (IBM 700, IBM 701), SCDJWS, ICSD (IBM 348), OCP 10g DBA (Beta), SCJP 5.0 (Beta), SCJA 1.0 (Beta), MCP(70-270), SCBCD 5.0 (Beta), SCJP 6.0, SCEA for JEE5 (in progress)