struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Affan Qureshi" <quere...@etilize.com>
Subject Re: Multiple forms in session [WAS: RE: how to send actionForm fromone action to another action]
Date Fri, 27 Dec 2002 12:16:35 GMT
Is there a way to instantiate multiple instances of actionForm beans under
different names? Also the <html:form> and action should lookup beans using a
dynamic string rather than one from struts-config.xml. We can create unique
names by appending some Id to the names. This way we might be able to avoid
name conflicts and still be able to work with multiple forms simultaneously.
Is this possible in any way? Or what is a better solution for this?

I dont want to make the bean request-scope because session-scope beans allow
for better functionality. BTW I am using Nested tags in this case.

Thanks and regards,

Affan

----- Original Message -----
From: "Eddie Bush" <ekbush@swbell.net>
To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
Sent: Wednesday, December 18, 2002 11:32 AM
Subject: Re: Multiple forms in session [WAS: RE: how to send actionForm
fromone action to another action]


> Eddie Bush wrote:
>
> > They'd get trampled :-(  In fact, there's really not a good solution
> > that comes to mind.  The only single thing I see that we can do to
> > make using session-based forms more safe is to add the module name to
> > the key we use to place the forms into scope.  I'm going to go look
> > for that bug now - nearly certain it's there.
>
> ... and I have yet again managed to show my imperfection - I was wrong!
>  I sure thought such a bug existed, but I guess it must have been a
> discussion instead of a bug report.
>
> --
> Eddie Bush
>
>
>
>
>
> --
> 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>


Mime
View raw message