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:
to as
well.
I like this better because then you can run junit tests w/o worring about
the container.
Edgar
-Original Message-
From: Shyam A [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 14, 2003 8:39 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: Passing parameters
-
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 functionality in your own classes,
i.e. publish / subscribe
Hi Shyam,
If you change html:text property=foo/
to html:hidden property=foo write=true/
OR
if you just add html:hidden property=foo/
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
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 =
5 matches
Mail list logo