David
From: David Holtzhouser <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: OO Design with ActionForms, Again - Can someone please comment Date: Fri, 21 Mar 2003 11:39:48 -0800 (PST)
I posted this question early in the month, but didn't get a single response. Can someone please comment on this question??
I have a design question realted to developing ActionForm classes.
I have a page where a user makes a selection that controls the Tile that will appear within the body of the next screen. The two (and likely additional ones later) screens share a common property between them (a checkbox). I would like to refactor that common property into a base class, and then create subclasses off of that type.
My perceived problem is that I am limited by the fact that you can only declare a single relationship between the action and the form-bean.
What are the best practices for using inheritance on ActionForm's and does anyone have a suggestion on how this could be implemented?
Thanks,
Dave
__________________________________________________ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http://platinum.yahoo.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

