[jira] [Commented] (OFBIZ-11317) Add 'controlPath' attribute to 'ofbizUrl' freemarker macro

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

[jira] [Commented] (OFBIZ-11317) Add 'controlPath' attribute to 'ofbizUrl' freemarker macro

Nicolas Malin (Jira)

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

Pierre Smits commented on OFBIZ-11317:
--------------------------------------

Apparently not....  Because now I get this:


{code:java}
git --no-optional-locks -c color.branch=false -c color.diff=false -c color.status=false -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree fetch --prune OFBiz 
fatal: Cannot fetch both refs/pull/13/head and refs/heads/pr/13 to refs/remotes/OFBiz/pr/13
Completed with errors, see above
{code}
 

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