[jira] Created: (OFBIZ-2703) Fix using TagLib in freemarker

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (OFBIZ-2703) Fix using TagLib in freemarker

Nicolas Malin (Jira)
Fix using TagLib in freemarker
------------------------------

                 Key: OFBIZ-2703
                 URL: https://issues.apache.org/jira/browse/OFBIZ-2703
             Project: OFBiz
          Issue Type: Wish
          Components: framework
    Affects Versions: SVN trunk
         Environment: Ubuntu
            Reporter: Chatree Srichart
            Priority: Critical
             Fix For: SVN trunk


Fix using TagLib in freemarker follow this.
1.  In ControlServlet.java, create ServletContextHashModel instance and set to request's attritube
2. In ScreenRenderer.java, set ServletContextHashModel instance from request's attribute to context name Application and set HttpRequestHashModel instance from requestAttributes in context to context name Request


--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-2703) Fix using TagLib in freemarker

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-2703?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chatree Srichart updated OFBIZ-2703:
------------------------------------

    Attachment: ScreenRenderer.diff
                ControlServlet.diff

diff file for fix it.

> Fix using TagLib in freemarker
> ------------------------------
>
>                 Key: OFBIZ-2703
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2703
>             Project: OFBiz
>          Issue Type: Wish
>          Components: framework
>    Affects Versions: SVN trunk
>         Environment: Ubuntu
>            Reporter: Chatree Srichart
>            Priority: Critical
>             Fix For: SVN trunk
>
>         Attachments: ControlServlet.diff, ScreenRenderer.diff
>
>
> Fix using TagLib in freemarker follow this.
> 1.  In ControlServlet.java, create ServletContextHashModel instance and set to request's attritube
> 2. In ScreenRenderer.java, set ServletContextHashModel instance from request's attribute to context name Application and set HttpRequestHashModel instance from requestAttributes in context to context name Request

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.