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

Add 'controlPath' attribute to 'ofbizUrl' freemarker macro

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Implemented
    • Affects Version/s: Trunk
    • Fix Version/s: Upcoming Branch
    • Component/s: ALL APPLICATIONS
    • Labels:
      None

      Description

      Currently the ofbizUrl freemarker macro doesn't support uri for other OFBiz web application.

      Adding the controlPath attribute to allow the controls by ofbizUrl to support uri to other OFBiz web application.

      Sample Example
      Before:
      <a href="/catalog/control/EditProduct?productId=${requestItem.productId!}" class="buttontext">${requestItem.productId!}</a>

      After:
      <a href="<@ofbizUrl controlPath="/catalog/control">EditProduct?productId=${requestItem.productId!}</@ofbizUrl>" class="buttontext">${requestItem.productId!}</a>

        Attachments

        1. OFBIZ-11317.patch
          150 kB
          James Yong
        2. OFBIZ-11317.patch
          150 kB
          James Yong
        3. OFBIZ-11317_Plugins.patch
          8 kB
          James Yong

        Issue Links

          Activity

            People

            • Assignee:
              jleroux Jacques Le Roux
              Reporter:
              jamesyong James Yong

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment