[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-862) Minor error in view.xhtml.ftl Seam Gen Template

Damian Harvey (JIRA) jira-events at lists.jboss.org
Fri Feb 16 12:55:32 EST 2007


Minor error in view.xhtml.ftl Seam Gen Template
-----------------------------------------------

                 Key: JBSEAM-862
                 URL: http://jira.jboss.com/jira/browse/JBSEAM-862
             Project: JBoss Seam
          Issue Type: Bug
          Components: Core
    Affects Versions: 1.1.6.GA
            Reporter: Damian Harvey
            Priority: Minor


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:
Code:

${'#'}{${parentName}.${parentProperty.name}.${
parentPojo
.identifierProperty.name}}	


but should be:
Code:

${'#'}{${parentName}.${parentProperty.name}.${
parentParentPojo
.identifierProperty.name}}	



It results in an error in the generated View page as the property is set as such:
Code:

<h:column>
<f:facet name="header">countryCode countryId</f:facet>
#{company.countryCode.companyId}  <!--is this the problem -->
</h:column>
	

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list