Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.8.2, 1.8.2-EE-GA
-
Fix Version/s: 1.8.2-EE-GA_P01, 1.8.3
-
Component/s: ICE-Components
-
Labels:None
-
Environment:N/A
-
Assignee Priority:P1
-
Affects:Documentation (User Guide, Ref. Guide, etc.)
-
Workaround Exists:Yes
-
Workaround Description:Create a style in the stylesheet, add this style in the styleClass attribute of the menuItem tag. However, this class name has to have the String "Item" added as a suffix if it is a top level menuItem.
Description
Client tried to apply a style to a top level menItem tag using the style attribute. The style attribute is not documented in the TLD for this tag and is not passed through to the source.
The other option is to use the styleClass attribute as outlined in the workaround. However, for the top level menuItem, the String "Item" is being added as a suffix to the class when rendered to the browser and this is not documented in the TLD.
The other option is to use the styleClass attribute as outlined in the workaround. However, for the top level menuItem, the String "Item" is being added as a suffix to the class when rendered to the browser and this is not documented in the TLD.
Added the style attribute to the ice:menuItem component, and made it render that out.
TRUNK
Subversion 20757
icefaces\component-metadata\src\main\resources\conf\ice_cust_properties\cust-menunode-props.xml
icefaces\component\src\com\icesoft\faces\component\menubar\MenuItem.java
icefaces\component\src\com\icesoft\faces\component\menubar\MenuItemRenderer.java
icefaces-ee-1.8.2
svn merge -r20756:20757 http://server.ice:8888/svn/ossrepo/icefaces/trunk/icefaces/
Subversion 20758
icefaces\component-metadata\src\main\resources\conf\ice_cust_properties\cust-menunode-props.xml
icefaces\component\src\com\icesoft\faces\component\menubar\MenuItem.java
icefaces\component\src\com\icesoft\faces\component\menubar\MenuItemRenderer.java