[jbosstools-issues] [JBoss JIRA] (JBIDE-428) Add new features to Feemarker Plugin

Nick Boldt (JIRA) issues at jboss.org
Thu Jan 16 16:38:32 EST 2014


     [ https://issues.jboss.org/browse/JBIDE-428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nick Boldt closed JBIDE-428.
----------------------------

    Fix Version/s: 3.2.3.Final
                       (was: LATER)
       Resolution: Out of Date


Freemarker is sort of getting to end of life in JBoss Tools, so not sure what to do w/ this patch, especially since in 2009 we were on Eclipse 3.x and using SVN, whereas now we're on 4.x and using github.

So closing Out of Date. Does anyone want to update this patch to work w/ the new github repo?
                
> Add new features to Feemarker Plugin
> ------------------------------------
>
>                 Key: JBIDE-428
>                 URL: https://issues.jboss.org/browse/JBIDE-428
>             Project: Tools (JBoss Tools)
>          Issue Type: Patch
>          Components: freemarker
>            Reporter: ZERR Angelo
>            Assignee: Joe Hudson
>             Fix For: 3.2.3.Final
>
>         Attachments: FreemarkerIDE.zip, org.jboss.ide.eclipse.freemarker.patch, patch.txt
>
>
> I have updated Freemarker Plugin to : 
> 1) have template completion capability : (ex : type list in your ftl template, and CRTL+SPACE => <#list ....><#list> will be generate.
>  You can customize your template with menu Window/Preferences/Freemarker Editor/Templates
> 2) add XML context capabilty. You can choose XML file and have completion with element and attribute of your XML.
> 3) add String context. I beleive it will be better to have Java Type context (Boolea, String,...)
> 3) add Preview Tab to see the result of the merge of your template and your model. It works ONLY with XML context. It's not available dor Class context.
>    To use Preview Tab with Class, I believe it will good to have a class wich return getter of your Class.
>    Ex : if you have class MyForm, user will have to add getMyForm in the context class for the preview.
>    MyForm getMyForm() {
>      MyForm form = new MyForm
>      form.setId("MyId")
>      return form;
>   }
>   If user have the ftl template ${myForm.id}, when you click to th epreview tab, you will have MyId displayed. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list