[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-3835) Update freemarker version

Andre Salvati (JIRA) jira-events at lists.jboss.org
Fri Feb 20 07:21:54 EST 2009


    [ https://jira.jboss.org/jira/browse/JBIDE-3835?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12453417#action_12453417 ] 

Andre Salvati commented on JBIDE-3835:
--------------------------------------

I already had oppened an JIRA for Seam... https://jira.jboss.org/jira/browse/JBSEAM-3962

I am talking about templates accessing POJOs annotations when I run "Seam Generate Entities" wizard from Eclipse.

${pojo.decoratedObject.mappedClass.getDeclaredField(property.name).isAnnotationPresent(RestricaoComEmpresa.class)}

I've been studying Freemarker documentation and I think this is not possible, because Freemarker understand "RestricaoComEmpresa" as an expression. But, with directives (Freemarker 3.2.15) it would be possible.





> Update freemarker version
> -------------------------
>
>                 Key: JBIDE-3835
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-3835
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>            Reporter: Andre Salvati
>
> Seam comes with freemarker 3.2.8 jar today. The last freemarker stable version is 3.2.15.
> http://sourceforge.net/project/showfiles.php?group_id=794&package_id=787
> There is a new function which allows call Java code to handle decisions about code generation. It would be interesting using annotations on Pojo as directives for code generation.
> http://freemarker.sourceforge.net/docs/pgui_datamodel_directive.html

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

        



More information about the jbosstools-issues mailing list