Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.6
-
Fix Version/s: 1.6.1
-
Component/s: ICE-Components
-
Labels:None
-
Environment:any
-
ICEsoft Forum Reference:
Description
Using a value binding for a menuItem's styleClass attribute causes the following behaviour:
- the top menu ignores the style changes of it's bound value
- the submenu gets rendered in the desired fashion
So, the value binding only works for sub menuItems, not for top menuItems
- the top menu ignores the style changes of it's bound value
- the submenu gets rendered in the desired fashion
So, the value binding only works for sub menuItems, not for top menuItems
Activity
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assignee | Adnan Durrani [ adnan.durrani ] |
Adnan Durrani
made changes -
Status | In Progress [ 3 ] | Resolved [ 5 ] |
Fix Version/s | 1.6.1 [ 10070 ] | |
Resolution | Fixed [ 1 ] |
Adnan Durrani
made changes -
Status | Open [ 1 ] | In Progress [ 3 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #14765 | Wed Aug 29 14:05:57 MDT 2007 | adnan.durrani | |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/menubar/MenuItem.java
MODIFY /icefaces/branches/icefaces-1.6/icefaces/component/src/com/icesoft/faces/component/menubar/MenuItem.java |
Ken Fyten
made changes -
Assignee | Adnan Durrani [ adnan.durrani ] |
Michael Thiem
made changes -
Attachment | forum-5094-src.zip [ 10521 ] |
Michael Thiem
made changes -
Attachment | forum-5094.war [ 10520 ] |
Michael Thiem
made changes -
Field | Original Value | New Value |
---|---|---|
ICEfaces Forum Reference | http://www.icefaces.org/JForum/posts/list/5094.page#22985 |
Michael Thiem
created issue -
Fixed revision: 14765
One thing I would like to mention here is that, The root level menu Items belongs to the menuBar, so that is why ICEfaces suffix the menuBar's item style class name with the "Item" literal (e.g.).
JSP:
<ice:menuBar>
<ice:menuItem styleClass="File">(it's a root level menu item)
<ice:menuItem styleClass="Open"/>
<ice:menuItem styleClass="Close"/>
</ice:menuItem>
<ice:menuBar>
Generated HTML:
<div>
<div class="FileItem"> ("Item" has been appended to the styleClass name)
<div class="Open">
<div class="Close">
</div>
</div>