You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2004/02/12 00:01:46 UTC
DO NOT REPLY [Bug 26873] New: -
Validation error in DynaValidatorForm does not maintain request scope attributes when forwarding to the page defined in the input attribute of ActionMapping
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26873>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26873
Validation error in DynaValidatorForm does not maintain request scope attributes when forwarding to the page defined in the input attribute of ActionMapping
Summary: Validation error in DynaValidatorForm does not maintain
request scope attributes when forwarding to the page
defined in the input attribute of ActionMapping
Product: Struts
Version: 1.1 Final
Platform: All
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: Validator Framework
AssignedTo: struts-dev@jakarta.apache.org
ReportedBy: gparakh@hotmail.com
Validation error in DynaValidatorForm does not maintain request scope
attributes when forwarding to the page defined in the input attribute of
Actionmapping
When a validation error occurs in a DynaValidatorForm, it is observed that all
request scope attributes, except the Form data are lost after the input page is
reloaded. The Input page is specified in the "input" attribute of action
mapping.
For example in ViewDetailFormAction I set some request attributes by
request.setAttribute("list", MyList);
Now I hit submit on the ViewDetailForm which validates the data through
validation.xml. If there are no errors, it works fine.
But if there is an error, and it tries to reload the page, a message that
the "list" is not in scope appears. However if this is put in session, it works
fine and all form data appears as before. This means that Form data is
preserved but request scope data is not preserved.
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org