Assuming your action uses the form your going to render, I don't see any
reason why you shouldn't be able to.

But looking at your question, you seem to be describing what Struts does
already.  It saves a form bean under a key with the same value as the "name"
attribute. Then you are forwarded to a JSP which uses tag(s) to render that
form.

Are you wanting to save a different object altogether than the action form?
You wouldn't be able to save a different object with the same key value that
Struts would use I expect. Unless you use a different scope perhaps, but
even then you might have conflicts.



-----Original Message-----
From: Johan Wasserman - CPX Mngd Services
[mailto:[EMAIL PROTECTED]
Sent: Monday, September 29, 2003 12:03 PM
To: Struts Users Mailing List
Subject: RE: [Q]Tags: Lookforward to create the correct session name for
bean?


Are my questions real difficult, or soooo stupid?

No-one's ever answered any of 'em, if only I knew why.

{:(

-----Original Message-----
From: Johan Wasserman - CPX Mngd Services
Sent: Monday, September 29, 2003 8:17 AM
To: Struts Users Mailing List
Subject: [Q]Tags: Lookforward to create the correct session name for
bean?


Hi,
Is there a way for a formAction to look at the tag defined in the form
(especialy the "name" attribute) so that I can create a bean and save it
in the session as the same name as the "name" attribute even before the
tag needs it.

Thanks,
Johan.

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



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

Reply via email to