A few cleanups, nothing major and no real functionality changes

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@525960 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
David E. Jones
2007-04-05 21:16:55 +00:00
parent 04d01a9262
commit 544ea7410f
5 changed files with 22 additions and 43 deletions
@@ -57,7 +57,8 @@ under the License.
</entity-options>
</drop-down>
</field>
<field name="submitButton" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field>
<field name="submitButton" use-when="exampleFeature==null" title="${uiLabelMap.CommonCreate}" widget-style="smallSubmit"><submit button-type="button"/></field>
<field name="submitButton" use-when="exampleFeature!=null" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field>
</form>
<!-- ExampleFeatureAppl -->
@@ -127,6 +128,7 @@ under the License.
</drop-down>
</field>
<field name="description" title="${uiLabelMap.CommonDescription}"/>
<field name="noConditionFind"><hidden value="Y"/><!-- if this isn't there then with all fields empty no query will be done --></field>
<field name="submitButton" title="${uiLabelMap.CommonLookup}" widget-style="smallSubmit"><submit button-type="button"/></field>
</form>
<form name="LookupListExampleFeature" list-name="listIt" title="" type="list"
@@ -24,9 +24,7 @@ under the License.
default-title-style="tableheadtext" default-widget-style="tabletext" default-tooltip-style="tabletext"
paginate-target="FindExample">
<actions>
<entity-condition entity-name="Example">
<order-by field-name="description"/>
</entity-condition>
<entity-condition entity-name="Example"><order-by field-name="description"/></entity-condition>
</actions>
<field name="exampleId" title="${uiLabelMap.ExampleExampleId}" widget-style="buttontext">
@@ -58,7 +56,7 @@ under the License.
</entity-options>
</drop-down>
</field>
<field use-when="example==null" name="statusId" title="${uiLabelMap.CommonStatus}" widget-style="selectBox">
<field name="statusId" use-when="example==null" title="${uiLabelMap.CommonStatus}" widget-style="selectBox">
<drop-down allow-empty="false">
<entity-options entity-name="StatusItem" description="${description}">
<entity-constraint name="statusTypeId" value="EXAMPLE_STATUS"/>
@@ -66,17 +64,18 @@ under the License.
</entity-options>
</drop-down>
</field>
<field use-when="example!=null" name="statusId" title="${uiLabelMap.CommonStatus}" widget-style="selectBox">
<field name="statusId" use-when="example!=null" title="${uiLabelMap.CommonStatus}" widget-style="selectBox">
<drop-down allow-empty="false" current-description="${currentStatus.description}">
<entity-options entity-name="StatusValidChangeToDetail" key-field-name="statusIdTo" description="${transitionName} (${description})">
<entity-constraint name="statusId" value="${example.statusId}"/>
<entity-constraint name="statusId" env-name="example.statusId"/>
<entity-order-by field-name="sequenceId"/>
</entity-options>
</drop-down>
</field>
<field name="description" title="${uiLabelMap.CommonDescription}"/>
<field name="submitButton" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field>
<field name="submitButton" use-when="example==null" title="${uiLabelMap.CommonCreate}" widget-style="smallSubmit"><submit button-type="button"/></field>
<field name="submitButton" use-when="example!=null" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field>
</form>
<!-- ExampleItem -->