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

Relative paths for form definitions passed to the HtmlFormWrapper constructor limit reusability of scripts.

    XMLWordPrintableJSON

Details

    Description

      Copy of http://jira.undersunconsulting.com/browse/OFBIZ-603 from Chris Howe.

      ==================================================

      component://order/webapp/ordermgr/WEB-INF/actions/order/OrderDeliveryScheduleInfo.bsh
      line 53:

      uses "/order/OrderDeliveryScheduleForms.xml" as a parameter.

      Because of this every app that calls this beanshell script must have the forms.xml file in it's path. This is extremely trivial at the moment, but will cause some people some trouble once the order application is updated to use mainDecoratorLocation variable

      Attachments

        1. htmlformwrapper.patch
          2 kB
          Jacopo Cappellato
        2. htmlformwrapper.patch
          1 kB
          Chris Howe

        Activity

          People

            jacopoc Jacopo Cappellato
            risalitm Marco Risaliti
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: