RE: Session Scope ActionForm, ActionErrors and the Back Button

2003-12-02 Thread Hookom, Jacob
On the controller element in the struts config, set the nocache attribute to true. We just did this for our current project and it has fixed a lot of issues with our wizard-type flows where we use a SessionBean to dictate flow. The other option is to manually write the pragma/expire headers on

RE: Session Scope ActionForm, ActionErrors and the Back Button

2003-12-02 Thread Fullam, Jonathan
John, ActionErrors is stored under the key: Globals.ERROR_KEY. You can implement your ActionForm reset (which is called on all ActionForm objects on every request) method to remove the ActionErrors found under this key from your Request or Session. Jonathan -Original Message- From: John

Re: Session Scope ActionForm, ActionErrors and the Back Button

2003-12-02 Thread news.basebeans.com
Note that when you hit the Back button on a page not cached and retrieved by a GET, the browser will perform a new request... If the page was retrieved by a POST, the browser will display an error message or ask the user if he wants to repost the form. Hookom, Jacob [EMAIL PROTECTED] wrote in

RE: session-scope ActionForm issue - confused

2003-03-24 Thread Erica Leung
According to the ActionForm API, the reset() method is called before the properties are repopulated by the controller servlet. So by overriding it in your form, the field value should be reset prior to the next action regardless the form scope. -Erica -Original Message- From: apachep2

RE: session-scope ActionForm issue - confused

2003-03-24 Thread apachep2
: session-scope ActionForm issue - confused According to the ActionForm API, the reset() method is called before the properties are repopulated by the controller servlet. So by overriding it in your form, the field value should be reset prior to the next action regardless the form scope. -Erica

RE: session scope ActionForm

2003-01-09 Thread Sri Sankaran
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 08, 2003 3:51 PM To: [EMAIL PROTECTED] Subject: session scope ActionForm I am a bit confused about session scope of ActionForm. For example, in my ActionForm testForm private