Application menu item should be link not hidden form. As if its hidden form then you can not open it in new tab. Default menu item link type auto, and its create an hidden for for link if controller request call an event, but in menu item this should be link. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1500382 13f79535-47bb-0310-9956-ffa450edef68
92 lines
5.3 KiB
XML
92 lines
5.3 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.
|
|
-->
|
|
|
|
<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-item name="ExampleMenuItem" 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="${uiLabelMap.ExampleAjaxExamples}">
|
|
<link target="authview/findExampleAjax"/>
|
|
</menu-item>
|
|
<menu-item name="portalPage" parent-portal-page-value="EXAMPLE"/>
|
|
<menu-item name="Dashboard" title="${uiLabelMap.ExampleDashboard}" align-style="opposed">
|
|
<link target="ManagePortalPages" link-type="anchor">
|
|
<parameter param-name="parentPortalPageId" value="EXAMPLE"/>
|
|
</link>
|
|
</menu-item>
|
|
<menu-item name="ExampleGeoLocation" title="${uiLabelMap.CommonGeoLocation}">
|
|
<link target="ExampleGeoLocationPointSet1"/>
|
|
</menu-item>
|
|
</menu>
|
|
|
|
<menu name="EditExample" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
|
|
<menu-item name="EditExample" title="${uiLabelMap.ExampleExample}">
|
|
<link target="EditExample">
|
|
<parameter param-name="exampleId"/>
|
|
</link>
|
|
</menu-item>
|
|
<menu-item name="EditExampleItems" title="${uiLabelMap.CommonItems}">
|
|
<link target="EditExampleItems">
|
|
<parameter param-name="exampleId"/>
|
|
</link>
|
|
</menu-item>
|
|
<menu-item name="EditExampleFeatureAppls" title="${uiLabelMap.ExampleFeatures}">
|
|
<link target="EditExampleFeatureAppls">
|
|
<parameter param-name="exampleId"/>
|
|
</link>
|
|
</menu-item>
|
|
</menu>
|
|
|
|
<menu name="EditExampleFeature" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
|
|
<menu-item name="EditExampleFeature" title="${uiLabelMap.ExampleFeature}">
|
|
<link target="EditExampleFeature"/>
|
|
</menu-item>
|
|
<menu-item name="EditExampleFeatureExampleAppls" title="${uiLabelMap.ExampleExamples}">
|
|
<link target="EditExampleFeatureExampleAppls"/>
|
|
</menu-item>
|
|
</menu>
|
|
|
|
<menu name="ExampleGeoLocation" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
|
|
<menu-item name="ExampleGeoLocationPointSet1" title="${uiLabelMap.PointSet1}"><link target="ExampleGeoLocationPointSet1"/></menu-item>
|
|
<menu-item name="ExampleGeoLocationPointSet2" title="${uiLabelMap.PointSet2}"><link target="ExampleGeoLocationPointSet2"/></menu-item>
|
|
<menu-item name="ExampleGeoLocationPointSet3" title="${uiLabelMap.PointSet3}"><link target="ExampleGeoLocationPointSet3"/></menu-item>
|
|
<menu-item name="ExampleGeoLocationPointSet4" title="${uiLabelMap.PointSet4}"><link target="ExampleGeoLocationPointSet4"/></menu-item>
|
|
<menu-item name="ExampleGeoLocationAddress" title="${uiLabelMap.ExamplePointAddress}"><link target="ExampleGeoLocationAddress"/></menu-item>
|
|
<!--Examples using openstreetmap -->
|
|
<menu-item name="ExampleOsmGeoLocationPointSet1" title="${uiLabelMap.OsmPointSet1}"><link target="ExampleOsmGeoLocationPointSet1"/></menu-item>
|
|
<menu-item name="ExampleOsmGeoLocationPointSet2" title="${uiLabelMap.OsmPointSet2}"><link target="ExampleOsmGeoLocationPointSet2"/></menu-item>
|
|
<menu-item name="ExampleOsmGeoLocationPointSet3" title="${uiLabelMap.OsmPointSet3}"><link target="ExampleOsmGeoLocationPointSet3"/></menu-item>
|
|
<menu-item name="ExampleOsmGeoLocationPointSet4" title="${uiLabelMap.OsmPointSet4}"><link target="ExampleOsmGeoLocationPointSet4"/></menu-item>
|
|
</menu>
|
|
|
|
<menu name="ExampleCharts" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
|
|
<menu-item name="ExampleBarChart" title="Bar chart"><link target="ExampleBarChart"/></menu-item>
|
|
<menu-item name="ExamplePieChart" title="Pie chart"><link target="ExamplePieChart"/></menu-item>
|
|
</menu>
|
|
</menus>
|