and memory performance if a cursor isn't being used on large result sets quite a bit. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@808820 13f79535-47bb-0310-9956-ffa450edef68
236 lines
12 KiB
XML
236 lines
12 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://ofbiz.apache.org/dtds/widget-form.xsd">
|
|
<form name="findBlogContent" default-entity-name="ContentAssocDataResourceViewFrom" target="CMSContentFind" title="" type="single"
|
|
default-title-style="tableheadtext" default-tooltip-style="tabletext" default-widget-style="inputBox">
|
|
<field name="caContentIdTo" title="${uiLabelMap.ContentPublishToContent}">
|
|
<drop-down>
|
|
<option key="OFBIZBLOGROOT" description="${uiLabelMap.ContentBlogs}"/>
|
|
<option key="OFBIZFORUMROOT" description="${uiLabelMap.ContentForums}"/>
|
|
</drop-down>
|
|
</field>
|
|
<field name="caMapKey">
|
|
<text-find/>
|
|
</field>
|
|
<field name="caContentAssocTypeId" title="${uiLabelMap.FormFieldTitle_contentAssocTypeId}">
|
|
<text-find/>
|
|
</field>
|
|
<field name="caFromDate" title="${uiLabelMap.CommonFromDate}">
|
|
<date-find/>
|
|
</field>
|
|
<field name="contentId" title="${uiLabelMap.ContentContent}">
|
|
<text-find/>
|
|
</field>
|
|
<field name="dataResourceId" title="${uiLabelMap.ContentDataResource}">
|
|
<text-find/>
|
|
</field>
|
|
<field name="contentName">
|
|
<text-find/>
|
|
</field>
|
|
<field name="submitButton" title="${uiLabelMap.CommonFind}" widget-style="smallSubmit">
|
|
<submit button-type="button"/>
|
|
</field>
|
|
<field name="createBlog" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext">
|
|
<hyperlink also-hidden="false" description="${uiLabelMap.CommonNew} ${uiLabelMap.ContentForum}" target="EditBlogArticle"/>
|
|
</field>
|
|
<field name="createForum" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext">
|
|
<hyperlink also-hidden="false" description="${uiLabelMap.CommonNew} ${uiLabelMap.ContentForum}" target="EditForumArticle"/>
|
|
</field>
|
|
</form>
|
|
|
|
<form name="listFindBlogContent" type="list" target=""
|
|
default-title-style="tableheadtext" default-widget-style="inputBox" default-tooltip-style="tabletext"
|
|
paginate-target="/CMSContentFind" view-size="20">
|
|
<actions>
|
|
<service service-name="performFind" result-map-list="listIt">
|
|
<field-map field-name="inputFields" from-field="requestParameters"/>
|
|
<field-map field-name="entityName" from-field="entityName"/>
|
|
<field-map field-name="viewIndex" from-field="viewIndex"/>
|
|
<field-map field-name="viewSize" from-field="viewSize"/>
|
|
</service>
|
|
</actions>
|
|
|
|
<field name="editContent" title="${uiLabelMap.CommonEmptyHeader}">
|
|
<hyperlink also-hidden="false" description="${uiLabelMap.CommonEdit}" target="CMSContentEdit">
|
|
<parameter param-name="contentId"/>
|
|
<parameter param-name="drDataResourceId"/>
|
|
<parameter param-name="contentIdTo"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="contentId" title="${uiLabelMap.ContentContent}">
|
|
<display/>
|
|
</field>
|
|
<field name="dataResourceId" title="${uiLabelMap.ContentDataResource}">
|
|
<display/>
|
|
</field>
|
|
<field name="contentName">
|
|
<display/>
|
|
</field>
|
|
</form>
|
|
|
|
<form name="AddBlogResponse" target="createBlogResponse" title="" type="single"
|
|
default-title-style="treeHeader" default-tooltip-style="tabletext" default-widget-style="inputBox">
|
|
<auto-fields-entity entity-name="ContentAssocDataResourceViewTo" default-field-type="hidden" map-name="rsp"/>
|
|
<field name="contentName" entry-name="contentName" map-name="rsp">
|
|
<text size="40"/>
|
|
</field>
|
|
<field name="description" map-name="rsp">
|
|
<textarea cols="40" rows="6"/>
|
|
</field>
|
|
<field name="textData" title="${uiLabelMap.EcommerceRespond}" map-name="rsp" widget-style="inputBox dojo-ResizableTextArea">
|
|
<textarea cols="60" rows="12"/>
|
|
</field>
|
|
<field name="statusId">
|
|
<radio no-current-selected-key="CTNT_INITIAL_DRAFT">
|
|
<option key="CTNT_PUBLISHED" description="${uiLabelMap.ContentBlogPost}"/>
|
|
<option key="CTNT_INITIAL_DRAFT" description="${uiLabelMap.EcommerceBlogPreview}"/>
|
|
</radio>
|
|
</field>
|
|
<field name="submitButton" title="${uiLabelMap.CommonSubmit}" widget-style="smallSubmit">
|
|
<submit button-type="button"/>
|
|
</field>
|
|
<field name="blogContentId" entry-name="blogContentId" map-name="rsp">
|
|
<hidden/>
|
|
</field>
|
|
<field name="articleContentId" entry-name="articleContentId" map-name="rsp">
|
|
<hidden/>
|
|
</field>
|
|
<field name="ownerContentId" entry-name="ownerContentId" map-name="rsp">
|
|
<hidden/>
|
|
</field>
|
|
<field name="contentIdFrom" entry-name="contentIdFrom" map-name="rsp">
|
|
<hidden/>
|
|
</field>
|
|
<field name="contentTypeId" entry-name="contentTypeId" map-name="rsp">
|
|
<hidden/>
|
|
</field>
|
|
<field name="contentAssocTypeId" entry-name="contentAssocTypeId" map-name="rsp">
|
|
<hidden/>
|
|
</field>
|
|
<field name="dataResourceTypeId" entry-name="dataResourceTypeId" map-name="rsp">
|
|
<hidden/>
|
|
</field>
|
|
<field name="contentPurposeTypeId" entry-name="contentPurposeTypeId" map-name="rsp">
|
|
<hidden/>
|
|
</field>
|
|
<field name="contentOperationId" entry-name="contentOperationId" map-name="rsp">
|
|
<hidden/>
|
|
</field>
|
|
<field name="partyId" entry-name="partyId" map-name="userLogin">
|
|
<hidden/>
|
|
</field>
|
|
<sort-order>
|
|
<sort-field name="contentName"/>
|
|
<sort-field name="description"/>
|
|
<sort-field name="textData"/>
|
|
<sort-field name="statusId"/>
|
|
<sort-field name="submitButton"/>
|
|
</sort-order>
|
|
</form>
|
|
|
|
<form name="EditBlogResponse" target="updateBlogResponse" title="" type="single"
|
|
default-title-style="treeHeader" default-tooltip-style="tabletext" default-widget-style="inputBox">
|
|
<auto-fields-entity entity-name="Content" default-field-type="hidden" map-name="content"/>
|
|
<auto-fields-entity entity-name="DataResource" default-field-type="hidden" map-name="dataResource"/>
|
|
<field name="contentName" entry-name="contentName" map-name="rsp">
|
|
<text size="40"/>
|
|
</field>
|
|
<field name="description">
|
|
<textarea cols="40" rows="6"/>
|
|
</field>
|
|
<field name="contentId" entry-name="contentId" map-name="parameters">
|
|
<display/>
|
|
</field>
|
|
<field name="articleContentId" entry-name="articleContentId" map-name="rsp">
|
|
<hidden/>
|
|
</field>
|
|
<field name="textData" title="${uiLabelMap.EcommerceRespond}" map-name="electronicText" widget-style="inputBox dojo-ResizableTextArea">
|
|
<textarea cols="60" rows="12"/>
|
|
</field>
|
|
<field name="statusId">
|
|
<radio no-current-selected-key="CTNT_INITIAL_DRAFT">
|
|
<option key="CTNT_PUBLISHED" description="${uiLabelMap.ContentBlogPost}"/>
|
|
<option key="CTNT_INITIAL_DRAFT" description="${uiLabelMap.EcommerceBlogPreview}"/>
|
|
</radio>
|
|
</field>
|
|
<field name="submitButton" title="${uiLabelMap.CommonSubmit}" widget-style="smallSubmit">
|
|
<submit button-type="button"/>
|
|
</field>
|
|
<field name="blogContentId" entry-name="blogContentId" map-name="rsp">
|
|
<hidden/>
|
|
</field>
|
|
<field name="contentPurposeTypeId" entry-name="contentPurposeTypeId" map-name="rsp">
|
|
<hidden/>
|
|
</field>
|
|
<field name="contentOperationId" entry-name="contentOperationId" map-name="rsp">
|
|
<hidden/>
|
|
</field>
|
|
<field name="partyId" entry-name="partyId" map-name="userLogin">
|
|
<hidden/>
|
|
</field>
|
|
<sort-order>
|
|
<sort-field name="contentId"/>
|
|
<sort-field name="contentName"/>
|
|
<sort-field name="description"/>
|
|
<sort-field name="textData"/>
|
|
<sort-field name="statusId"/>
|
|
<sort-field name="submitButton"/>
|
|
</sort-order>
|
|
</form>
|
|
|
|
<form name="EditArticle" target="createBlogArticle" title="" type="upload" skip-end="true" default-map-name="blogEntry"
|
|
default-title-style="treeHeader" default-tooltip-style="tabletext" default-widget-style="inputBox">
|
|
<alt-target use-when="contentId!=void" target="updateBlogArticle"/>
|
|
<field name="blogContentId"><hidden value="${parameters.blogContentId}"/></field>
|
|
<field name="contentId" title="${uiLabelMap.EcommerceBlogEntryId}" use-when="contentId!=void"><display/></field>
|
|
<field name="contentName"><text size="40"/></field>
|
|
<field name="description"><textarea cols="40" rows="2"/></field>
|
|
<field name="summaryData" title="${uiLabelMap.EcommerceSummary}" widget-style="inputBox dojo-ResizableTextArea"><textarea cols="60" rows="4"/></field>
|
|
<field name="articleData" title="${uiLabelMap.EcommerceBlogArticle}" widget-style="inputBox dojo-ResizableTextArea"><textarea cols="60" rows="12"/></field>
|
|
<field name="uploadedFile" title="${uiLabelMap.ContentImage}"><file size="25"/></field>
|
|
<field name="templateDataResourceId" title="${uiLabelMap.ContentTemplate}">
|
|
<drop-down>
|
|
<option key="BLOG_TPL_TOPLEFT" description="${uiLabelMap.EcommerceBlogTopLeft}"/>
|
|
<option key="BLOG_TPL_TOPCENTER" description="${uiLabelMap.EcommerceBlogTopCenter}"/>
|
|
</drop-down>
|
|
</field>
|
|
<field name="statusId" title="${uiLabelMap.CommonStatus}">
|
|
<drop-down no-current-selected-key="CTNT_INITIAL_DRAFT">
|
|
<option key="CTNT_PUBLISHED" description="${uiLabelMap.EcommerceBlogPublish}"/>
|
|
<option key="CTNT_INITIAL_DRAFT" description="${uiLabelMap.EcommerceBlogPreview}"/>
|
|
</drop-down>
|
|
</field>
|
|
<field name="submitButton" title="${uiLabelMap.CommonSubmit}" widget-style="smallSubmit"><submit button-type="button"/></field>
|
|
</form>
|
|
|
|
<form name="editFormSubmit" target="" title="" type="single" skip-start="true" skip-end="true"
|
|
default-title-style="treeHeader" default-tooltip-style="tabletext" default-widget-style="inputBox">
|
|
<field name="submitButton" title="${uiLabelMap.CommonSubmit}" widget-style="smallSubmit">
|
|
<submit button-type="button"/>
|
|
</field>
|
|
</form>
|
|
|
|
<form name="editFormEnd" target="" title="" type="single" skip-start="true"
|
|
default-title-style="treeHeader" default-tooltip-style="tabletext" default-widget-style="inputBox">
|
|
</form>
|
|
|
|
</forms>
|