Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.6.1
-
Component/s: ICE-Components
-
Labels:None
-
Environment:Windows XP SP2,
Weblogic 9.2,
FireFox 2.0.0.9
Description
When I add renderOnUserRole tag to my ice:menuItem, and it is not rendered (actually border of it is rendered), all ice:menuItem nested within this ice:menuItem are rendered (selecting of border, causes showing of this nested ice:menuItem).
Probably in other components which allows nesting another components it is brokent too.
I've investigated it, and here are more detailed info:
When user don't have roles specified in renderOnUserRole this div is rendered to output:
<div id="someId" class="iceMnuBarSubMenu" style="display: none;" name="SUBMENU"/>
But if iceMnuBarSubMenu CSS class contains non 0px border width it is rendered like in attached menu.jpg.
Probably when in FF I select this border some onmouseover javascript is triggering rendering of submenu containded by this menu.
(I saw this javascript code using FireBug).
To fix this bug don't render any component when user don't have roles specified in renderOnUserRole.
Alsa when I set rendered property to false, and removed renderOnUserRole it behaves the same.
This behavior is not present in IE.
Probably in other components which allows nesting another components it is brokent too.
I've investigated it, and here are more detailed info:
When user don't have roles specified in renderOnUserRole this div is rendered to output:
<div id="someId" class="iceMnuBarSubMenu" style="display: none;" name="SUBMENU"/>
But if iceMnuBarSubMenu CSS class contains non 0px border width it is rendered like in attached menu.jpg.
Probably when in FF I select this border some onmouseover javascript is triggering rendering of submenu containded by this menu.
(I saw this javascript code using FireBug).
To fix this bug don't render any component when user don't have roles specified in renderOnUserRole.
Alsa when I set rendered property to false, and removed renderOnUserRole it behaves the same.
This behavior is not present in IE.
Activity
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assignee | Mark Collette [ mark.collette ] |
Ken Fyten
made changes -
Fix Version/s | 1.7 [ 10080 ] |
Mark Collette
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #15288 | Mon Dec 03 15:42:10 MST 2007 | mark.collette | |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/menubar/MenuItemRenderer.java
|
Ken Fyten
made changes -
Fix Version/s | 1.7DR#3 [ 10112 ] | |
Assignee | Mark Collette [ mark.collette ] |
Marcin Dabrowski
made changes -
Field | Original Value | New Value |
---|---|---|
Attachment | menu.jpg [ 10742 ] |
Marcin Dabrowski
created issue -
No worries. As long as it's fixed, and you're happy, that's all that matters