(This is a bit pedantic but thought it belonged here anyway)
If you have a ManyToOne association that goes more than one level deep eg. A
PERSON associated with a COMPANY associated with a COUNTRY then the SeamGen
view template has a small error on line 83 of the view.xhtml.ftl
It is currently:
${'#'}{${parentName}.${parentProperty.name}.${parentPojo.identifierProperty.name}}
but should be:
${'#'}{${parentName}.${parentProperty.name}.${parentParentPojo.identifierProperty.name}}
It results in an error in the generated View page as the property is set as
such:
<h:column>
| <f:facet name="header">countryCode countryId</f:facet>
| #{company.countryCode.companyId} <!--is this the problem -->
| </h:column>
|
Cheers,
Damian.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4017524#4017524
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4017524
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user