I can't see what's going on behind the scenes in this example so I'm
asking for help in order to understand the Strtus process.
I run the example, leave empty "First Name" to make validation fail, and
submit. Then go back to index:
http://localhost:8084/form_xml_validation
and click on edit. But "First name" is reset with the original value. It
should be empty because Person instance is managed statically. In fact,
other examples (preparable, exclude params) behave as expected, and
return an empty String for the filed left empty.
The thing here is than I'm not understanding how Struts works here. I
would appreciate if you help me with this.
Thank you.
----
Example is here:
http://struts.apache.org/release/2.3.x/docs/form-validation-using-xml.html
Code for checkout here:
http://svn.apache.org/repos/asf/struts/sandbox/trunk/struts2examples/
<https://svn.apache.org/repos/asf/struts/sandbox/trunk/struts2examples/>
Examples doing as expected:
http://struts.apache.org/release/2.3.x/docs/exclude-parameters.html
http://struts.apache.org/release/2.3.x/docs/preparable-interface.html
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org