improved menu widget for portal pages, reactivated menuitem override and various other improvements

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@744675 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Hans Bakker
2009-02-15 15:10:50 +00:00
parent 56ce285fc5
commit f43d2f1ecf
14 changed files with 211 additions and 218 deletions
@@ -43,8 +43,8 @@ under the License.
<set field="applicationMenuName" value="ExampleAppBar" global="true"/>
<set field="applicationMenuLocation" value="component://example/widget/example/ExampleMenus.xml" global="true"/>
<!--set field="appheaderTemplate" value="component://example/webapp/appheader.ftl"/-->
<set field="parameters.parentPortalPageId" value="EXAMPLE"/>
<script location="component://common/webcommon/WEB-INF/actions/includes/ListPortalPages.groovy"/>
<set field="parameters.parentPortalPageId" from-field="parameters.parentPortalPageId" default-value="EXAMPLE"/>
<script location="component://common/webcommon/WEB-INF/actions/includes/GetParentPortalPageId.groovy"/>
<set field="applicationTitle" value="${uiLabelMap.ExampleApplication}" global="true"/>
</actions>
<widgets>
@@ -180,7 +180,11 @@ under the License.
<section>
<actions>
<set field="parameters.portalPageId" value="EXAMPLE"/>
<script location="component://common/webcommon/WEB-INF/actions/includes/ShowPortalPage.groovy"/>
<entity-one entity-name="PortalPage" value-field="portalPage"/>
<get-related value-field="portalPage" relation-name="PortalPageColumn" list="portalPageColumns"/>
<entity-and entity-name="PortalPagePortletView" list="portalPagePortlets">
<field-map field-name="portalPageId" from-field="portalPage.portalPageId"/>
</entity-and>
</actions>
<widgets>
<include-screen name="FindExample" location="component://example/widget/example/ExampleScreens.xml"/>