You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Wai (JIRA)" <ji...@apache.org> on 2016/04/16 17:01:25 UTC

[jira] [Created] (OFBIZ-7014)
listing always contain empty first entry

Wai created OFBIZ-7014:
--------------------------

             Summary: <form type=list> listing always contain empty first entry
                 Key: OFBIZ-7014
                 URL: https://issues.apache.org/jira/browse/OFBIZ-7014
             Project: OFBiz
          Issue Type: Bug
          Components: ALL COMPONENTS
    Affects Versions: Trunk
            Reporter: Wai


when creating a <grid type=list> or <form type=list> to display a listing. the first entry is alway empty

Use this sample form to see the symptom:

    <grid name="TestForm" type="list" list-name="theList">
        <actions>
            <entity-condition entity-name="Product" list="theList">
                <condition-list combine="and">
                    <condition-expr field-name="productTypeId" operator="equals" value="FINISHED_GOOD"/>
                </condition-list>
            </entity-condition>
        </actions>
        <row-actions>
            <set field="productId" value="${previousItem.productId}" />
            <set field="productTypeId" value="${previousItem.productTypeId}" />
        </row-actions>
        <field name="productId" title="productIdTitle"> <display/> </field>
        <field name="productTypeId" title="productTypeIdTitle"> <display/> </field>
    </grid>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)