You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Chatree Srichart (JIRA)" <ji...@apache.org> on 2009/07/05 14:42:15 UTC

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

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] Updated: (OFBIZ-2703) Fix using TagLib in freemarker

Posted by "Chatree Srichart (JIRA)" <ji...@apache.org>.
     [ 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.