You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Jacques Le Roux (Jira)" <ji...@apache.org> on 2020/04/05 09:53:00 UTC
[jira] [Closed] (OFBIZ-11317) Add 'controlPath' attribute to
'ofbizUrl' freemarker macro
[ https://issues.apache.org/jira/browse/OFBIZ-11317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jacques Le Roux closed OFBIZ-11317.
-----------------------------------
Resolution: Implemented
Since OFBIZ-11306 will not be backported no real need to backport here, closing
> Add 'controlPath' attribute to 'ofbizUrl' freemarker macro
> ----------------------------------------------------------
>
> Key: OFBIZ-11317
> URL: https://issues.apache.org/jira/browse/OFBIZ-11317
> Project: OFBiz
> Issue Type: Improvement
> Components: ALL APPLICATIONS
> Affects Versions: Trunk
> Reporter: James Yong
> Assignee: Jacques Le Roux
> Priority: Minor
> Fix For: Upcoming Branch
>
> Attachments: OFBIZ-11317.patch, OFBIZ-11317.patch, OFBIZ-11317_Plugins.patch
>
>
> 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>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)