git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@724618 13f79535-47bb-0310-9956-ffa450edef68
79 lines
3.7 KiB
XML
79 lines
3.7 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="listIt" paginate-target="ManagePortalPages" default-entity-name="PortalPage" separate-columns="true"
|
|
odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar">
|
|
<actions>
|
|
<set field="sortField" from-field="parameters.sortField" default-value="portalPageId"/>
|
|
<entity-and entity-name="PortalPage" use-cache="true" list-name="listIt">
|
|
<field-map env-name="userLogin.userLoginId" field-name="ownerUserLoginId" />
|
|
<order-by field-name="${sortField}"/>
|
|
</entity-and>
|
|
</actions>
|
|
|
|
<field name="portalPageId" title="${uiLabelMap.CommonId}" sort-field="true">
|
|
<hyperlink description="${portalPageId}" target="dashboard?portalPageId=${portalPageId}&configurePortalPage=true"/>
|
|
</field>
|
|
<field name="portalName" title="${uiLabelMap.CommonName}" id-name="portalName" 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" 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="deleteLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext">
|
|
<hyperlink target="deletePortalPage?portalPageId=${portalPageId}&ownerUserLoginId=${userLogin.userLoginId}" description="${uiLabelMap.CommonDelete}"/>
|
|
</field>
|
|
</form>
|
|
|
|
<form name="NewPortalPage" type="single" target="createPortalPage" title="" default-map-name="PortalPagemap">
|
|
<actions>
|
|
<set from-field="userLogin.userLoginId" field="ownerUserLoginId"/>
|
|
</actions>
|
|
<auto-fields-service service-name="createPortalPage"/>
|
|
<field name="ownerUserLoginId">
|
|
<hidden/>
|
|
</field>
|
|
<field name="sequenceNum">
|
|
<hidden/>
|
|
</field>
|
|
|
|
<field name="portalName" title="${uiLabelMap.CommonName}">
|
|
<text/>
|
|
</field>
|
|
|
|
<field name="submitButton" title="${uiLabelMap.CommonCreate}"><submit button-type="button"/></field>
|
|
</form>
|
|
|
|
|
|
</forms>
|