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

Freemarker macro for JsLanguageFilesMapping

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment