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

2 messages Options
Embed this post
Permalink
JIRA jira@apache.org

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

Reply Threaded More More options
Print post
Permalink
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.

JIRA jira@apache.org

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

Reply Threaded More More options
Print post
Permalink

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