Details
-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.7DR#3
-
Component/s: ICE-Components, Sample Apps
-
Labels:None
-
Environment:All
-
Affects:Sample App./Tutorial
Description
Because of panelTooltip, panelGroup now has a contextValue attribute, for identifying the model values that the panelGroup shows within itself. So, we're unifying how panelTooltip and menuPopup work, by getting rid of all the menuContext stuff, and replacing it with contextValue.
Activity
Mark Collette
created issue -
Mark Collette
made changes -
Field | Original Value | New Value |
---|---|---|
Fix Version/s | 1.7Beta1 [ 10121 ] | |
Affects | [Sample App./Tutorial] | |
Assignee Priority | P1 | |
Assignee | Mark Collette [ mark.collette ] |
Mark Collette
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Issue Type | New Feature [ 2 ] | Improvement [ 4 ] |
Ken Fyten
made changes -
Fix Version/s | 1.7 [ 10080 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assignee Priority | P1 | |
Assignee | Mark Collette [ mark.collette ] |
Now, when you context-click on a panelGroup, and select a menuItem from the menuPopup, you will get a ContextActionEvent in the menuItem's actionListener, which provides the contextValue from that panelGroup.
I've also pulled out all mention of menuContext, and tweaked some of the panelTooltip stuff, including the code to make displayListener work with Facelets.
The menuPopup examples in the component-showcase have been updated to use ContextActionEvent and contextValue.
Subversion 15704
icefaces\component-metadata\src\main\resources\conf\extended-faces-config.xml
icefaces\component-metadata\src\main\resources\conf\ice_cust_properties\cust-panelPositioned-props.xml
icefaces\component-metadata\src\main\resources\conf\ice_cust_properties\cust-panelSeries-props.xml
icefaces\component-metadata\src\main\resources\conf\ice_cust_properties\cust-paneltabset-props.xml
icefaces\component-metadata\src\main\resources\conf\ice_cust_properties\cust-paneltooltip-props.xml
icefaces\component-metadata\src\main\resources\conf\ice_properties\ice-dataTable-props.xml
icefaces\component-metadata\src\main\resources\conf\ice_properties\ice-panelGroup-props.xml
icefaces\component-metadata\src\main\resources\conf\ice_properties\ice-uicolumn-props.xml
icefaces\component-metadata\src\main\resources\conf\ice_properties\ice-uicolumns-props.xml
icefaces\component\src\com\icesoft\faces\component\ext\HtmlPanelGroup.java
icefaces\component\src\com\icesoft\faces\component\ext\UIColumn.java
icefaces\component\src\com\icesoft\faces\component\facelets\IceComponentHandler.java
icefaces\component\src\com\icesoft\faces\component\menupopup\MenuPopup.java
icefaces\component\src\com\icesoft\faces\component\menupopup\MenuPopupHelper.java
icefaces\component\src\com\icesoft\faces\component\panelseries\UISeries.java
icefaces\samples\component-showcase\src\com\icesoft\icefaces\samples\showcase\components\menuBar\MenuBarBean.java
icefaces\samples\component-showcase\src\com\icesoft\icefaces\samples\showcase\components\table\ColumnsBean.java
icefaces\samples\component-showcase\web\inc\components\menuBar.jspx
icefaces\samples\component-showcase\web\inc\components\tableColumns.jspx
icefaces\component\src\com\icesoft\faces\component\ContextActionEvent.java
icefaces\component-metadata\src\main\resources\conf\ice_properties\ice-att-contextValue-props.xml
icefaces\component-metadata\src\main\resources\conf\ice_properties\ice-att-displayListener-props.xml