Files
ofbiz-framework/framework/common/widget/LookupForms.xml
T
Jacopo Cappellato 6c1d55d4a8 Conversion from MIT to ASL2.0 for the files of the common component.
Many thanks to Ashish Vijaywargiya for the patch (Apache OFBIZ-87).

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@422421 13f79535-47bb-0310-9956-ffa450edef68
2006-07-16 09:47:46 +00:00

60 lines
3.5 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2001-2006 The Apache Software Foundation
Licensed 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://www.ofbiz.org/dtds/widget-form.xsd">
<!-- Geo Lookup forms -->
<form name="LookupGeo" target="LookupGeo" title="" type="single"
default-title-style="tableheadtext" default-tooltip-style="tabletext" default-widget-style="inputBox">
<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="" paginate-target="LookupGeo" title="" type="list"
default-title-style="tableheadtext" default-tooltip-style="tabletext" default-widget-style="tabletext">
<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>