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

Freemarker macro for JsLanguageFilesMapping

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Implemented
    • 22.01.01
    • None
    • None

    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

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

            Dates

              Created:
              Updated:
              Resolved: