DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31320>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31320

pre-filled form values no longer work





------- Additional Comments From [EMAIL PROTECTED]  2004-11-11 07:21 -------
recommendation, use scope="request" (see Bug 32176).
Especially, if your servlet engine in its server.xml doesn't use cookies to
manage the session but does URL-rewriting/http-redirect 
(<Context path="" docBase="my.war" cookies="false" />), pre-filling forms
becomes tricky:
1) Write the form to be pre-filled into the session
2) but under a different key than you used in the struts-config.xml for the form
3) for each form-value to have pre-filled, use name="FORM_KEY_DIFFERENT" in
order for it to be found
4) remove the pre-filled form the session yourself in subsequent 
Action.execute()

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to