[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-1401) seam-gen: use of local variables in param.xml.ftl

Pierre Raoul (JIRA) jira-events at lists.jboss.org
Wed Jun 6 03:33:12 EDT 2007


seam-gen: use of local variables in param.xml.ftl
-------------------------------------------------

                 Key: JBSEAM-1401
                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1401
             Project: JBoss Seam
          Issue Type: Patch
          Components: Tools
    Affects Versions: 1.3.0.ALPHA
            Reporter: Pierre Raoul
         Attachments: param.xml.ftl.patch

"assign" always defines a global variable, so "parentPojo" backup is useless. In fact it works as it is only because there is no other "assign" after 
the include of params.xml.ftl in the file. 
To get true local variables, replace "assign" by "local" and put the instructions in a macro.

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