Author: hansbak
Date: Sun Mar 21 04:06:54 2010
New Revision: 925725
URL: http://svn.apache.org/viewvc?rev=925725&view=rev
Log:
update related portlet links in the commext commponent
Modified:
ofbiz/trunk/applications/commonext/data/helpdata/HELP_SystemInfoNotes.xml
ofbiz/trunk/applications/commonext/widget/CommonScreens.xml
ofbiz/trunk/applications/commonext/widget/SystemInfoForms.xml
Modified:
ofbiz/trunk/applications/commonext/data/helpdata/HELP_SystemInfoNotes.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/commonext/data/helpdata/HELP_SystemInfoNotes.xml?rev=925725&r1=925724&r2=925725&view=diff
==============================================================================
--- ofbiz/trunk/applications/commonext/data/helpdata/HELP_SystemInfoNotes.xml
(original)
+++ ofbiz/trunk/applications/commonext/data/helpdata/HELP_SystemInfoNotes.xml
Sun Mar 21 04:06:54 2010
@@ -32,7 +32,7 @@
<para>These event can be notified to the user even when not
logged on to OFBiz by using a firefox plugin and when it changes the
employee is notified from within firefox </para>
<para>The plugin:
http://updatescanner.mozdev.org/en/index.html and it should check the following
url: (adjust to your requirements)
-
<![CDATA[https://localhost:8443/myportal/control/showPortlet?portalPortletId=SystemInfoNotes&USERNAME=admin&PASSWORD=ofbiz]]></para>
+
<![CDATA[https://localhost:8443/myportal/control/showPortletSimpleDecorator?portalPortletId=SystemInfoNotes&USERNAME=admin&PASSWORD=ofbiz]]></para>
<para> In the Flat Grey theme (only) notifications show in the
header when they are available. </para>
</listitem>
</orderedlist>
Modified: ofbiz/trunk/applications/commonext/widget/CommonScreens.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/commonext/widget/CommonScreens.xml?rev=925725&r1=925724&r2=925725&view=diff
==============================================================================
--- ofbiz/trunk/applications/commonext/widget/CommonScreens.xml (original)
+++ ofbiz/trunk/applications/commonext/widget/CommonScreens.xml Sun Mar 21
04:06:54 2010
@@ -39,7 +39,7 @@ under the License.
<set field="layoutSettings.suppressTab"
value="ofbizsetup"/><!-- diseable ofbiz setup by default -->
<!-- system info notes -->
<service service-name="getLastSystemInfoNote"
result-map="resultNote"/>
- <set field="linkStart"
value="/myportal/control/showPortletDecorator?portalPortletId="/>
+ <set field="linkStart"
value="/myportal/control/showPortletMainDecorator?portalPortletId="/>
<set field="layoutSettings.middleTopHeader" value="----------
${uiLabelMap.CommonLastSytemNotes} ----------"/>
<set field="layoutSettings.middleTopMessage1"
value="${groovy:resultNote.lastSystemInfoNote1!=null?resultNote.lastSystemInfoNote1.noteDateTime.toString().substring(0,16)
+ " " + resultNote.lastSystemInfoNote1.noteInfo:""}"/>
<set field="layoutSettings.middleTopLink1"
value="${linkStart}${resultNote.lastSystemInfoNote1.moreInfoPortletId}&id=${resultNote.lastSystemInfoNote1.moreInfoItemId}"/>
Modified: ofbiz/trunk/applications/commonext/widget/SystemInfoForms.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/commonext/widget/SystemInfoForms.xml?rev=925725&r1=925724&r2=925725&view=diff
==============================================================================
--- ofbiz/trunk/applications/commonext/widget/SystemInfoForms.xml (original)
+++ ofbiz/trunk/applications/commonext/widget/SystemInfoForms.xml Sun Mar 21
04:06:54 2010
@@ -24,7 +24,7 @@ under the License.
<form name="SystemInfoNotes" type="list" list-name="systemInfoNotes"
odd-row-style="alternate-row" header-row-style="header-row-2"
default-table-style="basic-table hover-bar">
<field name="noteDateTime"
title="${uiLabelMap.CommonExtDateInfoCreated}"><display
type="date-time"/></field>
- <field name="noteInfo"
title="${uiLabelMap.CommonExtSystemInfoNote}"><hyperlink
target="/myportal/control/showPortletDecorator?portalPortletId=${moreInfoPortletId}&id=${moreInfoItemId}"
target-type="inter-app" description="${noteInfo}"></hyperlink></field>
+ <field name="noteInfo"
title="${uiLabelMap.CommonExtSystemInfoNote}"><hyperlink
target="/myportal/control/showPortletMainDecorator?portalPortletId=${moreInfoPortletId}&id=${moreInfoItemId}"
target-type="inter-app" description="${noteInfo}"></hyperlink></field>
</form>
<form name="EditSysInfoPortletParams" extends="CommonPortletEdit"
extends-resource="component://common/widget/PortletEditForms.xml">
@@ -40,7 +40,7 @@ under the License.
<form name="SystemInfoStatus" type="list" list-name="systemInfoStatus"
odd-row-style="alternate-row" header-row-style="header-row-2"
default-table-style="basic-table hover-bar">
<field name="noteDateTime"
title="${uiLabelMap.CommonExtDateLastChanged}"><display
type="date-time"/></field>
- <field name="noteInfo"
title="${uiLabelMap.CommonExtSystemInfoStatus}"><hyperlink
target="/myportal/control/showPortletDecorator?portalPortletId=${moreInfoPortletId}"
target-type="inter-app" description="${noteInfo}"></hyperlink></field>
+ <field name="noteInfo"
title="${uiLabelMap.CommonExtSystemInfoStatus}"><hyperlink
target="/myportal/control/showPortletMainDecorator?portalPortletId=${moreInfoPortletId}"
target-type="inter-app" description="${noteInfo}"></hyperlink></field>
</form>
<form name="CreateSystemInfoNote" type="single"
target="createSystemInfoNote">