git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@731876 13f79535-47bb-0310-9956-ffa450edef68
69 lines
4.4 KiB
XML
69 lines
4.4 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="ListPortalPages" type="list" list-name="portalPages" paginate-target="ManagePortalPages" separate-columns="true"
|
|
odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar">
|
|
<actions>
|
|
<script location="component://common/webcommon/WEB-INF/actions/includes/ListPortalPages.groovy"/>
|
|
</actions>
|
|
|
|
<field name="portalPageId" title="${uiLabelMap.CommonId}" sort-field="true">
|
|
<hyperlink description="${portalPageId}" target="editPortalPage?portalPageId=${portalPageId}&parentPortalPageId=${parameters.parentPortalPageId}"/>
|
|
</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" env-name="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" env-name="portalPageId"/>
|
|
</in-place-editor>
|
|
</display>
|
|
</field>
|
|
<field name="originalPortalPageId"><display-entity entity-name="PortalPage" description="${portalPageName} [${portalPageId}]" key-field-name="portalPageId"/></field>
|
|
<field name="deleteLink" use-when="!ownerUserLoginId.equals("_NA_")" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext" >
|
|
<hyperlink target="deletePortalPage?portalPageId=${portalPageId}&parentPortalPageId=${parameters.parentPortalPageId}" description="${uiLabelMap.CommonDelete}"/>
|
|
</field>
|
|
<field name="deleteLink" use-when="!ownerUserLoginId.equals("_NA_")&&originalPortalPageId!=null" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext" >
|
|
<hyperlink target="deletePortalPage?portalPageId=${portalPageId}&parentPortalPageId=${parameters.parentPortalPageId}" description="${uiLabelMap.CommonRevertPortalPage}"/>
|
|
</field>
|
|
</form>
|
|
|
|
<form name="NewPortalPage" type="single" target="createPortalPage?mainPortalPageId=${parameters.mainPortalPageId}">
|
|
<field name="parentPortalPageId"><hidden value="${parameters.parentPortalPageId}"/></field>
|
|
<field name="portalPageName" parameter-name="portalPageName"><text/></field>
|
|
<field name="description"><text/></field>
|
|
<field name="submitButton" title="${uiLabelMap.CommonCreate}"><submit button-type="button"/></field>
|
|
</form>
|
|
|
|
|
|
</forms>
|