RE: ActionForm manipulation within an Action

2002-11-16 Thread Brian Topping
... and you aren't using DynaActionForms, which erase your form every time
the controller is called.

-b

> -Original Message-
> From: Sri Sankaran [mailto:[EMAIL PROTECTED]]
> Sent: Friday, November 15, 2002 12:48 PM
> To: Struts Users Mailing List
> Subject: RE: ActionForm manipulation within an Action
> 
> 
> ...and the form bean is of session scope.
> 
> Sri
> 
> -Original Message-
> From: David Graham [mailto:[EMAIL PROTECTED]] 
> Sent: Friday, November 15, 2002 12:35 PM
> To: [EMAIL PROTECTED]
> Subject: Re: ActionForm manipulation within an Action
> 
> 
> Of course, this happens all the time in add/edit forms.  Any 
> change to the 
> form in the first action will be seen by the action it 
> forwards to as long 
> as both actions are setup to use the same form bean in 
> struts-config.xml.
> 
> David
> 
> 
> 
> 
> 
> 
> >From: "Jorge Martins" <[EMAIL PROTECTED]>
> >Reply-To: "Struts Users Mailing List" 
> <[EMAIL PROTECTED]>
> >To: "'Struts Mailinglist'" <[EMAIL PROTECTED]>
> >Subject: ActionForm manipulation within an Action
> >Date: Fri, 15 Nov 2002 17:20:57 -
> >
> >Hi,
> >
> >Is there a way to set an attribute in an ActionForm received by an 
> >Action and having that change propagated when I 'findForward()' to 
> >another Action?
> >
> >Thanks
> >   Jorge
> >
> >
> >_
> ___
> >inesc-id   Jorge Martins  | 
> [EMAIL PROTECTED]
> >lisboaSoftware Engineering Group |
> >http://www.esw.inesc-id.pt/~jorge
> >
> >
> >
> >
> >--
> >To unsubscribe, e-mail:   
> ><mailto:[EMAIL PROTECTED]>
> >For additional commands, e-mail:
> ><mailto:[EMAIL PROTECTED]>
> 
> 
> _
> MSN 8 with e-mail virus protection service: 2 months FREE* 
> http://join.msn.com/?page=features/virus
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> 
> 

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




Re: ActionForm manipulation within an Action

2002-11-15 Thread David Graham
I guess I misread the question.  Setting up the form and forwarding to a jsp 
does what I described.

David






From: Martin Cooper <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: Struts Users Mailing List <[EMAIL PROTECTED]>
Subject: Re: ActionForm manipulation within an Action
Date: Fri, 15 Nov 2002 17:28:16 -0800 (PST)



On Fri, 15 Nov 2002, David Graham wrote:

> Of course, this happens all the time in add/edit forms.  Any change to 
the
> form in the first action will be seen by the action it forwards to as 
long
> as both actions are setup to use the same form bean in 
struts-config.xml.

Nope. The form bean will be reset and repopulated from the request. One of
the joys of action chaining. ;-)

--
Martin Cooper


>
> David
>
>
>
>
>
>
> >From: "Jorge Martins" <[EMAIL PROTECTED]>
> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> >To: "'Struts Mailinglist'" <[EMAIL PROTECTED]>
> >Subject: ActionForm manipulation within an Action
> >Date: Fri, 15 Nov 2002 17:20:57 -
> >
> >Hi,
> >
> >Is there a way to set an attribute in an ActionForm received by an
> >Action and having that change propagated when I 'findForward()' to
> >another Action?
> >
> >Thanks
> >   Jorge
> >
> >
> 
>
> >inesc-id   Jorge Martins  | [EMAIL PROTECTED]
> >lisboaSoftware Engineering Group |
> >http://www.esw.inesc-id.pt/~jorge
> >
> >
> >
> >
> >--
> >To unsubscribe, e-mail:
> ><mailto:struts-user-unsubscribe@;jakarta.apache.org>
> >For additional commands, e-mail:
> ><mailto:struts-user-help@;jakarta.apache.org>
>
>
> _
> MSN 8 with e-mail virus protection service: 2 months FREE*
> http://join.msn.com/?page=features/virus
>
>
> --
> To unsubscribe, e-mail:   
<mailto:struts-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail: 
<mailto:struts-user-help@;jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   
<mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: 
<mailto:struts-user-help@;jakarta.apache.org>


_
STOP MORE SPAM with the new MSN 8 and get 2 months FREE* 
http://join.msn.com/?page=features/junkmail


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>



Re: ActionForm manipulation within an Action

2002-11-15 Thread Martin Cooper


On Fri, 15 Nov 2002, David Graham wrote:

> Of course, this happens all the time in add/edit forms.  Any change to the
> form in the first action will be seen by the action it forwards to as long
> as both actions are setup to use the same form bean in struts-config.xml.

Nope. The form bean will be reset and repopulated from the request. One of
the joys of action chaining. ;-)

--
Martin Cooper


>
> David
>
>
>
>
>
>
> >From: "Jorge Martins" <[EMAIL PROTECTED]>
> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> >To: "'Struts Mailinglist'" <[EMAIL PROTECTED]>
> >Subject: ActionForm manipulation within an Action
> >Date: Fri, 15 Nov 2002 17:20:57 -
> >
> >Hi,
> >
> >Is there a way to set an attribute in an ActionForm received by an
> >Action and having that change propagated when I 'findForward()' to
> >another Action?
> >
> >Thanks
> >   Jorge
> >
> >
> >
> >inesc-id   Jorge Martins  | [EMAIL PROTECTED]
> >lisboaSoftware Engineering Group |
> >http://www.esw.inesc-id.pt/~jorge
> >
> >
> >
> >
> >--
> >To unsubscribe, e-mail:
> >
> >For additional commands, e-mail:
> >
>
>
> _
> MSN 8 with e-mail virus protection service: 2 months FREE*
> http://join.msn.com/?page=features/virus
>
>
> --
> To unsubscribe, e-mail:   
> For additional commands, e-mail: 
>
>


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: ActionForm manipulation within an Action

2002-11-15 Thread Brian Topping
... and you aren't using DynaActionForms, which erase your form every
time the controller is called.

-b

> -Original Message-
> From: Sri Sankaran [mailto:Sri.Sankaran@;sas.com]
> Sent: Friday, November 15, 2002 12:48 PM
> To: Struts Users Mailing List
> Subject: RE: ActionForm manipulation within an Action
> 
> 
> ...and the form bean is of session scope.
> 
> Sri
> 
> -Original Message-
> From: David Graham [mailto:dgraham1980@;hotmail.com] 
> Sent: Friday, November 15, 2002 12:35 PM
> To: [EMAIL PROTECTED]
> Subject: Re: ActionForm manipulation within an Action
> 
> 
> Of course, this happens all the time in add/edit forms.  Any 
> change to the 
> form in the first action will be seen by the action it 
> forwards to as long 
> as both actions are setup to use the same form bean in 
> struts-config.xml.
> 
> David
> 
> 
> 
> 
> 
> 
> >From: "Jorge Martins" <[EMAIL PROTECTED]>
> >Reply-To: "Struts Users Mailing List" 
> <[EMAIL PROTECTED]>
> >To: "'Struts Mailinglist'" <[EMAIL PROTECTED]>
> >Subject: ActionForm manipulation within an Action
> >Date: Fri, 15 Nov 2002 17:20:57 -
> >
> >Hi,
> >
> >Is there a way to set an attribute in an ActionForm received by an 
> >Action and having that change propagated when I 'findForward()' to 
> >another Action?
> >
> >Thanks
> >   Jorge
> >
> >
> >_
> ___
> >inesc-id   Jorge Martins  | 
> [EMAIL PROTECTED]
> >lisboaSoftware Engineering Group |
> >http://www.esw.inesc-id.pt/~jorge
> >
> >
> >
> >
> >--
> >To unsubscribe, e-mail:   
> ><mailto:struts-user-unsubscribe@;jakarta.apache.org>
> >For additional commands, e-mail:
> ><mailto:struts-user-help@;jakarta.apache.org>
> 
> 
> _
> MSN 8 with e-mail virus protection service: 2 months FREE* 
> http://join.msn.com/?page=features/virus
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:struts-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail: 
> <mailto:struts-user-help@;jakarta.apache.org>
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:struts-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail: 
> <mailto:struts-user-help@;jakarta.apache.org>
> 
> 


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>




RE: ActionForm manipulation within an Action

2002-11-15 Thread David Graham
I don't use dyna beans so I can't help you there.  Leaving the redirect 
attribute off a forward does mean that you're forwarding unless you've 
changed it globally to do redirects.

David






From: "Jorge Martins" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Subject: RE: ActionForm manipulation within an Action
Date: Fri, 15 Nov 2002 19:02:59 -

Well, I had tried it before just like you are saying...

Two actions use the same ActionForm (a DynaValidatorForm defined with
request scope).
The first Action sets a property in the ActionForm and forwards to
another Action (using a local  -- with
no redirect=true this should be forwarding, right?!). The problem is the
second Action received the ActionForm without the property set...

Due to time constraints I had to resort to an ugly bypass to the
ActionForms by setting an attribute directly in the request (in the
first Action) and verifying the existence of the attribute (in the
second Action).

Any thoughts on why this wasn't working?

Thanks,
  jorge



   inesc-id   Jorge Martins  | [EMAIL PROTECTED]
lisboaSoftware Engineering Group |
http://www.esw.inesc-id.pt/~jorge


The form bean can be in the request scope as long as you're forwarding
to
the next resource and NOT redirecting.

David






>From: "Sri Sankaran" <[EMAIL PROTECTED]>
>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>Subject: RE: ActionForm manipulation within an Action
>Date: Fri, 15 Nov 2002 12:47:51 -0500
>
>...and the form bean is of session scope.
>
>Sri
>
>-----Original Message-----
>From: David Graham [mailto:dgraham1980@;hotmail.com]
>Sent: Friday, November 15, 2002 12:35 PM
>To: [EMAIL PROTECTED]
>Subject: Re: ActionForm manipulation within an Action
>
>
>Of course, this happens all the time in add/edit forms.  Any change to
>the form in the first action will be seen by the action it forwards to
>as long as both actions are setup to use the same form bean in
>struts-config.xml.
>
>David
>
>
>
>
>
>
> >From: "Jorge Martins" <[EMAIL PROTECTED]>
> >Reply-To: "Struts Users Mailing List"
> ><[EMAIL PROTECTED]>
> >To: "'Struts Mailinglist'" <[EMAIL PROTECTED]>
> >Subject: ActionForm manipulation within an Action
> >Date: Fri, 15 Nov 2002 17:20:57 -
> >
> >Hi,
> >
> >Is there a way to set an attribute in an ActionForm received by an
> >Action and having that change propagated when I 'findForward()' to
> >another Action?
> >
> >Thanks
> >   Jorge
> >
> >
>
>___
_
> >inesc-id   Jorge Martins  |
[EMAIL PROTECTED]
> >lisboaSoftware Engineering Group |
> >http://www.esw.inesc-id.pt/~jorge
> >
> >
> >
> >
> >--
> >To unsubscribe, e-mail:
> ><mailto:struts-user-unsubscribe@;jakarta.apache.org>
> >For additional commands, e-mail:
> ><mailto:struts-user-help@;jakarta.apache.org>
>
>
>_
>MSN 8 with e-mail virus protection service: 2 months FREE*
>http://join.msn.com/?page=features/virus
>
>
>--
>To unsubscribe, e-mail:
><mailto:struts-user-unsubscribe@;jakarta.apache.org>
>For additional commands, e-mail:
><mailto:struts-user-help@;jakarta.apache.org>
>
>
>--
>To unsubscribe, e-mail:
><mailto:struts-user-unsubscribe@;jakarta.apache.org>
>For additional commands, e-mail:
><mailto:struts-user-help@;jakarta.apache.org>


_
Help STOP SPAM with the new MSN 8 and get 2 months FREE*
http://join.msn.com/?page=features/junkmail


--
To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@;jakarta.apache.org>


--
To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@;jakarta.apache.org>



--
To unsubscribe, e-mail:   
<mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: 
<mailto:struts-user-help@;jakarta.apache.org>


_
Protect your PC - get McAfee.com VirusScan Online 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>



RE: ActionForm manipulation within an Action

2002-11-15 Thread Jorge Martins
Well, I had tried it before just like you are saying...

Two actions use the same ActionForm (a DynaValidatorForm defined with
request scope).
The first Action sets a property in the ActionForm and forwards to
another Action (using a local  -- with
no redirect=true this should be forwarding, right?!). The problem is the
second Action received the ActionForm without the property set...

Due to time constraints I had to resort to an ugly bypass to the
ActionForms by setting an attribute directly in the request (in the
first Action) and verifying the existence of the attribute (in the
second Action).

Any thoughts on why this wasn't working?

Thanks,
  jorge

 

   inesc-id   Jorge Martins  | [EMAIL PROTECTED]
lisboaSoftware Engineering Group |
http://www.esw.inesc-id.pt/~jorge


The form bean can be in the request scope as long as you're forwarding
to 
the next resource and NOT redirecting.

David






>From: "Sri Sankaran" <[EMAIL PROTECTED]>
>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>Subject: RE: ActionForm manipulation within an Action
>Date: Fri, 15 Nov 2002 12:47:51 -0500
>
>...and the form bean is of session scope.
>
>Sri
>
>-Original Message-
>From: David Graham [mailto:dgraham1980@;hotmail.com]
>Sent: Friday, November 15, 2002 12:35 PM
>To: [EMAIL PROTECTED]
>Subject: Re: ActionForm manipulation within an Action
>
>
>Of course, this happens all the time in add/edit forms.  Any change to
>the form in the first action will be seen by the action it forwards to 
>as long as both actions are setup to use the same form bean in 
>struts-config.xml.
>
>David
>
>
>
>
>
>
> >From: "Jorge Martins" <[EMAIL PROTECTED]>
> >Reply-To: "Struts Users Mailing List"
> ><[EMAIL PROTECTED]>
> >To: "'Struts Mailinglist'" <[EMAIL PROTECTED]>
> >Subject: ActionForm manipulation within an Action
> >Date: Fri, 15 Nov 2002 17:20:57 -
> >
> >Hi,
> >
> >Is there a way to set an attribute in an ActionForm received by an
> >Action and having that change propagated when I 'findForward()' to 
> >another Action?
> >
> >Thanks
> >   Jorge
> >
> >
>
>___
_
> >inesc-id   Jorge Martins  |
[EMAIL PROTECTED]
> >lisboaSoftware Engineering Group |
> >http://www.esw.inesc-id.pt/~jorge
> >
> >
> >
> >
> >--
> >To unsubscribe, e-mail:
> ><mailto:struts-user-unsubscribe@;jakarta.apache.org>
> >For additional commands, e-mail: 
> ><mailto:struts-user-help@;jakarta.apache.org>
>
>
>_
>MSN 8 with e-mail virus protection service: 2 months FREE*
>http://join.msn.com/?page=features/virus
>
>
>--
>To unsubscribe, e-mail:   
><mailto:struts-user-unsubscribe@;jakarta.apache.org>
>For additional commands, e-mail: 
><mailto:struts-user-help@;jakarta.apache.org>
>
>
>--
>To unsubscribe, e-mail:   
><mailto:struts-user-unsubscribe@;jakarta.apache.org>
>For additional commands, e-mail: 
><mailto:struts-user-help@;jakarta.apache.org>


_
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail


--
To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@;jakarta.apache.org>


--
To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@;jakarta.apache.org>



--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>




RE: ActionForm manipulation within an Action

2002-11-15 Thread Sri Sankaran
Right you areshould have read your message a little better.

Sri

-Original Message-
From: David Graham [mailto:dgraham1980@;hotmail.com] 
Sent: Friday, November 15, 2002 1:16 PM
To: [EMAIL PROTECTED]
Subject: RE: ActionForm manipulation within an Action


The form bean can be in the request scope as long as you're forwarding to 
the next resource and NOT redirecting.

David






>From: "Sri Sankaran" <[EMAIL PROTECTED]>
>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>Subject: RE: ActionForm manipulation within an Action
>Date: Fri, 15 Nov 2002 12:47:51 -0500
>
>...and the form bean is of session scope.
>
>Sri
>
>-Original Message-
>From: David Graham [mailto:dgraham1980@;hotmail.com]
>Sent: Friday, November 15, 2002 12:35 PM
>To: [EMAIL PROTECTED]
>Subject: Re: ActionForm manipulation within an Action
>
>
>Of course, this happens all the time in add/edit forms.  Any change to 
>the form in the first action will be seen by the action it forwards to 
>as long as both actions are setup to use the same form bean in 
>struts-config.xml.
>
>David
>
>
>
>
>
>
> >From: "Jorge Martins" <[EMAIL PROTECTED]>
> >Reply-To: "Struts Users Mailing List" 
> ><[EMAIL PROTECTED]>
> >To: "'Struts Mailinglist'" <[EMAIL PROTECTED]>
> >Subject: ActionForm manipulation within an Action
> >Date: Fri, 15 Nov 2002 17:20:57 -
> >
> >Hi,
> >
> >Is there a way to set an attribute in an ActionForm received by an 
> >Action and having that change propagated when I 'findForward()' to 
> >another Action?
> >
> >Thanks
> >   Jorge
> >
> >
> >
> >inesc-id   Jorge Martins  | [EMAIL PROTECTED]
> >lisboaSoftware Engineering Group |
> >http://www.esw.inesc-id.pt/~jorge
> >
> >
> >
> >
> >--
> >To unsubscribe, e-mail: 
> ><mailto:struts-user-unsubscribe@;jakarta.apache.org>
> >For additional commands, e-mail: 
> ><mailto:struts-user-help@;jakarta.apache.org>
>
>
>_
>MSN 8 with e-mail virus protection service: 2 months FREE* 
>http://join.msn.com/?page=features/virus
>
>
>--
>To unsubscribe, e-mail:   
><mailto:struts-user-unsubscribe@;jakarta.apache.org>
>For additional commands, e-mail:
><mailto:struts-user-help@;jakarta.apache.org>
>
>
>--
>To unsubscribe, e-mail:   
><mailto:struts-user-unsubscribe@;jakarta.apache.org>
>For additional commands, e-mail:
><mailto:struts-user-help@;jakarta.apache.org>


_
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>




RE: ActionForm manipulation within an Action

2002-11-15 Thread David Graham
The form bean can be in the request scope as long as you're forwarding to 
the next resource and NOT redirecting.

David






From: "Sri Sankaran" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Subject: RE: ActionForm manipulation within an Action
Date: Fri, 15 Nov 2002 12:47:51 -0500

...and the form bean is of session scope.

Sri

-Original Message-
From: David Graham [mailto:dgraham1980@;hotmail.com]
Sent: Friday, November 15, 2002 12:35 PM
To: [EMAIL PROTECTED]
Subject: Re: ActionForm manipulation within an Action


Of course, this happens all the time in add/edit forms.  Any change to the
form in the first action will be seen by the action it forwards to as long
as both actions are setup to use the same form bean in struts-config.xml.

David






>From: "Jorge Martins" <[EMAIL PROTECTED]>
>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>To: "'Struts Mailinglist'" <[EMAIL PROTECTED]>
>Subject: ActionForm manipulation within an Action
>Date: Fri, 15 Nov 2002 17:20:57 -
>
>Hi,
>
>Is there a way to set an attribute in an ActionForm received by an
>Action and having that change propagated when I 'findForward()' to
>another Action?
>
>Thanks
>   Jorge
>
>
>
>inesc-id   Jorge Martins  | [EMAIL PROTECTED]
>lisboaSoftware Engineering Group |
>http://www.esw.inesc-id.pt/~jorge
>
>
>
>
>--
>To unsubscribe, e-mail:
><mailto:struts-user-unsubscribe@;jakarta.apache.org>
>For additional commands, e-mail:
><mailto:struts-user-help@;jakarta.apache.org>


_
MSN 8 with e-mail virus protection service: 2 months FREE*
http://join.msn.com/?page=features/virus


--
To unsubscribe, e-mail:   
<mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: 
<mailto:struts-user-help@;jakarta.apache.org>


--
To unsubscribe, e-mail:   
<mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: 
<mailto:struts-user-help@;jakarta.apache.org>


_
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>



RE: ActionForm manipulation within an Action

2002-11-15 Thread Sri Sankaran
...and the form bean is of session scope.

Sri

-Original Message-
From: David Graham [mailto:dgraham1980@;hotmail.com] 
Sent: Friday, November 15, 2002 12:35 PM
To: [EMAIL PROTECTED]
Subject: Re: ActionForm manipulation within an Action


Of course, this happens all the time in add/edit forms.  Any change to the 
form in the first action will be seen by the action it forwards to as long 
as both actions are setup to use the same form bean in struts-config.xml.

David






>From: "Jorge Martins" <[EMAIL PROTECTED]>
>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>To: "'Struts Mailinglist'" <[EMAIL PROTECTED]>
>Subject: ActionForm manipulation within an Action
>Date: Fri, 15 Nov 2002 17:20:57 -
>
>Hi,
>
>Is there a way to set an attribute in an ActionForm received by an 
>Action and having that change propagated when I 'findForward()' to 
>another Action?
>
>Thanks
>   Jorge
>
>
>
>inesc-id   Jorge Martins  | [EMAIL PROTECTED]
>lisboaSoftware Engineering Group |
>http://www.esw.inesc-id.pt/~jorge
>
>
>
>
>--
>To unsubscribe, e-mail:   
><mailto:struts-user-unsubscribe@;jakarta.apache.org>
>For additional commands, e-mail:
><mailto:struts-user-help@;jakarta.apache.org>


_
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>




Re: ActionForm manipulation within an Action

2002-11-15 Thread David Graham
Of course, this happens all the time in add/edit forms.  Any change to the 
form in the first action will be seen by the action it forwards to as long 
as both actions are setup to use the same form bean in struts-config.xml.

David






From: "Jorge Martins" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "'Struts Mailinglist'" <[EMAIL PROTECTED]>
Subject: ActionForm manipulation within an Action
Date: Fri, 15 Nov 2002 17:20:57 -

Hi,

Is there a way to set an attribute in an ActionForm received by an
Action and having that change propagated when I 'findForward()' to
another Action?

Thanks
  Jorge



   inesc-id   Jorge Martins  | [EMAIL PROTECTED]
lisboaSoftware Engineering Group |
http://www.esw.inesc-id.pt/~jorge




--
To unsubscribe, e-mail:   

For additional commands, e-mail: 



_
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus


--
To unsubscribe, e-mail:   
For additional commands, e-mail: