| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| --> |
| |
| <forms xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-form.xsd"> |
| <!-- Geo Lookup forms --> |
| <form name="LookupGeo" target="LookupGeo" title="" type="single"> |
| <field name="geoId" title="${uiLabelMap.SegmentGroupGeoId}"><text-find/></field> |
| <field name="geoTypeId" title="${uiLabelMap.SegmentGroupGeoTypeId}"> |
| <drop-down allow-empty="true"> |
| <entity-options key-field-name="geoTypeId" entity-name="GeoType" description="${description}"> |
| <entity-order-by field-name="description"/> |
| </entity-options> |
| </drop-down> |
| </field> |
| <field name="geoName" title="${uiLabelMap.SegmentGroupGeoName}"><text-find/></field> |
| <field name="geoCode" title="${uiLabelMap.SegmentGroupGeoCode}"><text-find/></field> |
| <field name="geoSecCode" title="${uiLabelMap.SegmentGroupGeoSecCode}"><text-find/></field> |
| <field name="geoAbbr" title="${uiLabelMap.SegmentGroupGeoAbbr}"><text-find/></field> |
| <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="listLookupGeo" list-name="listIt" target="" title="" type="list" paginate-target="LookupGeo"> |
| <actions> |
| <service service-name="performFind" result-map-name="result" result-map-list-name="listIt"> |
| <field-map field-name="inputFields" env-name="parameters"/> |
| <field-map field-name="entityName" value="Geo"/> |
| <field-map field-name="orderBy" value="geoName"/> |
| </service> |
| </actions> |
| <field name="geoId" widget-style="buttontext" title="${uiLabelMap.SegmentGroupGeoId}"> |
| <hyperlink also-hidden="false" target-type="plain" description="${geoId}" target="javascript:set_value('${geoId}')"/> |
| </field> |
| <field name="geoTypeId" title="${uiLabelMap.SegmentGroupGeoTypeId}"> |
| <display-entity key-field-name="geoTypeId" entity-name="GeoType" description="${description}"/> |
| </field> |
| <field name="geoName" title="${uiLabelMap.SegmentGroupGeoName}"><display/></field> |
| <field name="geoCode" title="${uiLabelMap.SegmentGroupGeoCode}"><display/></field> |
| <field name="geoSecCode" title="${uiLabelMap.SegmentGroupGeoSecCode}"><display/></field> |
| <field name="geoAbbr" title="${uiLabelMap.SegmentGroupGeoAbbr}"><display/></field> |
| </form> |
| </forms> |