Author: buscob
Date: Sun Oct 17 06:53:18 2010
New Revision: 1023426
URL: http://svn.apache.org/viewvc?rev=1023426&view=rev
Log:
Portlets attributes are now put directly in the context and not in the
attributeMap.
Modified:
ofbiz/trunk/applications/commonext/widget/SystemInfoForms.xml
ofbiz/trunk/applications/order/widget/ordermgr/CustRequestForms.xml
ofbiz/trunk/applications/order/widget/ordermgr/OrderForms.xml
ofbiz/trunk/applications/party/widget/partymgr/CommunicationEventForms.xml
ofbiz/trunk/applications/workeffort/widget/CalendarForms.xml
Modified: ofbiz/trunk/applications/commonext/widget/SystemInfoForms.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/commonext/widget/SystemInfoForms.xml?rev=1023426&r1=1023425&r2=1023426&view=diff
==============================================================================
--- ofbiz/trunk/applications/commonext/widget/SystemInfoForms.xml (original)
+++ ofbiz/trunk/applications/commonext/widget/SystemInfoForms.xml Sun Oct 17
06:53:18 2010
@@ -29,11 +29,11 @@ under the License.
<form name="EditSysInfoPortletParams" extends="CommonPortletEdit"
extends-resource="component://common/widget/PortletEditForms.xml">
<field name="dummy" title="BLOCK the following
notifications:"><display/></field>
- <field name="allNotifications"
entry-name="attributeMap.allNotifications"><check/></field>
- <field name="email" entry-name="attributeMap.email"><check/></field>
- <field name="internalNotes"
entry-name="attributeMap.internalNotes"><check/></field>
- <field name="telephoneForwards"
entry-name="attributeMap.telephoneForwards"><check/></field>
- <field name="taskAssignment"
entry-name="attributeMap.taskAssignment"><check/></field>
+ <field name="allNotifications"><check/></field>
+ <field name="email"><check/></field>
+ <field name="internalNotes"><check/></field>
+ <field name="telephoneForwards"><check/></field>
+ <field name="taskAssignment"><check/></field>
<field name="updateButton"><submit/></field>
</form>
Modified: ofbiz/trunk/applications/order/widget/ordermgr/CustRequestForms.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/widget/ordermgr/CustRequestForms.xml?rev=1023426&r1=1023425&r2=1023426&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/widget/ordermgr/CustRequestForms.xml
(original)
+++ ofbiz/trunk/applications/order/widget/ordermgr/CustRequestForms.xml Sun Oct
17 06:53:18 2010
@@ -633,14 +633,14 @@ under the License.
</field>
</form>
<form name="EditCustReqStatusId" extends="CommonPortletEdit"
extends-resource="component://common/widget/PortletEditForms.xml">
- <field name="statusGroup" entry-name="attributeMap.statusGroup">
+ <field name="statusGroup">
<drop-down>
<option key="OPEN" description="Open"/>
<option key="COMPLETED" description="Completed"/>
<option key="CANCELLED" description="Cancelled"/>
</drop-down>
</field>
- <field name="otherContacts"
entry-name="attributeMap.otherContacts"><drop-down allow-empty="false"><option
key="Y" description="Yes"/><option key="N"
description="No"/></drop-down></field>
+ <field name="otherContacts"><drop-down allow-empty="false"><option
key="Y" description="Yes"/><option key="N"
description="No"/></drop-down></field>
<field name="saveButton"><submit/></field>
</form>
<form name="ListCustRequests" type="list" list-name="custRequests"
odd-row-style="alternate-row" default-table-style="basic-table hover-bar"
target="updaterequest">
Modified: ofbiz/trunk/applications/order/widget/ordermgr/OrderForms.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/widget/ordermgr/OrderForms.xml?rev=1023426&r1=1023425&r2=1023426&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/widget/ordermgr/OrderForms.xml (original)
+++ ofbiz/trunk/applications/order/widget/ordermgr/OrderForms.xml Sun Oct 17
06:53:18 2010
@@ -176,7 +176,7 @@ under the License.
<!-- Forms Specific to portlet -->
<form name="EditOrderByCustomer" extends="CommonPortletEdit"
extends-resource="component://common/widget/PortletEditForms.xml">
- <field name="statusId" entry-name="attributeMap.statusId">
+ <field name="statusId">
<drop-down>
<option key="ORDER_CREATED"
description="${uiLabelMap.CommonCreated}"/>
<option key="ORDER_PROCESSING"
description="${uiLabelMap.CommonProcessing}"/>
@@ -188,7 +188,7 @@ under the License.
<option key="ORDER_CANDELLED"
description="${uiLabelMap.CommonCancelled}"/>
</drop-down>
</field>
- <field name="roleTypeId" entry-name="attributeMap.roleTypeId">
+ <field name="roleTypeId">
<drop-down>
<option key="PLACING_CUSTOMER"
description="${uiLabelMap.MyPortalPlacingCustomer}"/>
<option key="SHIP_TO_CUSTOMER"
description="${uiLabelMap.MyPortalShipToCustomer}"/>
Modified:
ofbiz/trunk/applications/party/widget/partymgr/CommunicationEventForms.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/widget/partymgr/CommunicationEventForms.xml?rev=1023426&r1=1023425&r2=1023426&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/widget/partymgr/CommunicationEventForms.xml
(original)
+++ ofbiz/trunk/applications/party/widget/partymgr/CommunicationEventForms.xml
Sun Oct 17 06:53:18 2010
@@ -981,10 +981,10 @@ under the License.
</field>
</form>
<form name="EditCommPortletParams" extends="CommonPortletEdit"
extends-resource="component://common/widget/PortletEditForms.xml">
- <field name="communicationPartyId"
entry-name="attributeMap.communicationPartyId">
+ <field name="communicationPartyId">
<lookup target-form-name="LookupPartyName"
default-value="${userLogin.partyId}"/>
</field>
- <field name="internalNotesOnly"
entry-name="attributeMap.internalNotesOnly">
+ <field name="internalNotesOnly">
<drop-down>
<option key="false" description="${uiLabelMap.CommonFalse}"/>
<option key="true" description="${uiLabelMap.CommonTrue}"/>
Modified: ofbiz/trunk/applications/workeffort/widget/CalendarForms.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/widget/CalendarForms.xml?rev=1023426&r1=1023425&r2=1023426&view=diff
==============================================================================
--- ofbiz/trunk/applications/workeffort/widget/CalendarForms.xml (original)
+++ ofbiz/trunk/applications/workeffort/widget/CalendarForms.xml Sun Oct 17
06:53:18 2010
@@ -58,7 +58,7 @@ under the License.
</form>
<!-- Forms Specific to portlet -->
<form name="EditCalendar" extends="CommonPortletEdit"
extends-resource="component://common/widget/PortletEditForms.xml">
- <field name="initialView" entry-name="attributeMap.initialView">
+ <field name="initialView">
<drop-down>
<option key="day"
description="${uiLabelMap.WorkEffortDayView}"/>
<option key="week"
description="${uiLabelMap.WorkEffortWeekView}"/>