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

Rupert Howell commented on OFBIZ-707:
-------------------------------------

I have been working on this this morning and have a solution which is backward 
compatible. I've only completed the work on the Form Widgets and it's not ideal 
but I think it will have to do. 

The reason I say it's not ideal is because I would like this to use something 
similar to the makeLink method on the RequestHandler to make the link and 
create a properly constructed one without the need to add the /control part 
into the target. Below is the best I have been able to get it down to.
<hyperlink target="/control/viewparty?partyId=${partyId}" also-hidden="false" 
description="${uiLabelMap.ViewParty}" target-type="inter-app" 
webapp-name="party" />

Can anyone give me some advice as to the best way to go about this. I need to 
know what the url-mapping for the ControlServlet on the target webapp is and 
I'll be able to get it down to this which would be perfect...
<hyperlink target="viewparty?partyId=${partyId}" also-hidden="false" 
description="${uiLabelMap.ViewParty}" target-type="inter-app" 
webapp-name="party" />






> Inter webapp linking by name webapp name rather than mount-point
> ----------------------------------------------------------------
>
>                 Key: OFBIZ-707
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-707
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Improvement
>          Components: framework
>            Reporter: Rupert Howell
>            Priority: Minor
>
> For security reasons I don't necessarily want others to know how to find any 
> of the back-office webapps so I change the mount-points for all of them. I 
> then have to find each time that webapp is called in all the ftls, 
> Screen/Form/Menu widgets and replace them with this new value. A good example 
> is the number of times partymgr is called from the order module.
> I would like to investigate the best way to link using the webapp's name 
> rather than mount-point each time so only one change has to be made. I would 
> be happy to attempt to implement this - does anyone have any comments on this?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to