I also would like other's opinion on this.  Right now, use a service locator
style class to stuff all my lookup stuff into the request object manually.
I have, however, used collections in the formbeans for this.  I can't, off
the top of my head, think of any significant advantages to using a form
bean.  One disadvantage, however, is you can only have 1 form bean per
action, so lookups across multiple actions will need to have duplicate code.


-----Original Message-----
From: Sgarlata Matt [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 18, 2003 10:15 AM
To: Struts Users Mailing List
Subject: [repost] Special view information -> ActionForm or request?


Sorry for the repost.  Has this already been discussed?  I couldn't find it
in the archives.

Original message:

Sometimes views need special information to display correctly, like a bean
with the values needed to render a dropdown list.  Is it considered a Struts
best-practice to include this information in the ActionForm or should the
Action which prepares this information store the information in the request
instead?

Thanks,

Matt


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


This message and its contents (to include attachments) are the property of Kmart 
Corporation (Kmart) and may contain confidential and proprietary information. You are 
hereby notified that any disclosure, copying, or distribution of this message, or the 
taking of any action based on information contained herein is strictly prohibited. 
Unauthorized use of information contained herein may subject you to civil and criminal 
prosecution and penalties. If you are not the intended recipient, you should delete 
this message immediately.



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

Reply via email to