ofbiz-notifications mailing list archives

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

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

Jacques Le Roux commented on OFBIZ-11317:
-----------------------------------------

Quoting from Slack
{quote}
Maybe I should not have pushed to all branches but only trunk. I'll try that next time
I have checked this feature to push together R17 and R18 when backporting
So we need to delete the ‘refs/pull/13/head’ from remote, right?

Pierre Smits  [13 h 47]
That appears to be the way to go.

Jacques Le Roux  [13 h 50]
Done, how it goes on your side?
Both local and remote deleted

Pierre Smits  [13 h 51]
Let me check.
It seems ok now (and again). I see all available (and implemented PR) branches. As it should
be.
13 h 56

OK, I guess it was the push ALL which created the issue
{quote}

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

Mime
View raw message