Removes dependencies from Example component to Party component by replacing Party lookups by Geo lookups.

Removes useless specific party lookups in Example component

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@999390 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jacques Le Roux
2010-09-21 13:07:57 +00:00
parent c48b8741de
commit 8172640f9a
6 changed files with 41 additions and 216 deletions
@@ -298,18 +298,18 @@ under the License.
<!-- Lookup Examples -->
<form name="ExampleLookupFields" type="single" title="">
<!-- Old style lookup (in a popup window) -->
<field name="partyId" title="${uiLabelMap.CommonPartyId}">
<lookup target-form-name="LookupPartyName" presentation="window"/>
<!-- Old style lookup (in a popup window), geoIdAlone because we have another geoId below -->
<field name="geoIdAlone" title="${uiLabelMap.CommonGeoId}">
<lookup target-form-name="LookupGeo" presentation="window"/>
</field>
<!-- Standard lookup (in a layer)-->
<!-- passes the name in one field and the id in another, this does not work yet with autcompletion, WIP... -->
<field name="partyName" title="${uiLabelMap.CommonPartyGroupName}">
<lookup target-form-name="LookupPartyGroupByName" description-field-name="partyGroupId"/>
<field name="geoName" title="${uiLabelMap.CommonGeoName}">
<lookup target-form-name="LookupGeoName" description-field-name="geoId"/>
</field>
<!-- This field may be hidden and the name rendered in partyName using default-value if partyGroupId is known when loading the form-->
<field name="partyGroupId" title="${uiLabelMap.CommonPartyId}"><text/></field><!-- the text field is only used for rendering. In the "real life" you would use the hidden field commented below to pass the data to the request -->
<!--field name="partyGroupId"><hidden/></field-->
<field name="geoId" title="${uiLabelMap.CommonGeoId}"><text/></field><!-- the text field is only used for rendering. In the "real life" you would use the hidden field commented below to pass the data to the request -->
<!--field name="geoId"><hidden/></field-->
<sort-order>
<field-group>
<sort-field name="partyId"/>