created a new attribute on the menu widget: portal-page. With this change the example component is now changed back to use the menu widget again however also serving the portal page buttons
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@743639 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -40,9 +40,9 @@ under the License.
|
||||
<set field="layoutSettings.companyName" from-field="uiLabelMap.ExampleCompanyName" global="true"/>
|
||||
<set field="layoutSettings.companySubtitle" from-field="uiLabelMap.ExampleCompanySubtitle" global="true"/>
|
||||
<set field="activeApp" value="example" global="true"/>
|
||||
<!--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="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="applicationTitle" value="${uiLabelMap.ExampleApplication}" global="true"/>
|
||||
|
||||
@@ -21,13 +21,14 @@ under the License.
|
||||
<menus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-menu.xsd">
|
||||
|
||||
<!--menu name="ExampleAppBar" title="${uiLabelMap.ExampleApplication}" extends="CommonAppBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
|
||||
<menu name="ExampleAppBar" title="${uiLabelMap.ExampleApplication}" extends="CommonAppBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
|
||||
<menu-item name="Example" title="${uiLabelMap.ExampleExample}"><link target="FindExample"/></menu-item>
|
||||
<menu-item name="ExampleFeature" title="${uiLabelMap.ExampleFeature}"><link target="FindExampleFeature"/></menu-item>
|
||||
<menu-item name="FormWidgetExamples" title="${uiLabelMap.ExampleFormWidgetExamples}"><link target="FormWidgetExamples"/></menu-item>
|
||||
<menu-item name="AjaxExample" title="Ajax Examples"><link target="authview/findExampleAjax"/></menu-item>
|
||||
<menu-item portal-page="EXAMPLE"/>
|
||||
<menu-item name="Dashboard" title="Dashboard" align-style="opposed"><link target="ManagePortalPages?portalPageId=${currentPortalPage.portalPageId}"/></menu-item>
|
||||
</menu-->
|
||||
</menu>
|
||||
|
||||
<menu name="EditExample" default-selected-style="selected" type="simple"
|
||||
menu-container-style="button-bar tab-bar" selected-menuitem-context-field-name="tabButtonItem">
|
||||
|
||||
Reference in New Issue
Block a user