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

Add 'controlPath' attribute to 'ofbizUrl' freemarker macro

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Implemented
    • Trunk
    • None
    • ALL APPLICATIONS
    • 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_Plugins.patch
          8 kB
          James Yong
        2. OFBIZ-11317.patch
          150 kB
          James Yong
        3. OFBIZ-11317.patch
          150 kB
          James Yong

        Issue Links

          Activity

            People

              jleroux Jacques Le Roux
              jamesyong James Yong
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: