Added some examples of slightly more complex view entities, plus simplified some example forms based especially on the ExampleStatusItem view-entity; also cleaned up some names/titles; note that these are proof of concept examples to demonstrate and test the new functionality and are not yet functional
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792397 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -92,24 +92,6 @@ under the License.
|
||||
<key-map field-name="statusId"/>
|
||||
</relation>
|
||||
</entity>
|
||||
<view-entity entity-name="ExampleStatusDetail" package-name="org.ofbiz.example.example">
|
||||
<member-entity entity-alias="EXPL" entity-name="Example"/>
|
||||
<member-entity entity-alias="EXST" entity-name="ExampleStatus"/>
|
||||
<alias-all entity-alias="EXPL">
|
||||
<exclude field="statusId"/>
|
||||
</alias-all>
|
||||
<alias-all entity-alias="EXST"/>
|
||||
<alias entity-alias="EXPL" name="currentStatusId" field="statusId"/>
|
||||
<alias name="statusDelay">
|
||||
<complex-alias operator="-">
|
||||
<complex-alias-field entity-alias="EXST" field="statusDate"/>
|
||||
<complex-alias-field entity-alias="EXPL" field="exampleDate"/>
|
||||
</complex-alias>
|
||||
</alias>
|
||||
<view-link entity-alias="EXPL" rel-entity-alias="EXST">
|
||||
<key-map field-name="exampleId"/>
|
||||
</view-link>
|
||||
</view-entity>
|
||||
<entity entity-name="ExampleType"
|
||||
package-name="org.ofbiz.example.example"
|
||||
default-resource-name="ExampleEntityLabels"
|
||||
|
||||
Reference in New Issue
Block a user