So I have a simple example where I have an Embedded object. So I have a Location class
that has an Address object. The Address object is annotated with @Embedded. The Address
class has @Embeddable. In my form I have an InputText with
<h:inputText value="#{location.address.city}"
id="cityText"/>
This didn't work, and I got a conversion JSF error. I moved the attributes of Address
to the Location Object and then it all worked. However, I like the idea of the seperate
Address class rather than the attributes being in the Location object. While there is only
four attributes in Address, if I ever got to a bigger application, it would be useful.
Any ideas why my first example with @Embedded/@Embeddible did not work?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3992939#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...