svn commit: r802797 - /ofbiz/trunk/framework/common/widget/PortalPageForms.xml

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

svn commit: r802797 - /ofbiz/trunk/framework/common/widget/PortalPageForms.xml

hansbak-2
Author: hansbak
Date: Mon Aug 10 13:57:53 2009
New Revision: 802797

URL: http://svn.apache.org/viewvc?rev=802797&view=rev
Log:
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(&quot;PORTLET_&quot;.concat(portalPortletId)).equals(&quot;PORTLET_&quot;.concat(portalPortletId))?helpUrlsMap.MYPORTAL_showPortalPage:helpUrlsMap.(&quot;PORTLET_&quot;.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>