File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Form Bean design question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Form Bean design question" Watch "Form Bean design question" New topic
Author

Form Bean design question

Raj Chukka
Greenhorn

Joined: Apr 09, 2007
Posts: 22
Hi,

Can a form bean extend another form bean and get all the properties from the parent one?

Can someone tell me (or) guide me to a resource link for this?

Thanks,
Raj Chukka
Brent Sterling
Ranch Hand

Joined: Feb 08, 2006
Posts: 948
Yes, a form bean can extend another form bean. I do this on occasion. The validator framework does not know about inheritance, so you have to duplicate validation for each base class.

- Brent
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Form Bean design question