Example component updated to use operator substitution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@772722 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Adrian Crum
2009-05-07 17:38:06 +00:00
parent 981b88a7e2
commit a2d620ba6c
3 changed files with 9 additions and 9 deletions
@@ -54,8 +54,8 @@ under the License.
<alt-target use-when="exampleFeature==null" target="createExampleFeature"/>
<auto-fields-service service-name="updateExampleFeature"/>
<field use-when="exampleFeature!=null" name="exampleFeatureId" title="${uiLabelMap.ExampleExampleFeatureId}" tooltip="${uiLabelMap.CommonNotModifRecreat}"><display/></field>
<field use-when="exampleFeature==null&amp;&amp;exampleFeatureId==null" name="exampleFeatureId" title="${uiLabelMap.ExampleExampleFeatureId}"><ignored/></field>
<field use-when="exampleFeature==null&amp;&amp;exampleFeatureId!=null" name="exampleFeatureId" title="${uiLabelMap.ExampleExampleFeatureId}"><display description="${uiLabelMap.CommonCannotBeFound}: [${exampleFeatureId}]" also-hidden="false"/></field>
<field use-when="exampleFeature==null @and exampleFeatureId==null" name="exampleFeatureId" title="${uiLabelMap.ExampleExampleFeatureId}"><ignored/></field>
<field use-when="exampleFeature==null @and exampleFeatureId!=null" name="exampleFeatureId" title="${uiLabelMap.ExampleExampleFeatureId}"><display description="${uiLabelMap.CommonCannotBeFound}: [${exampleFeatureId}]" also-hidden="false"/></field>
<field name="description" title="${uiLabelMap.CommonDescription}"/>
<field name="featureSourceEnumId" title="${uiLabelMap.ExampleFeatureSource}">
<drop-down allow-empty="false">