Hi all. Im developing a new project and im having some problems with BeanEditForm and inheritance, maybe you can help me.
I have a base class called product. >From that base class (abstract class or interface, doesnt matter) i have different subproducts extending from this base class. I want to create a page where i can create different types of products so i have a dropdown menu, where i select the type of subproduct and i want to create, deppending on the type of product selected. My .tml will show something like this <t:beaneditform t:id="form" t:object="myproduct"> </t:beaneditform> My .java will be something like this private SubProduct subProduct; public Product getMyProduct(){ return subProduct; } so the BeanEditForm will show the Product superclass fields but subProduct specific fields wont be shown. The problem is that the beanEditForm takes the parameters from the supreclass/interface so i only have the supreclass attributes fields. Any idea about how to do this? Thx in advance -- View this message in context: http://tapestry.1045711.n5.nabble.com/BeanEditForm-and-Polymorphism-tp3343510p3343510.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org