Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.7
-
Fix Version/s: 1.7.1
-
Component/s: ICE-Components
-
Labels:None
-
Environment:any
-
Support Case References:
Description
Using the ice:menuItems component nested inside a dataTable breaks the component in that only the last table row contains a static list of menu items.
see attached source files for further information
see attached source files for further information
Activity
| Status | Resolved [ 5 ] | Closed [ 6 ] |
| Status | Reopened [ 4 ] | Resolved [ 5 ] |
| Assignee Priority | P2 | |
| Resolution | Fixed [ 1 ] | |
| Assignee | Yip Ng [ yip.ng ] |
| Resolution | Fixed [ 1 ] | |
| Status | Resolved [ 5 ] | Reopened [ 4 ] |
| Attachment | js_error.jpg [ 11076 ] |
| Status | Reopened [ 4 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
| Attachment | screenshot-8.jpg [ 11067 ] |
| Repository | Revision | Date | User | Message |
| ICEsoft Public SVN Repository | #16894 | Fri Jun 13 14:14:05 MDT 2008 | yip.ng | Fixed menu item CSS bug exposed by fix for |
| Files Changed | ||||
MODIFY
/icefaces/branches/icefaces-1.7/icefaces/core/src/com/icesoft/faces/resources/css/rime/rime.css
MODIFY
/icefaces/branches/icefaces-1.7/icefaces/core/src/com/icesoft/faces/resources/css/rime/rime-portlet.css
MODIFY
/icefaces/branches/icefaces-1.7/icefaces/core/src/com/icesoft/faces/resources/css/xp/xp-portlet.css
MODIFY
/icefaces/branches/icefaces-1.7/icefaces/core/src/com/icesoft/faces/resources/css/xp/xp.css
MODIFY
/icefaces/branches/icefaces-1.7/icefaces/core/src/com/icesoft/faces/resources/css/royale/royale.css
|
| Repository | Revision | Date | User | Message |
| ICEsoft Public SVN Repository | #16892 | Fri Jun 13 14:11:20 MDT 2008 | yip.ng | Fixed menu item CSS bug exposed by fix for |
| Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/core/src/com/icesoft/faces/resources/css/xp/xp-portlet.css
MODIFY
/icefaces/trunk/icefaces/core/src/com/icesoft/faces/resources/css/xp/xp.css
MODIFY
/icefaces/trunk/icefaces/core/src/com/icesoft/faces/resources/css/royale/royale.css
MODIFY
/icefaces/trunk/icefaces/core/src/com/icesoft/faces/resources/css/rime/rime.css
MODIFY
/icefaces/trunk/icefaces/core/src/com/icesoft/faces/resources/css/rime/rime-portlet.css
|
| Resolution | Fixed [ 1 ] | |
| Status | Resolved [ 5 ] | Reopened [ 4 ] |
| Attachment | screenshot-7.jpg [ 11066 ] |
| Status | Reopened [ 4 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
| Repository | Revision | Date | User | Message |
| ICEsoft Public SVN Repository | #16848 | Tue Jun 10 15:25:09 MDT 2008 | yip.ng | Fixed hidden JavaScript bug exposed by fix for |
| Files Changed | ||||
MODIFY
/icefaces/branches/icefaces-1.7/icefaces/bridge/component/menu.js
|
| Repository | Revision | Date | User | Message |
| ICEsoft Public SVN Repository | #16847 | Tue Jun 10 15:23:33 MDT 2008 | yip.ng | Fixed hidden JavaScript bug exposed by fix for |
| Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/bridge/component/menu.js
|
| Assignee | Sam Xiao [ sam.xiao ] | Yip Ng [ yip.ng ] |
| Assignee | Ken Fyten [ ken.fyten ] | Sam Xiao [ sam.xiao ] |
| Assignee | Yip Ng [ yip.ng ] | Ken Fyten [ ken.fyten ] |
| Attachment | ICE-3064.zip [ 11057 ] |
| Attachment | screenshot-6.jpg [ 11053 ] |
| Attachment | ICE-3064.war [ 11043 ] |
| Attachment | screenshot-5.jpg [ 11042 ] |
| Attachment | screenshot-4.jpg [ 11041 ] |
| Attachment | screenshot-3.jpg [ 11040 ] |
| Attachment | screenshot.jpg [ 11038 ] |
| Comment | [ From Philip, I tested the attached demo app and it is still not working correctly. The menubar is shown in every table row now, but as soon as a menuitem is selected a javascript error occurs and the application doesn't respond anymore. ] |
| Resolution | Fixed [ 1 ] | |
| Status | Resolved [ 5 ] | Reopened [ 4 ] |
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
| Attachment | screenshot-2.jpg [ 11031 ] |
| Repository | Revision | Date | User | Message |
| ICEsoft Public SVN Repository | #16775 | Fri May 30 16:58:47 MDT 2008 | yip.ng | Cleared menu item client id values so a unique client id will be regenerated when menu items are in a UIData component. |
| Files Changed | ||||
MODIFY
/icefaces/branches/icefaces-1.7/icefaces/component/src/com/icesoft/faces/component/menubar/MenuItemRenderer.java
|
| Repository | Revision | Date | User | Message |
| ICEsoft Public SVN Repository | #16774 | Fri May 30 16:57:25 MDT 2008 | yip.ng | Cleared menu item client id values so a unique client id will be regenerated when menu items are in a UIData component. |
| Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/menubar/MenuItemRenderer.java
|
| Attachment | screenshot-1.jpg [ 11027 ] |
| Assignee | Mark Collette [ mark.collette ] | Yip Ng [ yip.ng ] |
| Attachment | Test_MenuItems.zip [ 11015 ] |
| Attachment | Test_MenuItems.war [ 11014 ] |
| Fix Version/s | 1.7.1 [ 10122 ] | |
| Assignee Priority | P2 | |
| Assignee | Mark Collette [ mark.collette ] |
| Support Case References | https://www.icesoft.ca:4443/supportilla/show_bug.cgi?id=4810 |
| Attachment | newmenu2.jspx [ 10971 ] |
| Attachment | ContactData.java [ 10970 ] |
| Attachment | CustomMenuModel.java [ 10969 ] |
| Field | Original Value | New Value |
|---|---|---|
| Attachment | MenuHandler.java [ 10968 ] |

About the JS error:
nsSessionStore.js (C:\Program Files\Mozilla Firefox\components\nsSessionStore.js) is a Firefox JS program. If you google the error, you will find a lot of people have had the same error. So it's nothing to do with ICEfaces?
"This Error is being generated in the Firefox components script that stores the session data for a window."
"I had that sort of nonsense when upgrading versions of FF and TB until I started removing all of the program directory prior to deploying the new version."
"I uninstalled Firefox. Deleted the directory and removed the references in the registry. I then reinstalled a fresh copy of firefox and all plugins. So far I have not had any more problems."
About the on hover event:
This is expected behavior with the current menu item event handling logic. It is caused by the overlapping of menu item div's. To change this behavior, we need to figure out how to distinguish between the two types of hover event: normal hover event and hover event as a result of clicking an overlapping menu item div. (There could also be more than two layers of overlap and this could complicate things further?) And then we need to change the renderer and/or JavaScript accordingly.