git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@942406 13f79535-47bb-0310-9956-ffa450edef68
84 lines
5.3 KiB
XML
84 lines
5.3 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="FindPortalPages" type="single" target="FindPortalPage" default-entity-name="PortalPage">
|
|
<field name="noConditionFind"><hidden value="Y"/><!-- if this isn't there then with all fields empty no query will be done --></field>
|
|
<field name="portalPageIdSearch" position="1" title="${uiLabelMap.CommonId}"><text-find/></field>
|
|
<field name="originalPortalPageId" position="2"><text-find/></field>
|
|
<field name="portalPageName" title="${uiLabelMap.CommonName}"><text-find/></field>
|
|
<field name="parentPortalPageIdSearch" position="2" title="${uiLabelMap.FormFieldTitle_parentPortalPageId}"><text-find/></field>
|
|
<field name="description"><text-find/></field>
|
|
<field name="securityGroupId" position="2" title="${uiLabelMap.PartySecurityGroupId}"><text-find/></field>
|
|
<field name="searchButton" title="${uiLabelMap.CommonFind}" widget-style="smallSubmit"><submit button-type="button"/></field>
|
|
</form>
|
|
|
|
<form name="ListPortalPages" type="list" list-name="pagesList" paginate-target="FindPortalPage" separate-columns="true"
|
|
odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar">
|
|
<field name="portalPageId" title="${uiLabelMap.CommonEdit}">
|
|
<hyperlink description="${portalPageId}" target="EditPortalPage">
|
|
<parameter param-name="portalPageId"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="portalPageName" use-when="ownerUserLoginId.equals("_NA_")" title="${uiLabelMap.CommonName}" sort-field="true"><display/></field>
|
|
<field name="portalPageName" use-when="!ownerUserLoginId.equals("_NA_")" title="${uiLabelMap.CommonName}" id-name="portalPageName" widget-style="tabletext" sort-field="true">
|
|
<display>
|
|
<in-place-editor url="updatePortalPage" cancel-control="button" saving-text="Updating..." text-between-controls=" ">
|
|
<simple-editor/>
|
|
<field-map field-name="portalPageId" from-field="portalPageId"/>
|
|
</in-place-editor>
|
|
</display>
|
|
</field>
|
|
<field name="description" use-when="ownerUserLoginId.equals("_NA_")" title="${uiLabelMap.CommonDescription}" widget-style="tabletext" sort-field="true"><display/></field>
|
|
<field name="description" use-when="!ownerUserLoginId.equals("_NA_")" title="${uiLabelMap.CommonDescription}" id-name="portalDescription" widget-style="tabletext" sort-field="true">
|
|
<display>
|
|
<in-place-editor url="updatePortalPage" cancel-control="button" saving-text="Updating..." text-between-controls=" ">
|
|
<simple-editor/>
|
|
<field-map field-name="portalPageId" from-field="portalPageId"/>
|
|
</in-place-editor>
|
|
</display>
|
|
</field>
|
|
<field name="sequenceNum"><display/></field>
|
|
<field name="originalPortalPageId"><display/></field>
|
|
<field name="ownerUserLoginId"><display/></field>
|
|
<field name="deleteLink" use-when="originalPortalPageId!=null" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext" >
|
|
<hyperlink target="deletePortalPage" description="${uiLabelMap.CommonRevertPortalPage}">
|
|
<parameter param-name="portalPageId"/>
|
|
<parameter param-name="parentPortalPageId" from-field="parameters.parentPortalPageId"/>
|
|
</hyperlink>
|
|
</field>
|
|
</form>
|
|
|
|
<form name="EditPortalPage" type="single" target="${targetPortalPage}" default-map-name="portalPage">
|
|
<field name="portalPageId" use-when="!"${portalPage.portalPageId}".equals("")" position="1"><display/></field>
|
|
<field name="portalPageId" use-when=""${portalPage.portalPageId}".equals("")" position="1"><text/></field>
|
|
<field name="originalPortalPageId" position="2"><text/></field>
|
|
<field name="ownerUserLoginId" ><lookup target-form-name="LookupUserLoginAndPartyDetails"/></field>
|
|
<field name="parentPortalPageId" position="2"><text/></field>
|
|
<field name="portalPageName"><text/></field>
|
|
<field name="description" position="2"><text size="60"/></field>
|
|
<field name="sequenceNum"><text/></field>
|
|
<field name="saveButton" position="2"><submit button-type="button"/></field>
|
|
</form>
|
|
|
|
</forms>
|