svn commit: r429910 - /incubator/ofbiz/trunk/applications/party/widget/partymgr/LookupScreens.xml

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

svn commit: r429910 - /incubator/ofbiz/trunk/applications/party/widget/partymgr/LookupScreens.xml

sichen
Author: sichen
Date: Tue Aug  8 18:10:45 2006
New Revision: 429910

URL: http://svn.apache.org/viewvc?rev=429910&view=rev
Log:
Set some default values for lookup pages to avoid a negative first page

Modified:
    incubator/ofbiz/trunk/applications/party/widget/partymgr/LookupScreens.xml

Modified: incubator/ofbiz/trunk/applications/party/widget/partymgr/LookupScreens.xml
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/party/widget/partymgr/LookupScreens.xml?rev=429910&r1=429909&r2=429910&view=diff
==============================================================================
--- incubator/ofbiz/trunk/applications/party/widget/partymgr/LookupScreens.xml (original)
+++ incubator/ofbiz/trunk/applications/party/widget/partymgr/LookupScreens.xml Tue Aug  8 18:10:45 2006
@@ -29,7 +29,7 @@
                 <property-map resource="PartyUiLabels" map-name="uiLabelMap" global="true"/>
                 <set field="title" value="${uiLabelMap.PartyLookupPartyByName}"/>
                 <set field="queryString" from-field="result.queryString"/>
-                <set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer"/>
+                <set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer" default-value="0"/>
                 <set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="20"/>
             </actions>
             <widgets>
@@ -82,7 +82,7 @@
                 <set field="title" value="${uiLabelMap.PartyLookupPartyAndUserLoginAndPerson}"/>
                 <set field="entityName" value="PartyAndUserLoginAndPerson"/>
                 <set field="queryString" from-field="result.queryString"/>
-                <set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer"/>
+                <set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer" default-value="0"/>
                 <set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="20"/>
             </actions>
             <widgets>
@@ -108,7 +108,7 @@
                 <set field="title" value="${uiLabelMap.PartyLookupPartyGroup}"/>
                 <set field="entityName" value="PartyGroup"/>
                 <set field="queryString" from-field="result.queryString"/>
-                <set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer"/>
+                <set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer" default-value="0"/>
                 <set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="20"/>
             </actions>
             <widgets>
@@ -135,7 +135,7 @@
 
                 <set field="title" value="${uiLabelMap.PartyLookupPartyClassificationGroup}"/>
                 <set field="queryString" from-field="result.queryString"/>
-                <set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer"/>
+                <set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer" default-value="0"/>
                 <set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="20"/>
             </actions>
             <widgets>