Author: ashish
Date: Tue Nov 24 14:16:10 2009
New Revision: 883700
URL:
http://svn.apache.org/viewvc?rev=883700&view=revLog:
Lookup form will not show values by default it will show resultant list only on clicking Lookup button on the lookup form.
Thanks Akash for the contribution.
Special thanks to Pranay for commenting to do this improvement.
Modified:
ofbiz/trunk/applications/order/widget/ordermgr/FieldLookupForms.xml
ofbiz/trunk/applications/order/widget/ordermgr/LookupScreens.xml
Modified: ofbiz/trunk/applications/order/widget/ordermgr/FieldLookupForms.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/widget/ordermgr/FieldLookupForms.xml?rev=883700&r1=883699&r2=883700&view=diff==============================================================================
--- ofbiz/trunk/applications/order/widget/ordermgr/FieldLookupForms.xml (original)
+++ ofbiz/trunk/applications/order/widget/ordermgr/FieldLookupForms.xml Tue Nov 24 14:16:10 2009
@@ -148,7 +148,8 @@
header-row-style="header-row" default-table-style="basic-table">
<auto-fields-entity entity-name="OrderHeaderAndShipGroups" default-field-type="hidden" map-name="parameters"/>
<field name="orderId"><text-find/></field>
- <field name="orderTypeId"><hidden/></field>
+ <field name="orderTypeId"><hidden value="PURCHASE_ORDER"/></field>
+ <field name="roleTypeId"><hidden value="SHIP_FROM_VENDOR"/></field>
<field name="partyId"><text-find/></field>
<field name="shipmentMethodTypeId">
<drop-down allow-empty="true">
Modified: ofbiz/trunk/applications/order/widget/ordermgr/LookupScreens.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/widget/ordermgr/LookupScreens.xml?rev=883700&r1=883699&r2=883700&view=diff==============================================================================
--- ofbiz/trunk/applications/order/widget/ordermgr/LookupScreens.xml (original)
+++ ofbiz/trunk/applications/order/widget/ordermgr/LookupScreens.xml Tue Nov 24 14:16:10 2009
@@ -86,8 +86,6 @@
<actions>
<property-map resource="OrderUiLabels" map-name="uiLabelMap" global="true"/>
<set field="title" value="${uiLabelMap.PageTitleLookupPurchaseOrderHeaderAndShipInfo}"/>
- <set field="parameters.roleTypeId" to-scope="screen" default-value="SHIP_FROM_VENDOR"/>
- <set field="parameters.orderTypeId" to-scope="screen" default-value="PURCHASE_ORDER"/>
<set field="queryString" from-field="result.queryString"/>
<set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer"/>
<set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="20"/>