File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Form Bean design question
Joined: Apr 09, 2007
Apr 04, 2008 15:03:00
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?
Joined: Feb 08, 2006
Apr 09, 2008 20:48:00
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.
I agree. Here's the link:
subject: Form Bean design question
default scopes of form bean and data bean
MyFaces - HtmlSelectOneMenu and ValueChangeEvent
Can we define static properties in action form bean?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014