Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-11958

Freemarker macro for JsLanguageFilesMapping

    XMLWordPrintableJSON

    Details

      Description

      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>

        Attachments

        1. OFBIZ-11958.patch
          6 kB
          James Yong

          Activity

            People

            • Assignee:
              jamesyong James Yong
              Reporter:
              jamesyong James Yong
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: