[jira] [Commented] (OFBIZ-12018) Open FTL File from browser

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

[jira] [Commented] (OFBIZ-12018) Open FTL File from browser

Nicolas Malin (Jira)

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

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

Hi James,

About
bq. Works with "widget.dev.cmd.openSourceFile=c:\\\photon\\\eclipse.exe ${sourceLocation}"
I set a wrong path, it works in  bakend with the default, ie
widget.dev.cmd.openSourceFile=eclipse ${sourceLocation}

<request-map uri="openSourceFile"> is in ecommerce controller and it works also in ecommerce but not ecomseo.

I thought it could be relatated to this line
{{if (!path.contains("common-theme") && !path.contains("ecommerce")) {}}
but changing to
{{if (!path.contains("common-theme") && !path.contains("ecom")) {}}
does not help


> Open FTL File from browser
> ---------------------------
>
>                 Key: OFBIZ-12018
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-12018
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: base
>    Affects Versions: Upcoming Branch
>            Reporter: James Yong
>            Assignee: James Yong
>            Priority: Minor
>             Fix For: Upcoming Branch
>
>         Attachments: OFBIZ-12018.patch, OFBIZ-12018.patch, OFBIZ-12018.patch
>
>
> Allow developer to open FTL file from the browser by clicking on the filename on the named border.
> There are 2 properties involved:
> {code:java}
> # Enable widget named border for development
> # NONE - For production where no named border will be shown.
> # LABEL - Show named border
> # SOURCE - Show named border with link to open the source code
> widget.dev.namedBorder=SOURCE
> # Command template to open file with editor
> # For intellij IDEA use: idea ${sourceLocation}
> widget.dev.cmd.openSourceFile=idea ${sourceLocation}{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)