ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Yong (Jira)" <j...@apache.org>
Subject [jira] [Commented] (OFBIZ-11317) Add 'controlPath' attribute to 'ofbizUrl' freemarker macro
Date Sun, 12 Jan 2020 12:04:00 GMT

    [ https://issues.apache.org/jira/browse/OFBIZ-11317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17013734#comment-17013734
] 

James Yong commented on OFBIZ-11317:
------------------------------------

May I know what is the consequence of committing to
 [https://github.com/apache/ofbiz-framework.git]
 instead of
 [https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git] ?

I tried the former but didn't see the new change after checking the project out again.

> 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
>            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)

Mime
View raw message