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",
t;
Subject: RE: form-property value set in dispatch action is lost
Date: Tue, 19 Sep 2006 16:05:32 -0400
Do you have to issue code after the call here:
frm.set("typeName", "x");
like:
placeFormBackInScope( mapping, frm, request );
which would place the updated form ba
Do you have to issue code after the call here:
frm.set("typeName", "x");
like:
placeFormBackInScope( mapping, frm, request );
which would place the updated form back in scope:
public void placeFormInScope(ActionMapping mapping,
ActionForm form,
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
In struts config have a Dynavalidator
9 matches
Mail list logo