Author: adrianc
Date: Tue Aug 14 15:35:09 2007 New Revision: 565951 URL: http://svn.apache.org/viewvc?view=rev&rev=565951 Log: Content Manager menu widget refactor contributed by Mike Wong, OFBIZ-241. Modified: ofbiz/trunk/applications/content/widget/SurveyMenus.xml ofbiz/trunk/applications/content/widget/compdoc/CompDocMenus.xml ofbiz/trunk/applications/content/widget/content/ContentMenus.xml ofbiz/trunk/applications/content/widget/forum/ForumMenus.xml Modified: ofbiz/trunk/applications/content/widget/SurveyMenus.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/widget/SurveyMenus.xml?view=diff&rev=565951&r1=565950&r2=565951 ============================================================================== --- ofbiz/trunk/applications/content/widget/SurveyMenus.xml (original) +++ ofbiz/trunk/applications/content/widget/SurveyMenus.xml Tue Aug 14 15:35:09 2007 @@ -19,9 +19,8 @@ --> <menus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-menu.xsd"> - <menu name="SurveyTabBar" default-menu-item-name="Survey" default-selected-style="tabButtonSelected" - default-title-style="tabButton" default-tooltip-style="tabletext" default-widget-style="tabButton" - orientation="horizontal" type="simple"> + <menu name="SurveyTabBar" default-menu-item-name="Survey" default-selected-style="selected" + menu-container-style="button-bar tab-bar" type="simple"> <menu-item name="Survey" title="${uiLabelMap.SurveySurveyId}"> <link target="EditSurvey?surveyId=${surveyId}"/> </menu-item> Modified: ofbiz/trunk/applications/content/widget/compdoc/CompDocMenus.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/widget/compdoc/CompDocMenus.xml?view=diff&rev=565951&r1=565950&r2=565951 ============================================================================== --- ofbiz/trunk/applications/content/widget/compdoc/CompDocMenus.xml (original) +++ ofbiz/trunk/applications/content/widget/compdoc/CompDocMenus.xml Tue Aug 14 15:35:09 2007 @@ -20,11 +20,11 @@ <menus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-menu.xsd"> - <menu name="empty" default-title-style="tabButton" default-menu-item-name="content" menu-width="100%" + <menu name="empty" menu-container-style="button-bar tab-bar" default-menu-item-name="content" menu-width="100%" default-associated-content-id="${userLogin.userLoginId}" selected-menuitem-context-field-name="currentMenuItemName" title="" type="simple"> </menu> - <menu name="find" default-title-style="tabButton" default-selected-style="tabButtonSelected" default-menu-item-name="content" + <menu name="find" menu-container-style="button-bar tab-bar" default-selected-style="selected" default-menu-item-name="content" default-associated-content-id="${userLogin.userLoginId}" selected-menuitem-context-field-name="currentMenuItemName" title="" type="simple"> <menu-item name="find" title="${uiLabelMap.CommonFind}"> <link target="FindCompDocTemplate"/> @@ -32,7 +32,7 @@ </menu> - <menu name="tree" default-title-style="tabButton" default-menu-item-name="content" + <menu name="tree" menu-container-style="button-bar tab-bar" default-selected-style="selected" default-menu-item-name="content" selected-menuitem-context-field-name="currentMenuItemName" title="" type="simple"> <menu-item name="viewtree" title="View Tree"> <condition> @@ -63,7 +63,7 @@ </menu-item> </menu> - <menu name="subtree" default-title-style="tabButton" default-menu-item-name="content" + <menu name="subtree" menu-container-style="button-bar tab-bar" default-selected-style="selected" default-menu-item-name="content" selected-menuitem-context-field-name="currentMenuItemName" title="" type="simple"> <menu-item name="viewtree" title="View Tree"> <condition> @@ -88,7 +88,7 @@ </menu-item> </menu> - <menu name="rootTemplateLine" default-title-style="tabButton" default-menu-item-name="content" + <menu name="rootTemplateLine" menu-container-style="button-bar button-style-1" default-menu-item-name="content" selected-menuitem-context-field-name="currentMenuItemName" title="" type="simple"> <menu-item name="edit-inplace" title="${contentName}[${contentId}]" widget-style="head2"> <link target="EditRootCompDoc?rootContentId=${rootContentId}&contentRevisionSeqId=${rootContentRevisionSeqId}"/> @@ -118,7 +118,7 @@ --> </menu> - <menu name="childTemplateLine" default-title-style="tabButton" default-menu-item-name="content" selected-menuitem-context-field-name="currentMenuItemName" title="" type="simple"> + <menu name="childTemplateLine" menu-container-style="button-bar button-style-1" default-menu-item-name="content" selected-menuitem-context-field-name="currentMenuItemName" title="" type="simple"> <menu-item name="edit-inplace" title="${contentName} [${contentId}]"> <link target="EditChildCompDoc?contentId=${contentId}&rootContentId=${rootContentId}&caFromDate=${fromDate}&contentRevisionSeqId=${rootContentRevisionSeqId}"/> </menu-item> @@ -156,7 +156,7 @@ </menu-item> </menu> - <menu name="rootInstanceLine" default-title-style="tabButton" default-menu-item-name="content" selected-menuitem-context-field-name="currentMenuItemName" title="" type="simple"> + <menu name="rootInstanceLine" menu-container-style="button-bar button-style-1" default-menu-item-name="content" selected-menuitem-context-field-name="currentMenuItemName" title="" type="simple"> <menu-item name="edit-inplace" title="${instanceContent.contentName}[${instanceContent.contentId}]" widget-style="head2"> <link target="EditRootCompDoc?rootContentId=${rootContentId}&contentRevisionSeqId=${rootContentRevisionSeqId}"/> </menu-item> Modified: ofbiz/trunk/applications/content/widget/content/ContentMenus.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/widget/content/ContentMenus.xml?view=diff&rev=565951&r1=565950&r2=565951 ============================================================================== --- ofbiz/trunk/applications/content/widget/content/ContentMenus.xml (original) +++ ofbiz/trunk/applications/content/widget/content/ContentMenus.xml Tue Aug 14 15:35:09 2007 @@ -43,7 +43,7 @@ </menu-item> </menu> - <menu name="content" default-title-style="tabButton" default-menu-item-name="content" default-permission-operation="HAS_AUTHOR_ROLE|CONTENT_ADMIN" + <menu name="content" menu-container-style="button-bar tab-bar" default-selected-style="selected" default-menu-item-name="content" default-permission-operation="HAS_AUTHOR_ROLE|CONTENT_ADMIN" default-permission-entity-action="_ADMIN" default-associated-content-id="${userLogin.userLoginId}" selected-menuitem-context-field-name="tabButtonItem" title="" type="simple"> @@ -99,7 +99,7 @@ </menu-item> </menu> - <menu name="contentSub" default-title-style="buttontext" default-menu-item-name="content" default-permission-operation="HAS_AUTHOR_ROLE|CONTENT_ADMIN" + <menu name="contentSub" menu-container-style="button-bar button-style-2" default-menu-item-name="content" default-permission-operation="HAS_AUTHOR_ROLE|CONTENT_ADMIN" default-permission-entity-action="_ADMIN" default-associated-content-id="${userLogin.userLoginId}" selected-menuitem-context-field-name="currentMenuItemName" title="" type="simple"> Modified: ofbiz/trunk/applications/content/widget/forum/ForumMenus.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/widget/forum/ForumMenus.xml?view=diff&rev=565951&r1=565950&r2=565951 ============================================================================== --- ofbiz/trunk/applications/content/widget/forum/ForumMenus.xml (original) +++ ofbiz/trunk/applications/content/widget/forum/ForumMenus.xml Tue Aug 14 15:35:09 2007 @@ -19,7 +19,7 @@ --> <menus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-menu.xsd"> - <menu name="ForumGroupTabBar" type="simple"> + <menu name="ForumGroupTabBar" menu-container-style="button-bar tab-bar" default-selected-style="selected" type="simple"> <menu-item name="forumGroups" title="${uiLabelMap.FormFieldTitle_forumGroups}"><link target="findForumGroups"/></menu-item> <menu-item name="forums" title="${uiLabelMap.FormFieldTitle_forums}"><link target="findForums?forumGroupId=${parameters.forumGroupId}"/></menu-item> <menu-item name="purposes" title="${uiLabelMap.FormFieldTitle_purposes}"><link target="forumGroupPurposes?forumGroupId=${parameters.forumGroupId}"/></menu-item> |
Free forum by Nabble | Edit this page |