Hi Shyam,
If you change
to
OR
if you just add
does it work?
Susan Bradeen
On 10/13/2003 08:27:41 PM Shyam A wrote:
> Hi,
>
> I have a scenario where I need to pass parameters
> between forms.i.e, I have two forms, Form A and Form B
> with the same attribute "foo". The value of "foo" is
Message-
> From: Edgar P Dollin [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, October 14, 2003 10:19 AM
> To: 'Shyam A'; [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: RE: Passing parameters between forms
>
>
> My preference is to emulate the session functio
bject: RE: Passing parameters between forms
>
>
> Carey,
>
> Thanks for your mail. I knew about the option you
> suggested and mentioned it in my mail.
>
> quote:
>
> I know I can save the "foo" attribute into session in
> Action A class and access it in Actio
Carey,
Thanks for your mail. I knew about the option you
suggested and mentioned it in my mail.
quote:
I know I can save the "foo" attribute into session in
Action A class and access it in Action B, or set the
scope of Form A to session in struts-config and access
Form A from Action B.
unquote:
I have some vague memory (perhaps completely wrong) that the forms are
stored wherever they are stored using the names that you specify in
struts-config. It may not be the nicest way to do this, but I'm pretty sure
that, given session scope on your forms, you can do something like
(FormA)forma = s
5 matches
Mail list logo