thanks a lot that worked. I never understood what the "redirect" does until
now. I know now when to make it true.
Thanks a lot again.
From: "Michael Jouravlev" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List"
To: "Struts Users Mailing List&
You use the same form in both actions, and you chain them without a
redirect, so the request parameters are applied to your form again
when you forward to PrepareAction.
Struts repopulates your form with request parameters, so if the
parameter is mentioned in the request and it is emply, Struts w
Thanks for your responses.
can someone help me with this please. Thanks.
From: "fea jabi" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List"
To: user@struts.apache.org
Subject: Re: form-property value set in dispatch action is lost
Date: Tue, 19 Sep 2006 16:
sorry, it was a typo. I have a rigt method 'calc' itself.
From: "Wendy Smoak" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List"
To: "Struts Users Mailing List"
Subject: Re: form-property value set in dispatch action is lost
Date: Tue, 19
sorry, it was a typo. I have a rigt method 'calc' itself.
From: "Wendy Smoak" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List"
To: "Struts Users Mailing List"
Subject: Re: form-property value set in dispatch action is lost
Date: Tue, 19
On 9/19/06, fea jabi <[EMAIL PROTECTED]> wrote:
public class DispatchAction extends LookupDispatchAction {
That's confusing... Struts already has a DispatchAction.
protected Map getKeyMethodMap() {
Map map = new HashMap();
map.put("btn.calc",
frm );
} else if ( mapping.getScope().equalsIgnoreCase("SESSION")) {
HttpSession session = request.getSession();
session.setAttribute( mapping.getName(), frm );
}
}
-Original Message-
From: fea jabi [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 19, 2006 3:44 PM
To: user@s
HttpSession session = request.getSession();
session.setAttribute( mapping.getName(), frm );
}
}
-Original Message-
From: fea jabi [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 19, 2006 3:44 PM
To: user@struts.apache.org
Subject: form-property value set in dispatch action is lost
In stru
I do have the dynamic="true" set too.
..
From: "fea jabi" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List"
To: user@struts.apache.org
Subject: form-property value set in dispatch action is lost
Date: Tue, 19 Sep 2006 15:43:37 -0400
I
In struts config have a Dynavalidator form-bean
..
have prepare(Action) and dispath(LookupDispatchAction) actions for the jsp
in the config which are session scoped.
redirect="false"/>
redirect="false"/>
In the jsp have a submit button whi
10 matches
Mail list logo