OFBiz
  1. OFBiz
  2. OFBIZ-278

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

    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

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

        Activity

        Gavin made changes -
        Workflow jira [ 12383695 ] OFbiz Workflow [ 12504388 ]
        Jacopo Cappellato made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Jacopo Cappellato made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Jacopo Cappellato made changes -
        Assignee Jacopo Cappellato [ jacopoc ]
        Jacopo Cappellato made changes -
        Attachment htmlformwrapper.patch [ 12350819 ]
        Chris Howe made changes -
        Attachment htmlformwrapper.patch [ 12350817 ]
        Jacques Le Roux made changes -
        Priority Trivial [ 5 ] Major [ 3 ]
        Jacopo Cappellato made changes -
        Component/s manufacturing [ 12311150 ]
        Component/s product [ 12311155 ]
        Summary relative path Relative paths for form definitions passed to the HtmlFormWrapper constructor limit reusability of scripts.
        Component/s accounting [ 12311146 ]
        Component/s ecommerce [ 12311148 ]
        Component/s content [ 12311147 ]
        Jacopo Cappellato made changes -
        Field Original Value New Value
        Description 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
        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
        Marco Risaliti created issue -

          People

          • Assignee:
            Jacopo Cappellato
            Reporter:
            Marco Risaliti
          • Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development