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

Add 'controlPath' attribute to 'ofbizUrl' freemarker macro

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Reopened
    • Priority: Minor
    • Resolution: Unresolved
    • 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_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

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

                Dates

                • Created:
                  Updated: