Author: jleroux
Date: Fri Dec 12 13:48:00 2008 New Revision: 726126 URL: http://svn.apache.org/viewvc?rev=726126&view=rev Log: Replace SecurityGroupTabBar.ftl by XML menus Added: ofbiz/trunk/applications/party/widget/Menus.xml Removed: ofbiz/trunk/applications/party/webapp/partymgr/security/SecurityGroupTabBar.ftl Modified: ofbiz/trunk/applications/party/widget/partymgr/CommonScreens.xml Added: ofbiz/trunk/applications/party/widget/Menus.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/widget/Menus.xml?rev=726126&view=auto ============================================================================== --- ofbiz/trunk/applications/party/widget/Menus.xml (added) +++ ofbiz/trunk/applications/party/widget/Menus.xml Fri Dec 12 13:48:00 2008 @@ -0,0 +1,36 @@ +<?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="SecurityGroupTabBar" default-menu-item-name="EditSecurityGroup" default-selected-style="selected" + menu-container-style="button-bar tab-bar" type="simple" selected-menuitem-context-field-name="tabButtonItem"> + <menu-item name="EditSecurityGroup" title="${uiLabelMap.PartySecurityGroups}"> + <link target="EditSecurityGroup?groupId=${groupId}"/> + </menu-item> + <menu-item name="EditSecurityGroupPermissions" title="${uiLabelMap.PartyPermissions}"> + <link target="EditSecurityGroupPermissions?groupId=${groupId}"/> + </menu-item> + <menu-item name="EditSecurityGroupUserLogins" title="${uiLabelMap.PartyUserLogins}"> + <link target="EditSecurityGroupUserLogins?groupId=${groupId}"/> + </menu-item> + </menu> +</menus> Modified: ofbiz/trunk/applications/party/widget/partymgr/CommonScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/widget/partymgr/CommonScreens.xml?rev=726126&r1=726125&r2=726126&view=diff ============================================================================== --- ofbiz/trunk/applications/party/widget/partymgr/CommonScreens.xml (original) +++ ofbiz/trunk/applications/party/widget/partymgr/CommonScreens.xml Fri Dec 12 13:48:00 2008 @@ -134,9 +134,7 @@ </and> </condition> <widgets> - <platform-specific> - <html><html-template location="component://party/webapp/partymgr/security/SecurityGroupTabBar.ftl"/></html> - </platform-specific> + <include-menu name="SecurityGroupTabBar" location="component://party/widget/Menus.xml"/> </widgets> </section> </decorator-section> |
Free forum by Nabble | Edit this page |