Author: hansbak
Date: Mon Aug 10 13:57:53 2009
New Revision: 802797
URL:
http://svn.apache.org/viewvc?rev=802797&view=revLog:
only show when porlet help screen if available, else show default my portal help screen
Modified:
ofbiz/trunk/framework/common/widget/PortalPageForms.xml
Modified: ofbiz/trunk/framework/common/widget/PortalPageForms.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/widget/PortalPageForms.xml?rev=802797&r1=802796&r2=802797&view=diff==============================================================================
--- ofbiz/trunk/framework/common/widget/PortalPageForms.xml (original)
+++ ofbiz/trunk/framework/common/widget/PortalPageForms.xml Mon Aug 10 13:57:53 2009
@@ -118,8 +118,11 @@
<form name="PortletList" type="list" list-name="portlets" separate-columns="true"
odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar">
+ <row-actions>
+ <set field="portletHelp" value="${groovy:helpUrlsMap.get("PORTLET_".concat(portalPortletId)).equals("PORTLET_".concat(portalPortletId))?helpUrlsMap.MYPORTAL_showPortalPage:helpUrlsMap.("PORTLET_".concat(portalPortletId))}"/>
+ </row-actions>
<field name="portletName">
- <hyperlink also-hidden="false" target-type="plain" target="${parameters.helpUrlPrefix}${helpUrlsMap.PORTLET_${portalPortletId}}${parameters.helpUrlSuffix}?decorator=printable" description="${portletName}" ></hyperlink>
+ <hyperlink also-hidden="false" target-type="plain" target="${parameters.helpUrlPrefix}${portletHelp}${parameters.helpUrlSuffix}?decorator=printable" description="${portletName}" ></hyperlink>
</field>
<field name="description"><display/></field>
</form>