jQuery in Action, 3rd edition
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
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Form Bean design question" Watch "Form Bean design question" New topic

Form Bean design question

Raj Chukka

Joined: Apr 09, 2007
Posts: 22

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?

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
It's not a secret anymore!