• Post Reply Bookmark Topic Watch Topic
  • New Topic

Form Bean design question  RSS feed

 
Raj Chukka
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 948
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!