Details
-
Type:
Improvement
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.6.2, 1.7Beta1
-
Component/s: ICE-Components
-
Labels:None
-
Environment:Any
-
Affects:Sample App./Tutorial
Description
The onclick attribute does not work in conjunction with ice:menuItem. Even if added at a page level, it doesn't seem to render on the page or be passed through to the component.
In this specific case, we cannot add Loopfuse javascript based tracking to menuItem links.
In this specific case, we cannot add Loopfuse javascript based tracking to menuItem links.
Activity
| Status | Resolved [ 5 ] | Closed [ 6 ] |
| Assignee Priority | P2 | |
| Assignee | Mark Collette [ mark.collette ] |
| Fix Version/s | 1.7 [ 10080 ] |
| Security | Private [ 10001 ] |
| Fix Version/s | 1.7RC1 [ 10123 ] | |
| Fix Version/s | 1.7 [ 10080 ] |
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
| Repository | Revision | Date | User | Message |
| ICEsoft Public SVN Repository | #15929 | Tue Mar 04 18:34:38 MST 2008 | mark.collette | |
| Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/menubar/MenuItemRenderer.java
MODIFY
/icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/menubar/MenuItem.java
MODIFY
/icefaces/trunk/icefaces/component-metadata/src/main/resources/conf/ice_cust_properties/cust-menunode-props.xml
|
| Fix Version/s | 1.7 [ 10080 ] | |
| Assignee Priority | P2 | |
| Assignee | Adnan Durrani [ adnan.durrani ] | Mark Collette [ mark.collette ] |
| Assignee | Ken Fyten [ ken.fyten ] | Adnan Durrani [ adnan.durrani ] |
| Estimated Complexity | Low | |
| Affects | [Sample App./Tutorial] | |
| Priority | Major [ 3 ] | Minor [ 4 ] |
| Field | Original Value | New Value |
|---|---|---|
| Assignee | Ken Fyten [ ken.fyten ] |

I added an "onclick" attribute to MenuItem, and made the MenuItemRenderer pass that on to the generated anchor tag.
Subversion 15929
icefaces\component\src\com\icesoft\faces\component\menubar\MenuItem.java
icefaces\component\src\com\icesoft\faces\component\menubar\MenuItemRenderer.java
icefaces\component-metadata\src\main\resources\conf\ice_cust_properties\cust-menunode-props.xml