ICEfaces
  1. ICEfaces
  2. ICE-2699

menuPopup use panelGroup.contextValue

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7DR#3
    • Fix Version/s: 1.7Beta1, 1.7
    • 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

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #15704 Fri Feb 01 12:41:08 MST 2008 mark.collette ICE-2699 : menuPopup use panelGroup.contextValue
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/component-metadata/src/main/resources/conf/ice_cust_properties/cust-paneltabset-props.xml
        Commit graph ADD /icefaces/trunk/icefaces/component-metadata/src/main/resources/conf/ice_properties/ice-att-contextValue-props.xml
        Commit graph MODIFY /icefaces/trunk/icefaces/samples/component-showcase/src/com/icesoft/icefaces/samples/showcase/components/table/ColumnsBean.java
        Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/menupopup/MenuPopup.java
        Commit graph MODIFY /icefaces/trunk/icefaces/component-metadata/src/main/resources/conf/ice_properties/ice-dataTable-props.xml
        Commit graph MODIFY /icefaces/trunk/icefaces/component-metadata/src/main/resources/conf/ice_cust_properties/cust-panelPositioned-props.xml
        Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/facelets/IceComponentHandler.java
        Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/ext/HtmlPanelGroup.java
        Commit graph ADD /icefaces/trunk/icefaces/component-metadata/src/main/resources/conf/ice_properties/ice-att-displayListener-props.xml
        Commit graph MODIFY /icefaces/trunk/icefaces/samples/component-showcase/web/inc/components/menuBar.jspx
        Commit graph MODIFY /icefaces/trunk/icefaces/component-metadata/src/main/resources/conf/ice_cust_properties/cust-panelSeries-props.xml
        Commit graph MODIFY /icefaces/trunk/icefaces/component-metadata/src/main/resources/conf/ice_properties/ice-panelGroup-props.xml
        Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/ext/UIColumn.java
        Commit graph MODIFY /icefaces/trunk/icefaces/component-metadata/src/main/resources/conf/ice_properties/ice-uicolumns-props.xml
        Commit graph ADD /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/ContextActionEvent.java
        Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/panelseries/UISeries.java
        Commit graph MODIFY /icefaces/trunk/icefaces/samples/component-showcase/web/inc/components/tableColumns.jspx
        Commit graph MODIFY /icefaces/trunk/icefaces/component-metadata/src/main/resources/conf/ice_cust_properties/cust-paneltooltip-props.xml
        Commit graph MODIFY /icefaces/trunk/icefaces/component-metadata/src/main/resources/conf/ice_properties/ice-uicolumn-props.xml
        Commit graph MODIFY /icefaces/trunk/icefaces/component-metadata/src/main/resources/conf/extended-faces-config.xml
        Commit graph MODIFY /icefaces/trunk/icefaces/samples/component-showcase/src/com/icesoft/icefaces/samples/showcase/components/menuBar/MenuBarBean.java
        Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/menupopup/MenuPopupHelper.java
        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 ]
        Hide
        Mark Collette added a comment -

        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

        Show
        Mark Collette added a comment - 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
        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 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Mark Collette
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: