[jira] [Commented] (OFBIZ-11958) Freemarker macro for JsLanguageFilesMapping

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

[jira] [Commented] (OFBIZ-11958) Freemarker macro for JsLanguageFilesMapping

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-11958?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17178229#comment-17178229 ]

ASF subversion and git services commented on OFBIZ-11958:
---------------------------------------------------------

Commit 49e365d9a280973af7c92fc4c6af12ba3059f9d3 in ofbiz-framework's branch refs/heads/trunk from James Yong
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=49e365d ]

Improved: Freemarker macro for JsLanguageFilesMapping (OFBIZ-11958)

A macro is needed to get info from JsLanguageFilesMapping class.
<@jsLangFilesMap>select2</@jsLangFilesMap>


> Freemarker macro for JsLanguageFilesMapping
> -------------------------------------------
>
>                 Key: OFBIZ-11958
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-11958
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: ALL APPLICATIONS, ALL PLUGINS
>    Affects Versions: Upcoming Branch
>            Reporter: James Yong
>            Assignee: James Yong
>            Priority: Minor
>             Fix For: Upcoming Branch
>
>         Attachments: OFBIZ-11958.patch
>
>
> Need to get the js library language filepath in ftl via JsLanguageFilesMapping class.
> But not able to access the static classes in JsLanguageFilesMapping.
> Moreover the output contains / which is automatically encoded when rendered.
> So a macro is needed to get info from JsLanguageFilesMapping class .
> Proposing something like
> <@jsLangFilesMap>select2</@jsLangFilesMap>



--
This message was sent by Atlassian Jira
(v8.3.4#803005)