git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@718185 13f79535-47bb-0310-9956-ffa450edef68
101 lines
4.7 KiB
XML
101 lines
4.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.
|
|
-->
|
|
|
|
<screens xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-screen.xsd">
|
|
|
|
<screen name="dashboard">
|
|
<section>
|
|
<actions>
|
|
<set field="portalPageId" from-field="parameters.portalPageId" default-value="DEFAULT"/>
|
|
<entity-one entity-name="PortalPage" value-name="currentPortalPage"/>
|
|
|
|
<entity-condition entity-name="PortalPage" list-name="portalPageList">
|
|
<condition-expr field-name="ownerUserLoginId" env-name="userLogin.userLoginId"/>
|
|
</entity-condition>
|
|
<set field="portalPages[]" from-field="selectedPortalPage"/>
|
|
|
|
<entity-condition entity-name="PortalPageColumn" list-name="portalPageColumnList">
|
|
<condition-expr field-name="portalPageId" env-name="portalPageId"/>
|
|
<order-by field-name="columnSeqId"/>
|
|
</entity-condition>
|
|
<entity-condition entity-name="PortalPagePortletView" list-name="portalPagePortletViewList">
|
|
<condition-expr field-name="portalPageId" env-name="portalPageId"/>
|
|
<order-by field-name="sequenceNum"/>
|
|
</entity-condition>
|
|
|
|
<set field="configurePortalPage" from-field="parameters.configurePortalPage"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<platform-specific><html><html-template location="component://common/webcommon/portal/portalPage.ftl"/></html></platform-specific>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="ManagePortalPages">
|
|
<section>
|
|
<widgets>
|
|
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<include-form name="ListPortalPages" location="component://common/widget/PortalPageForms.xml"/>
|
|
<include-form name="NewPortalPage" location="component://common/widget/PortalPageForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="AddPortlet">
|
|
<section>
|
|
<actions>
|
|
<entity-condition entity-name="PortalPortlet" list-name="portalPortlets"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<platform-specific><html><html-template location="component://common/webcommon/portal/listPortalPortlets.ftl"/></html></platform-specific>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="EditPortlet">
|
|
<section>
|
|
<actions>
|
|
<entity-one entity-name="PortalPortlet" value-name="portalPortlet"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<label style="h2">Edit Attributes for Portlet: ${portalPortlet.portletName}</label>
|
|
<include-form name="${portalPortlet.editFormName}" location="${portalPortlet.editFormLocation}"/>
|
|
<!-- <include-screen name="${portalPortlet.screenName}" location="${portalPortlet.screenLocation}"/> -->
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
</screens>
|