Hi,
I've got a generic facelet for outputting attributes of an entity called
outputField.xhtml. Its definition:
<ui:composition>
...
<h:outputText value="#{entity[fieldName]}" />
</ui:composition>
Example usage: <outputField entity="contact" fieldName="firstName" />
However, the entity "contact" also has an composite attribute "address"
which has attributes itself. However when I try: <outputField
entity="contact" fieldName="address.street" />. I get an exception. Any idea
how I can access the nested bean in this generic way? (i.e.
entity[fieldName])?
--
View this message in context:
http://www.nabble.com/Navigate-nested-beans-tf3436593.html#a9581797
Sent from the MyFaces - Users mailing list archive at Nabble.com.