git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@514106 13f79535-47bb-0310-9956-ffa450edef68
129 lines
8.8 KiB
XML
129 lines
8.8 KiB
XML
<?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://www.ofbiz.org/dtds/widget-form.xsd">
|
|
|
|
<form name="ListPartyClassifications" type="list" target="updatePartyClassification">
|
|
<actions>
|
|
<entity-and entity-name="PartyClassification">
|
|
<field-map field-name="partyId"/>
|
|
</entity-and>
|
|
</actions>
|
|
<field name="partyId" title="${uiLabelMap.PartyPartyId}"><display/></field>
|
|
<field name="partyClassificationGroupId" title="${uiLabelMap.Description} [${uiLabelMap.PartyClassificationGroupId}]">
|
|
<display-entity entity-name="PartyClassificationGroup" key-field-name="partyClassificationGroupId" description="${description}&nbsp;[${partyClassificationGroupId}]"/>
|
|
</field>
|
|
<field name="fromDate" title="${uiLabelMap.CommonFromDate}"><display/></field>
|
|
<field name="thruDate" title="${uiLabelMap.CommonThruDate}"><date-time/></field>
|
|
<field name="submitButton" title="${uiLabelMap.CommonSave}" widget-style="smallSubmit"><submit button-type="text-link"/></field>
|
|
<field name="deleteLink" title="" widget-style="smallSubmit">
|
|
<hyperlink target="deletePartyClassification?partyClassificationGroupId=${partyClassificationGroupId}&partyId=${partyId}&fromDate=${fromDate}"
|
|
description="${uiLabelMap.CommonDelete}" also-hidden="false"/>
|
|
</field>
|
|
</form>
|
|
|
|
<form name="ListPartyClassificationGroups" type="list">
|
|
<actions>
|
|
<entity-condition entity-name="PartyClassificationGroup"/>
|
|
</actions>
|
|
<field name="partyClassificationGroupId" title="${uiLabelMap.PartyClassificationGroupId}">
|
|
<hyperlink target="EditPartyClassificationGroup?partyClassificationGroupId=${partyClassificationGroupId}"
|
|
description="${partyClassificationGroupId}" also-hidden="false"/>
|
|
</field>
|
|
<field name="partyClassificationTypeId">
|
|
<display-entity entity-name="PartyClassificationType" key-field-name="partyClassificationTypeId" description="${description}"/>
|
|
</field>
|
|
<field name="parentGroupId" title="${uiLabelMap.ParentGroupId}"><display/></field>
|
|
<field name="description" title="${uiLabelMap.Description}"><display/></field>
|
|
<field name="deleteLink" title="" widget-style="smallSubmit">
|
|
<hyperlink target="deletePartyClassificationGroup?partyClassificationGroupId=${partyClassificationGroupId}"
|
|
description="${uiLabelMap.CommonDelete}" also-hidden="false"/>
|
|
</field>
|
|
</form>
|
|
|
|
<form name="EditPartyClassificationGroup" type="single" target="updatePartyClassificationGroup" default-map-name="partyClassificationGroup">
|
|
<alt-target use-when="partyClassificationGroup==null" target="createPartyClassificationGroup"/>
|
|
<field use-when="partyClassificationGroup!=null" name="partyClassificationGroupId" title="${uiLabelMap.PartyClassificationGroupId}" tooltip="${uiLabelMap.CommonNotModifRecreat}"><display/></field>
|
|
<field use-when="partyClassificationGroup==null&&partyClassificationGroupId==null" name="partyClassificationGroupId" title="${uiLabelMap.PartyClassificationGroupId}"><ignored/></field>
|
|
<field use-when="partyClassificationGroup==null&&partyClassificationGroupId!=null" name="partyClassificationGroupId" title="${uiLabelMap.PartyClassificationGroupId}" tooltip="${uiLabelMap.CommonCannotBeFound}: [${partyClassificationGroupId}]"><display/></field>
|
|
<field name="partyClassificationTypeId">
|
|
<drop-down>
|
|
<entity-options description="${description}" entity-name="PartyClassificationType" key-field-name="partyClassificationTypeId">
|
|
<entity-order-by field-name="description"/>
|
|
</entity-options>
|
|
</drop-down>
|
|
</field>
|
|
<field name="parentGroupId" title="${uiLabelMap.ParentGroupId}"><lookup target-form-name="LookupPartyClassificationGroup"/></field>
|
|
<field name="description" title="${uiLabelMap.Description}"><text size="55"/></field>
|
|
<field name="submitButton" title="${uiLabelMap.CommonSave}" widget-style="smallSubmit"><submit button-type="text-link"/></field>
|
|
</form>
|
|
|
|
<form name="AddPartyClassification" type="single" target="createPartyClassification" default-map-name="partyClassification">
|
|
<field name="partyId" title="${uiLabelMap.PartyPartyId}"><display/></field>
|
|
<field name="partyClassificationGroupId" title="${uiLabelMap.PartyClassificationGroupId}">
|
|
<drop-down>
|
|
<entity-options description="${description}" entity-name="PartyClassificationGroup" key-field-name="partyClassificationGroupId">
|
|
<entity-order-by field-name="description"/>
|
|
</entity-options>
|
|
</drop-down>
|
|
</field>
|
|
<field name="fromDate" title="${uiLabelMap.CommonFromDate}"><date-time/></field>
|
|
<field name="thruDate" title="${uiLabelMap.CommonThruDate}"><date-time/></field>
|
|
<field name="submitButton" title="${uiLabelMap.CommonSave}" widget-style="smallSubmit"><submit button-type="text-link"/></field>
|
|
<!-- <field name="cancelLink" title="" widget-style="smallSubmit"><hyperlink target="${donePage}?segmentGroupId=${segmentGroupId}" also-hidden="false" description="${uiLabelMap.CommonCancelDone}"/></field> -->
|
|
</form>
|
|
|
|
<form name="AddPartyClassificationParty" type="single" target="createPartyClassificationParty" default-map-name="partyClassification">
|
|
<field name="partyClassificationGroupId" title="${uiLabelMap.PartyClassificationGroupId}">
|
|
<display-entity entity-name="PartyClassificationGroup" description="${description}" key-field-name="partyClassificationGroupId"/>
|
|
</field>
|
|
<field name="partyId" title="${uiLabelMap.PartyPartyId}"><lookup target-form-name="LookupPartyName"/></field>
|
|
<field name="fromDate" title="${uiLabelMap.CommonFromDate}"><date-time/></field>
|
|
<field name="thruDate" title="${uiLabelMap.CommonThruDate}"><date-time/></field>
|
|
<field name="submitButton" title="${uiLabelMap.CommonSave}" widget-style="smallSubmit"><submit button-type="text-link"/></field>
|
|
<!-- <field name="cancelLink" title="" widget-style="smallSubmit"><hyperlink target="${donePage}?segmentGroupId=${segmentGroupId}" also-hidden="false" description="${uiLabelMap.CommonCancelDone}"/></field> -->
|
|
</form>
|
|
|
|
<form name="ListPartyClassificationGroupParties" type="list" target="updatePartyClassificationParty">
|
|
<actions>
|
|
<entity-and entity-name="PartyClassification">
|
|
<field-map field-name="partyClassificationGroupId"/>
|
|
</entity-and>
|
|
</actions>
|
|
<field name="partyClassificationGroupId" title="${uiLabelMap.Description} [${uiLabelMap.PartyClassificationGroupId}]">
|
|
<display-entity entity-name="PartyClassificationGroup" key-field-name="partyClassificationGroupId" description="${description}&nbsp;[${partyClassificationGroupId}]"/>
|
|
</field>
|
|
<field name="partyId" title="${uiLabelMap.Party}">
|
|
<display-entity entity-name="PartyNameView" key-field-name="partyId" description="${firstName} ${lastName} ${groupName}">
|
|
<sub-hyperlink target="viewprofile?partyId=${partyId}" description="${partyId}" link-style="smallSubmit"/>
|
|
</display-entity>
|
|
</field>
|
|
<field name="fromDate" title="${uiLabelMap.CommonFromDate}"><display/></field>
|
|
<field name="thruDate" title="${uiLabelMap.CommonThruDate}"><date-time/></field>
|
|
<field name="submitButton" title="${uiLabelMap.CommonSave}" widget-style="smallSubmit"><submit button-type="text-link"/></field>
|
|
<field name="deleteLink" title="" widget-style="smallSubmit">
|
|
<hyperlink target="deletePartyClassification?partyClassificationGroupId=${partyClassificationGroupId}&partyId=${partyId}&fromDate=${fromDate}"
|
|
description="${uiLabelMap.CommonDelete}" also-hidden="false"/>
|
|
</field>
|
|
</form>
|
|
|
|
</forms>
|