[jira] Updated: (OFBIZ-278) Relative paths for form definitions passed to the HtmlFormWrapper constructor limit reusability of scripts.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-278) Relative paths for form definitions passed to the HtmlFormWrapper constructor limit reusability of scripts.

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacopo Cappellato updated OFBIZ-278:
------------------------------------

    Attachment: htmlformwrapper.patch

This is the backward compatible version of Chris's patch: with this the HtmlFormWrapper object can be created using the old relative paths or the new component:// sintax.
Please review because I'd like to commit it soon.

Thanks


> Relative paths for form definitions passed to the HtmlFormWrapper constructor limit reusability of scripts.
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-278
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-278
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>          Components: accounting, content, ecommerce, manufacturing, order, product
>    Affects Versions: SVN trunk
>            Reporter: Marco Risaliti
>         Attachments: htmlformwrapper.patch, htmlformwrapper.patch
>
>
> 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

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.