You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Smith, Johnathan M." <js...@ubspw.com> on 2002/10/17 20:18:12 UTC
Changing Value in Form Beans
How can I change the value of data in the form bean and then forward it to
the next action. I know how to do the forward in my action but not how to
change the value in the form bean?
Johnathan Mark Smith
Divisional Assistant Vice President
Information Systems Division
Phone: (201) 352-1387
Pager: (201) 718-1370
Email: jsmith4@ubspw.com
Text Messaging: jsmith4_pager@painewebber.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: Changing Value in Form Beans
Posted by James Mitchell <jm...@telocity.com>.
jsp -> actionA -> actionB -> jsp
It doesnt matter, because when you forward to actionB, the form is
reconstituted from the request, so all your changes will be lost if you
change them in actionA.
This has been discussed, argued, and resolved in the past. There is even a
bug in Bugzilla about it. Its not going to change, I can assure you.
HTH
James Mitchell
Software Engineer/Struts Evangelist
http://www.open-tools.org
> -----Original Message-----
> From: Smith, Johnathan M. [mailto:jsmith4@ubspw.com]
> Sent: Thursday, October 17, 2002 2:18 PM
> To: 'struts-user@jakarta.apache.org'
> Subject: Changing Value in Form Beans
>
>
> How can I change the value of data in the form bean and then forward it to
> the next action. I know how to do the forward in my action but not how to
> change the value in the form bean?
>
> Johnathan Mark Smith
> Divisional Assistant Vice President
> Information Systems Division
>
> Phone: (201) 352-1387
> Pager: (201) 718-1370
> Email: jsmith4@ubspw.com
> Text Messaging: jsmith4_pager@painewebber.com
>
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>