Le 20/06/2015 21:49, Adrian Crum a écrit :
Please do not hard-code the widget default view size. Get the value from the widget.form.defaultViewSize property in widgets.properties.
Adiran you talk about this ?

--- ofbiz/trunk/applications/order/servicedef/services.xml (original)
+++ ofbiz/trunk/applications/order/servicedef/services.xml Sat Jun 20 19:43:49 2015
@@ -849,11 +849,11 @@ under the License.
          <!-- view and page fields -->
- <attribute name="viewIndex" type="Integer" mode="INOUT" optional="false"/> - <attribute name="viewSize" type="Integer" mode="INOUT" optional="false"/> + <attribute name="viewIndex" type="Integer" mode="INOUT" optional="true" default-value="0"/> + <attribute name="viewSize" type="Integer" mode="INOUT" optional="true" default-value="20"/> <attribute name="showAll" type="String" mode="INOUT" optional="true"/>

If is the case, it's exaclty the same reason that I set to default these value because are define in hard-code on link that call the findOrder from Party component.
I know, I just move the problem ;).

I open an issue to don't forget to close this problem definitively.

Nicolas

Reply via email to