git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@487467 13f79535-47bb-0310-9956-ffa450edef68
435 lines
28 KiB
XML
435 lines
28 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">
|
|
<!-- DataResource forms -->
|
|
<form name="FindDataResource" target="findDataResource" type="single"
|
|
default-title-style="tableheadtext" default-tooltip-style="tabletext" default-widget-style="inputBox">
|
|
<field name="noConditionFind"><hidden value="Y"/></field>
|
|
<field name="dataResourceId"><text-find default-option="contains" ignore-case="true"/></field>
|
|
<field name="dataResourceName"><text-find default-option="contains" ignore-case="true"/></field>
|
|
<field name="dataResourceTypeId">
|
|
<drop-down allow-empty="true">
|
|
<entity-options description="${description}" entity-name="DataResourceType" key-field-name="dataResourceTypeId"/>
|
|
</drop-down>
|
|
</field>
|
|
<field name="mimeTypeId" position="2">
|
|
<drop-down allow-empty="true">
|
|
<entity-options description="${description}" entity-name="MimeType" key-field-name="mimeTypeId"/>
|
|
</drop-down>
|
|
</field>
|
|
<field name="statusId">
|
|
<drop-down allow-empty="true">
|
|
<entity-options description="${description}" entity-name="StatusItem">
|
|
<entity-constraint name="statusTypeId" operator="equals" value="CONTENT_STATUS"/>
|
|
</entity-options>
|
|
</drop-down>
|
|
</field>
|
|
<field name="localeString" position="2">
|
|
<drop-down allow-empty="true">
|
|
<entity-options entity-name="CountryCode" description="${countryName} [${countryCode}]" key-field-name="countryCode"/>
|
|
</drop-down>
|
|
</field>
|
|
<field name="createdByUserLogin" position="1"><lookup target-form-name="LookupPerson"/></field>
|
|
<field name="dataCategoryId" position="2">
|
|
<drop-down allow-empty="true">
|
|
<entity-options description="${categoryName}" entity-name="DataCategory"/>
|
|
</drop-down>
|
|
</field>
|
|
<field name="searchButton" widget-style="smallSubmit"><submit button-type="button"/></field>
|
|
</form>
|
|
|
|
<form name="ListDataResource" paginate-target="findDataResource" type="list" list-name="listIt"
|
|
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="DataResource"/>
|
|
<field-map field-name="orderBy" value="dataResourceId"/>
|
|
</service>
|
|
</actions>
|
|
<field name="dataResourceId"><hidden/></field>
|
|
<field name="dataResourceName" widget-style="tabletext">
|
|
<display-entity entity-name="DataResource" description="${dataResourceName}" key-field-name="dataResourceId">
|
|
<sub-hyperlink target="editDataResource?dataResourceId=${dataResourceId}" description="[${dataResourceId}]" link-style="buttontext"/>
|
|
</display-entity>
|
|
</field>
|
|
<field name="dataResourceTypeId"><display-entity entity-name="DataResourceType" description="${description}"></display-entity></field>
|
|
<field name="mimeTypeId"><display-entity entity-name="MimeType" description="${description}"></display-entity></field>
|
|
<field name="statusId"><display-entity entity-name="StatusItem" description="${description}"></display-entity></field>
|
|
<field name="localeString"><display-entity entity-name="CountryCode" description="${countryName}[${countryCode}]" key-field-name="countryCode"></display-entity></field>
|
|
<field name="createdByUserLogin"><display-entity also-hidden="false" entity-name="PartyNameView" key-field-name="partyId" description="${groupName}${firstName} ${lastName}"/></field>
|
|
<field name="dataCategoryId"><display-entity entity-name="DataCategory" description="${categoryName}[${datacategoryId}]"></display-entity></field>
|
|
</form>
|
|
|
|
<form name="LookupDataResource" target="LookupDataResource" title="" type="single"
|
|
default-title-style="tableheadtext" default-tooltip-style="tabletext" default-widget-style="inputBox">
|
|
<auto-fields-entity entity-name="DataResource" default-field-type="find"/>
|
|
<field name="submitButton" title="Lookup" widget-style="smallSubmit"><submit button-type="button"/></field>
|
|
</form>
|
|
<form name="ListLookupDataResource" extends="ListDataResource" paginate-target="LookupDataResource" type="list"
|
|
list-name="listIt" default-widget-style="tabletext">
|
|
<actions>
|
|
<service service-name="performFind" result-map-list-name="listIt">
|
|
<field-map field-name="inputFields" env-name="parameters"/>
|
|
<field-map field-name="entityName" value="DataResource"/>
|
|
<field-map field-name="orderBy" value="dataResourceId"/>
|
|
</service>
|
|
</actions>
|
|
<field name="dataResourceId">
|
|
<hyperlink also-hidden="false" target-type="plain" description="${dataResourceId}" target="javascript:set_value('${dataResourceId}')"/>
|
|
</field>
|
|
<field name="dataResourceName" title="Name"><display/></field>
|
|
</form>
|
|
<form name="mruLookupDataResource" default-entity-name="DataResource" list-name="mruList" target="" title="" type="list"
|
|
default-title-style="tableheadtext" default-tooltip-style="tabletext" default-widget-style="display">
|
|
<field name="contentId" title="Id" widget-style="buttontext">
|
|
<hyperlink also-hidden="false" target-type="plain" description="${dataResourceId}" target="javascript:set_value('${dataResourceId}')"/>
|
|
</field>
|
|
<field name="dataResourceName" title="Name" widget-style="buttontext"><display/></field>
|
|
<field name="dataCategoryId" title="Category" widget-style="buttontext"><display/></field>
|
|
</form>
|
|
<form name="EditDataResource" target="updateDataResource" title="" type="single" default-title-style="tableheadtext"
|
|
default-tooltip-style="tabletext" default-widget-style="inputBox" default-map-name="currentValue">
|
|
<actions>
|
|
<entity-one entity-name="StatusItem" value-name="currentStatus" auto-field-map="false">
|
|
<field-map field-name="statusId" env-name="currentValue.statusId"/>
|
|
</entity-one>
|
|
</actions>
|
|
<alt-target use-when="currentValue==null" target="createDataResource"/>
|
|
<auto-fields-entity entity-name="DataResource" default-field-type="edit"/>
|
|
<field use-when="currentValue!=null" name="dataResourceId" tooltip="${uiLabelMap.CommonNotModifRecreat}" widget-style="tabletext"><display/></field>
|
|
<field use-when="currentValue==null&&dataResourceId==null" name="dataResourceId"><ignored/></field>
|
|
<field use-when="currentValue==null&&dataResourceId!=null" name="dataResourceId" widget-style="tabletext"><display description="${uiLabelMap.CommonCannotBeFound}: [${dataResourceId}]" also-hidden="false"/></field>
|
|
<field name="dataResourceTypeId">
|
|
<drop-down allow-empty="true">
|
|
<entity-options description="${description}" entity-name="DataResourceType" key-field-name="dataResourceTypeId"/>
|
|
</drop-down>
|
|
</field>
|
|
<field name="dataTemplateTypeId">
|
|
<drop-down allow-empty="true">
|
|
<entity-options description="${description}" entity-name="DataTemplateType" key-field-name="dataTemplateTypeId"/>
|
|
</drop-down>
|
|
</field>
|
|
<field name="statusId" use-when="currentValue==null"><ignored/></field>
|
|
<field name="statusId" use-when="currentValue!=null" widget-style="selectBox">
|
|
<drop-down allow-empty="false" current-description="${currentStatus.description}">
|
|
<entity-options entity-name="StatusValidChangeToDetail" key-field-name="statusIdTo" description="${transitionName} (${description})">
|
|
<entity-constraint name="statusId" value="${currentValue.statusId}"/>
|
|
<entity-order-by field-name="sequenceId"/>
|
|
</entity-options>
|
|
</drop-down>
|
|
</field>
|
|
<field name="dataCategoryId">
|
|
<drop-down allow-empty="true">
|
|
<list-options list-name="dataCategoryList" key-name="dataCategoryId" description="${categoryName}"/>
|
|
</drop-down>
|
|
</field>
|
|
<field name="mimeTypeId">
|
|
<drop-down allow-empty="true">
|
|
<entity-options description="${mimeTypeId} - ${description}" entity-name="MimeType" key-field-name="mimeTypeId">
|
|
<entity-order-by field-name="mimeTypeId"/>
|
|
</entity-options>
|
|
</drop-down>
|
|
</field>
|
|
<field name="characterSetId">
|
|
<drop-down allow-empty="true">
|
|
<entity-options description="${description}" entity-name="CharacterSet" key-field-name="characterSetId"/>
|
|
</drop-down>
|
|
</field>
|
|
<field name="createButton" title="${uiLabelMap.CommonCreate}" use-when="currentValue==null" widget-style="smallSubmit"><submit button-type="button"/></field>
|
|
<field name="updateButton" title="${uiLabelMap.CommonUpdate}" use-when="currentValue!=null" widget-style="smallSubmit"><submit button-type="button"/></field>
|
|
</form>
|
|
<form name="DataResourceMaster" target="createDataResource" title="" type="single" default-map-name="currentValue"
|
|
default-title-style="tableheadtext" default-tooltip-style="tabletext" default-widget-style="inputBox">
|
|
<auto-fields-entity entity-name="DataResource" default-field-type="edit"/>
|
|
<field name="dataResourceId"></field>
|
|
<field name="dataResourceTypeId">
|
|
<drop-down allow-empty="true">
|
|
<entity-options description="${description}" entity-name="DataResourceType" key-field-name="dataResourceTypeId"/>
|
|
</drop-down>
|
|
</field>
|
|
<field name="dataTemplateTypeId">
|
|
<drop-down allow-empty="true">
|
|
<entity-options description="${description}" entity-name="DataTemplateType" key-field-name="dataTemplateTypeId"/>
|
|
</drop-down>
|
|
</field>
|
|
<field name="statusId">
|
|
<drop-down allow-empty="true">
|
|
<entity-options description="${description}" entity-name="StatusItem" key-field-name="statusId">
|
|
<entity-constraint name="statusTypeId" value="CONTENT_STATUS"/>
|
|
<entity-order-by field-name="sequenceId"/>
|
|
</entity-options>
|
|
</drop-down>
|
|
</field>
|
|
<field name="dataCategoryId">
|
|
<drop-down allow-empty="true">
|
|
<list-options list-name="dataCategoryList" key-name="dataCategoryId" description="${categoryName}"/>
|
|
</drop-down>
|
|
</field>
|
|
<field name="mimeTypeId">
|
|
<drop-down allow-empty="true">
|
|
<entity-options description="${mimeTypeId} - ${description}" entity-name="MimeType" key-field-name="mimeTypeId">
|
|
<entity-order-by field-name="mimeTypeId"/>
|
|
</entity-options>
|
|
</drop-down>
|
|
</field>
|
|
<field name="characterSetId">
|
|
<drop-down allow-empty="true">
|
|
<entity-options description="${description}" entity-name="CharacterSet" key-field-name="characterSetId"/>
|
|
</drop-down>
|
|
</field>
|
|
<field name="createdDate"><display/></field>
|
|
<field name="lastModifiedDate"><display/></field>
|
|
<field name="createdByUserLogin"><display/></field>
|
|
<field name="lastModifiedByUserLogin"><display/></field>
|
|
</form>
|
|
<!--
|
|
use-when="(dataResource != void) && (dataResource.dataResourceId != void) && (dataResource.dataResourceId.length()>0)"
|
|
-->
|
|
<form name="AddDataResource" target="createDataResource" title="" type="single"
|
|
default-title-style="tableheadtext" default-tooltip-style="tabletext" default-widget-style="inputBox"
|
|
extends="DataResourceMaster">
|
|
<field name="dataResourceId"><text/></field>
|
|
<field name="submitButton" title="${uiLabelMap.CommonCreate}" widget-style="smallSubmit"><submit button-type="button"/></field>
|
|
<field name="objectInfo" title="URL"/>
|
|
<field name="mode"><hidden value="CREATE"/></field>
|
|
</form>
|
|
<form
|
|
name="AddDataResourceText" target="createDataResourceAndText" title="" type="single"
|
|
default-title-style="tableheadtext" default-tooltip-style="tabletext" default-widget-style="inputBox"
|
|
extends="DataResourceMaster">
|
|
<field name="dataResourceId"><text/></field>
|
|
<field name="dataResourceTypeId"><hidden value="ELECTRONIC_TEXT"/></field>
|
|
<field name="dataResourceTypeIdDisplay" title="Type Id" field-name="dataResourceTypeId">
|
|
<display description="ELECTRONIC_TEXT" also-hidden="false"/>
|
|
</field>
|
|
<field name="textData" id-name="textData"><textarea rows="20" cols="120"/></field>
|
|
<field name="submitButton" title="${uiLabelMap.CommonCreate}" widget-style="smallSubmit"><submit button-type="button"/></field>
|
|
</form>
|
|
<form name="AddDataResourceUrl" target="createDataResourceUrl" title="" type="single"
|
|
default-title-style="tableheadtext" default-tooltip-style="tabletext" default-widget-style="inputBox"
|
|
extends="DataResourceMaster">
|
|
<field name="dataResourceId"><text/></field>
|
|
<field name="objectInfo" title="URL"><text/></field>
|
|
<field name="dataResourceTypeId"><hidden value="URL_RESOURCE"/></field>
|
|
<field name="dataResourceTypeIdDisplay" title="Type Id" field-name="dataResourceTypeId">
|
|
<display description="URL_RESOURCE" also-hidden="false"/>
|
|
</field>
|
|
<field name="submitButton" title="${uiLabelMap.CommonCreate}" widget-style="smallSubmit"><submit button-type="button"/></field>
|
|
</form>
|
|
<form name="AddDataResourceUpload" target="createDataResourceUpload" title="" type="single"
|
|
default-title-style="tableheadtext" default-tooltip-style="tabletext" default-widget-style="inputBox"
|
|
extends="DataResourceMaster">
|
|
<field name="dataResourceId"><display description="${dataResource.dataResourceId}"/></field>
|
|
<field name="dataResourceTypeId"><hidden value="IMAGE_OBJECT"/></field>
|
|
<field name="dataResourceTypeIdDisplay" title="Type Id" field-name="dataResourceTypeId">
|
|
<display description="IMAGE_OBJECT" also-hidden="false"/>
|
|
</field>
|
|
<field name="submitButton" title="${uiLabelMap.CommonCreate}" widget-style="smallSubmit"><submit button-type="button"/></field>
|
|
<field name="objectInfo" title="Uploaded File"><display/></field>
|
|
</form>
|
|
<form name="EditDataResourceText" target="updateDataResourceText" title="" type="single"
|
|
default-title-style="tableheadtext" default-tooltip-style="tabletext" default-widget-style="inputBox"
|
|
extends="DataResourceMaster">
|
|
<field name="dataResourceId"><display/></field>
|
|
<field name="dataResourceTypeId"><hidden value="ELECTRONIC_TEXT"/></field>
|
|
<field name="dataResourceTypeIdDisplay" title="Type Id" field-name="dataResourceTypeId">
|
|
<display description="ELECTRONIC_TEXT" also-hidden="false"/>
|
|
</field>
|
|
<field name="textData" id-name="textData"><textarea rows="20" cols="120"/> </field>
|
|
<field name="submitButton" title="${uiLabelMap.CommonCreate}" widget-style="smallSubmit"><submit button-type="button"/></field>
|
|
</form>
|
|
<form name="EditDataResourceUpload" target="updateDataResourceUpload" title="" type="single"
|
|
default-title-style="tableheadtext" default-tooltip-style="tabletext" default-widget-style="inputBox"
|
|
extends="DataResourceMaster">
|
|
<field name="dataResourceId"><display/></field>
|
|
<field name="dataResourceTypeId"><hidden value="IMAGE_OBJECT"/></field>
|
|
<field name="dataResourceTypeIdDisplay" title="Type Id" field-name="dataResourceTypeId">
|
|
<display description="IMAGE_OBJECT" also-hidden="false"/>
|
|
</field>
|
|
<field name="submitButton" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field>
|
|
<field name="objectInfo" title="Uploaded File"><display/></field>
|
|
</form>
|
|
<form name="EditDataResourceUrl" target="updateDataResourceUrl" title="" type="single"
|
|
default-title-style="tableheadtext" default-tooltip-style="tabletext" default-widget-style="inputBox"
|
|
extends="AddDataResourceUrl">
|
|
<field name="objectInfo" title="URL"><text/></field>
|
|
</form>
|
|
<form name="ImageUpload" target="uploadImage" title="" type="upload"
|
|
default-title-style="tableheadtext" default-tooltip-style="tabletext" default-widget-style="inputBox">
|
|
<field name="dataResourceId" widget-style="tabletext"><display/></field>
|
|
<field name="objectInfo" widget-style="tabletext"><display description="${currentValue.objectInfo}"/></field>
|
|
<field name="imageData" entity-name="ImageDataResource"><file/></field>
|
|
<field name="submitButton" title="${uiLabelMap.CommonUpload}" widget-style="smallSubmit"><submit button-type="button"/></field>
|
|
</form>
|
|
<!-- DataResourceAttribute forms -->
|
|
<form name="AddDataResourceAttribute"
|
|
default-title-style="tableheadtext"
|
|
default-tooltip-style="tabletext" default-widget-style="inputBox"
|
|
target="addDataResourceAttribute" title="" type="single">
|
|
<auto-fields-service service-name="createDataResourceAttribute"/>
|
|
<field name="dataResourceId" title="" widget-style="tabletext" map-name="currentValue"><display/></field>
|
|
<field name="submitButton" title="${uiLabelMap.CommonAdd}" widget-style="smallSubmit"><submit button-type="button"/></field>
|
|
</form>
|
|
<form name="ListDataResourceAttribute"
|
|
default-title-style="tableheadtext"
|
|
default-tooltip-style="tabletext" default-widget-style="tabletext"
|
|
list-name="dataResourceAttribute"
|
|
target="updateDataResourceAttribute" title="" type="list">
|
|
<actions>
|
|
<service service-name="performFind" result-map-list-name="listIt">
|
|
<field-map field-name="inputFields" env-name="parameters"/>
|
|
<field-map field-name="entityName" env-name="entityName" value="DataResourceAttribute"/>
|
|
</service>
|
|
</actions>
|
|
<auto-fields-service service-name="updateDataResourceAttribute" default-field-type="display"/>
|
|
<field name="attrValue" widget-style="tabletext"><text/></field>
|
|
<field name="submitButton" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field>
|
|
<field name="deleteLink" title="" widget-style="buttontext">
|
|
<hyperlink also-hidden="false" description="${uiLabelMap.CommonDelete}" target="removeDataResourceAttribute?dataResourceId=${dataResourceId}&attrName=${attrName}"/>
|
|
</field>
|
|
</form>
|
|
|
|
<!-- DataResourceRole forms -->
|
|
<form name="AddDataResourceRole"
|
|
default-title-style="tableheadtext"
|
|
default-tooltip-style="tabletext" default-widget-style="inputBox"
|
|
target="addDataResourceRole" title="" type="single">
|
|
<auto-fields-entity entity-name="DataResourceRole"/>
|
|
<field name="dataResourceId" title="" widget-style="tabletext" map-name="currentValue"><display/></field>
|
|
<field name="partyId" title="" widget-style="tabletext"><lookup target-form-name="LookupPerson"/></field>
|
|
<field name="roleTypeId" widget-style="selectBox">
|
|
<drop-down allow-empty="true">
|
|
<entity-options description="${description}" entity-name="RoleType" key-field-name="roleTypeId"/>
|
|
</drop-down>
|
|
</field>
|
|
<field name="submitButton" title="${uiLabelMap.CommonAdd}" widget-style="smallSubmit"><submit button-type="button"/></field>
|
|
</form>
|
|
<form name="ListDataResourceRole" list-name="dataResourceRole" target="updateDataResourceRole" title="" type="list"
|
|
default-title-style="tableheadtext" default-tooltip-style="tabletext" default-widget-style="inputBox">
|
|
<actions>
|
|
<service service-name="performFind" result-map-list-name="listIt">
|
|
<field-map field-name="inputFields" env-name="parameters"/>
|
|
<field-map field-name="entityName" env-name="entityName" value="DataResourceRole"/>
|
|
</service>
|
|
</actions>
|
|
<auto-fields-service service-name="updateDataResourceRole" default-field-type="display"/>
|
|
<field name="thruDate" widget-style="buttontext"><date-time/></field>
|
|
<field name="submitButton" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field>
|
|
<field name="deleteLink" title="" widget-style="buttontext">
|
|
<hyperlink also-hidden="false" description="[${uiLabelMap.CommonDelete}]" target="removeDataResourceRole?dataResourceId=${dataResourceId}&roleTypeId=${roleTypeId}&partyId=${partyId}&fromDate=${fromDate}"/>
|
|
</field>
|
|
</form>
|
|
|
|
<!-- DataResourceProductFeature forms -->
|
|
<form name="AddDataResourceProductFeature" target="createDataResourceProductFeature" title="" type="single"
|
|
default-title-style="tableheadtext" default-tooltip-style="tabletext" default-widget-style="inputBox">
|
|
<auto-fields-service service-name="createProductFeatureDataResource"/>
|
|
<field name="dataResourceId" widget-style="tabletext" map-name="currentValue"><display/></field>
|
|
<field name="productFeatureId" widget-style="buttontext"><lookup target-form-name="LookupProductFeature"/></field>
|
|
<field name="submitButton" title="${uiLabelMap.CommonAdd}" widget-style="smallSubmit"><submit button-type="button"/></field>
|
|
</form>
|
|
<form name="ListDataResourceProductFeature" list-name="productFeatureDataResource" target="" title="" type="list"
|
|
default-title-style="tableheadtext" default-tooltip-style="tabletext" default-widget-style="tabletext">
|
|
<actions>
|
|
<service service-name="performFind" result-map-list-name="listIt">
|
|
<field-map field-name="inputFields" env-name="parameters"/>
|
|
<field-map field-name="entityName" env-name="entityName" value="ProductFeatureDataResource"/>
|
|
</service>
|
|
</actions>
|
|
<auto-fields-entity entity-name="ProductFeatureDataResource" default-field-type="display"/>
|
|
<field name="deleteLink" title="" widget-style="buttontext">
|
|
<hyperlink also-hidden="false" description="${uiLabelMap.CommonDelete}" target="removeDataResourceProductFeature?dataResourceId=${dataResourceId}&productFeatureId=${productFeatureId}"/>
|
|
</field>
|
|
</form>
|
|
<form name="lookupProductFeature" target="LookupProductFeature" title="" type="single"
|
|
default-title-style="tableheadtext" default-tooltip-style="tabletext" default-widget-style="inputBox">
|
|
<auto-fields-entity entity-name="ProductFeature" default-field-type="find"/>
|
|
<field name="productFeatureTypeId">
|
|
<drop-down allow-empty="true">
|
|
<entity-options description="${description}" entity-name="ProductFeatureType">
|
|
<entity-order-by field-name="description"/>
|
|
</entity-options>
|
|
</drop-down>
|
|
</field>
|
|
<field name="productFeatureCategoryId">
|
|
<drop-down allow-empty="true">
|
|
<entity-options description="${description}" entity-name="ProductFeatureCategory">
|
|
<entity-order-by field-name="description"/>
|
|
</entity-options>
|
|
</drop-down>
|
|
</field>
|
|
<field name="submitButton" title="${uiLabelMap.CommonLookup}" widget-style="smallSubmit"><submit button-type="button"/></field>
|
|
</form>
|
|
<form name="listLookupProductFeature" list-name="entityList" paginate-target="LookupProductFeature" title="" type="list"
|
|
default-title-style="tableheadtext" default-tooltip-style="tabletext" default-widget-style="display">
|
|
<auto-fields-entity entity-name="ProductFeature" default-field-type="display"/>
|
|
<field name="productFeatureId" title="" widget-style="buttontext">
|
|
<hyperlink also-hidden="false" target-type="plain" description="${productFeatureId}" target="javascript:set_value('${productFeatureId}')"/>
|
|
</field>
|
|
</form>
|
|
<form name="mruLookupProductFeature" default-entity-name="ProductFeature"
|
|
default-title-style="tableheadtext" default-tooltip-style="tabletext" default-widget-style="display"
|
|
list-name="mruList" target="" title="" type="list">
|
|
<field name="contentId" title="Id" widget-style="buttontext">
|
|
<hyperlink also-hidden="false" target-type="plain" description="${productFeatureId}" target="javascript:set_value('${productFeatureId}')"/>
|
|
</field>
|
|
<field name="description" title="Name" widget-style="buttontext"><display/></field>
|
|
<field name="productFeatureTypeId" title="Type" widget-style="buttontext"><display/></field>
|
|
</form>
|
|
|
|
<!-- ElectronicText forms -->
|
|
<form name="EditElectronicText" target="updateElectronicText" title="" type="single" default-map-name="electronicText"
|
|
default-title-style="tableheadtext" default-tooltip-style="tabletext" default-widget-style="inputBox">
|
|
<!--auto-fields-service service-name="updateElectronicText"/-->
|
|
<actions>
|
|
<entity-one entity-name="ElectronicText" value-name="electronicText"/>
|
|
</actions>
|
|
<field name="dataResourceId" title="" widget-style="buttontext"><display also-hidden="true"/></field>
|
|
<field name="textData" widget-style="buttontext"><textarea cols="120" rows="24"/></field>
|
|
<field name="submitButton" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field>
|
|
</form>
|
|
<form name="AddElectronicText" target="addElectronicText" title="" type="single"
|
|
default-title-style="tableheadtext" default-tooltip-style="tabletext" default-widget-style="inputBox">
|
|
<auto-fields-service service-name="createElectronicText"/>
|
|
<field name="dataResourceId" title="" widget-style="buttontext" map-name="currentValue"><display also-hidden="true"/></field>
|
|
<field name="textData" widget-style="buttontext"><textarea cols="120" rows="24"/></field>
|
|
<field name="submitButton" title="${uiLabelMap.CommonAdd}" widget-style="smallSubmit"><submit button-type="button"/></field>
|
|
</form>
|
|
|
|
<!-- Html forms -->
|
|
<form name="AddHtmlText" target="addHtmlText" title="" type="single"
|
|
default-title-style="tableheadtext" default-tooltip-style="tabletext" default-widget-style="inputBox">
|
|
<auto-fields-entity entity-name="ElectronicText"/>
|
|
<field name="dataResourceId" title="" widget-style="buttontext" map-name="currentValue"><display/></field>
|
|
<field name="textData" id-name="textData"><textarea rows="24" cols="120"/></field>
|
|
<field name="submitButton" title="${uiLabelMap.CommonAdd}" widget-style="smallSubmit"><submit button-type="button"/></field>
|
|
</form>
|
|
<form name="EditHtmlText" target="updateHtmlText" title="" type="single" default-map-name="electronicText"
|
|
default-title-style="tableheadtext" default-tooltip-style="tabletext" default-widget-style="inputBox">
|
|
<actions>
|
|
<entity-one entity-name="ElectronicText" value-name="electronicText"/>
|
|
</actions>
|
|
<auto-fields-entity entity-name="ElectronicText"/>
|
|
<field name="dataResourceId" title="" widget-style="buttontext"><display/></field>
|
|
<field name="textData" id-name="textData"><textarea cols="120" rows="20" visual-editor-enable="true"/></field>
|
|
<field name="submitButton" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field>
|
|
</form>
|
|
</forms>
|