Author: buscob
Date: Sun Mar 21 17:49:13 2010
New Revision: 925843

URL: http://svn.apache.org/viewvc?rev=925843&view=rev
Log:
Added a new common menu "CommonButtonBarMenu". This should be extended to 
create the screens button menus.

Right now many of the button menus are written using container and link widgets.
Whenever some of them is replaced with a menu widget a CommonButtonBarMenu 
extension will ensure the proper menu styles.

Modified:
    ofbiz/trunk/framework/common/widget/CommonMenus.xml

Modified: ofbiz/trunk/framework/common/widget/CommonMenus.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/widget/CommonMenus.xml?rev=925843&r1=925842&r2=925843&view=diff
==============================================================================
--- ofbiz/trunk/framework/common/widget/CommonMenus.xml (original)
+++ ofbiz/trunk/framework/common/widget/CommonMenus.xml Sun Mar 21 17:49:13 2010
@@ -29,4 +29,6 @@ under the License.
 
     <menu name="CommonTabBarMenu" 
selected-menuitem-context-field-name="tabButtonItem" type="simple"
           menu-container-style="button-bar tab-bar" 
default-selected-style="selected"/>
+
+    <menu name="CommonButtonBarMenu" type="simple" 
menu-container-style="button-bar" default-widget-style="buttontext"/>
 </menus>


Reply via email to