ICEfaces
  1. ICEfaces
  2. ICE-605

Runtime compatibility for JSF 1.2 implementations with Facelets

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.5
    • Fix Version/s: 1.6DR#3, 1.6
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      Operating System: All
      Platform: All
      Glassfish App. Server (Sun JSF 1.2 runtime) v9.0_01
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial, Compatibility/Configuration

      Description

      ICEfaces needs to be runnable on JSF 1.2 based JSF runtimes.

      Target v1.1.

        Activity

        Hide
        Rob Mayhew added a comment -

        The problem is that Method Bindings are not being set, JSF 1.2 is not calling setValueBinding in the component or setProperties in the tag. Still investigating.

        Show
        Rob Mayhew added a comment - The problem is that Method Bindings are not being set, JSF 1.2 is not calling setValueBinding in the component or setProperties in the tag. Still investigating.
        Hide
        Rob Mayhew added a comment -

        Checked in generator changes to add Method Bindings for all tags that need them.
        r13498

        Show
        Rob Mayhew added a comment - Checked in generator changes to add Method Bindings for all tags that need them. r13498
        Hide
        Mark Collette added a comment -

        Removed Facelets' reliance on overriding UIComponents' setValueBinding for MethodBindings. Tested MethodBindings with JSF 1.1 JSP, JSF 1.1 Facelets, JSF 1.2 Facelets.

        List of MethodBindings:

        ice:panelGroup
        com.icesoft.faces.component.ext.HtmlPanelGroup
        void dragListener(DragEvent)
        void dropListener(DropEvent)

        ice:rowSelector
        com.icesoft.faces.component.ext.RowSelector
        void selectionListener(RowSelectorEvent)
        void selectionAction()

        ice:inputFile
        com.icesoft.faces.component.inputfile.InputFile
        void progressListener(EventObject)

        ice:outputChart
        com.icesoft.faces.component.outputchart.OutputChart
        void renderOnSubmit(OutputChart) ** Attribute can be a Boolean or MethodBinding

        ice:panelPositioned
        com.icesoft.faces.component.panelpositioned.PanelPositioned
        void listener(PanelPositionedEvent)

        ice:panelTabSet
        com.icesoft.faces.component.paneltabset.PanelTabSet
        void tabChangeListener(TabChangeEvent)

        Subversion 13504
        icefaces\component-metadata\src\main\java\com\icesoft\metadata\generators\TagLibraryGenerator.java
        icefaces\component-metadata\src\main\resources\conf\ice_cust_properties\cust-outputchart-props.xml
        icefaces\component\conf\META-INF\facelet\icefaces.taglib.xml
        icefaces\component\src\com\icesoft\faces\component\ext\HtmlPanelGroup.java
        icefaces\component\src\com\icesoft\faces\component\ext\RowSelector.java
        icefaces\component\src\com\icesoft\faces\component\inputfile\InputFile.java
        icefaces\component\src\com\icesoft\faces\component\outputchart\OutputChart.java
        icefaces\component\src\com\icesoft\faces\component\panelpositioned\PanelPositioned.java
        icefaces\component\src\com\icesoft\faces\component\paneltabset\PanelTabSet.java
        icefaces\core\src\com\icesoft\faces\webapp\parser\TagToComponentMap.java
        icefaces\component\src\com\icesoft\faces\component\facelets\IceComponentHandler.java
        icefaces\core\src\com\icesoft\faces\el\LiteralBooleanMethodBinding.java

        Show
        Mark Collette added a comment - Removed Facelets' reliance on overriding UIComponents' setValueBinding for MethodBindings. Tested MethodBindings with JSF 1.1 JSP, JSF 1.1 Facelets, JSF 1.2 Facelets. List of MethodBindings: ice:panelGroup com.icesoft.faces.component.ext.HtmlPanelGroup void dragListener(DragEvent) void dropListener(DropEvent) ice:rowSelector com.icesoft.faces.component.ext.RowSelector void selectionListener(RowSelectorEvent) void selectionAction() ice:inputFile com.icesoft.faces.component.inputfile.InputFile void progressListener(EventObject) ice:outputChart com.icesoft.faces.component.outputchart.OutputChart void renderOnSubmit(OutputChart) ** Attribute can be a Boolean or MethodBinding ice:panelPositioned com.icesoft.faces.component.panelpositioned.PanelPositioned void listener(PanelPositionedEvent) ice:panelTabSet com.icesoft.faces.component.paneltabset.PanelTabSet void tabChangeListener(TabChangeEvent) Subversion 13504 icefaces\component-metadata\src\main\java\com\icesoft\metadata\generators\TagLibraryGenerator.java icefaces\component-metadata\src\main\resources\conf\ice_cust_properties\cust-outputchart-props.xml icefaces\component\conf\META-INF\facelet\icefaces.taglib.xml icefaces\component\src\com\icesoft\faces\component\ext\HtmlPanelGroup.java icefaces\component\src\com\icesoft\faces\component\ext\RowSelector.java icefaces\component\src\com\icesoft\faces\component\inputfile\InputFile.java icefaces\component\src\com\icesoft\faces\component\outputchart\OutputChart.java icefaces\component\src\com\icesoft\faces\component\panelpositioned\PanelPositioned.java icefaces\component\src\com\icesoft\faces\component\paneltabset\PanelTabSet.java icefaces\core\src\com\icesoft\faces\webapp\parser\TagToComponentMap.java icefaces\component\src\com\icesoft\faces\component\facelets\IceComponentHandler.java icefaces\core\src\com\icesoft\faces\el\LiteralBooleanMethodBinding.java
        Hide
        Mark Collette added a comment -

        Back to you, for subsequent issues.

        Show
        Mark Collette added a comment - Back to you, for subsequent issues.
        Hide
        Rob Mayhew added a comment -

        Changed find component calls to

        UIComponent uiComponent = D2DViewHandler.findComponent(id, context.getViewRoot());

        r13534

        Show
        Rob Mayhew added a comment - Changed find component calls to UIComponent uiComponent = D2DViewHandler.findComponent(id, context.getViewRoot()); r13534

          People

          • Assignee:
            Unassigned
            Reporter:
            Ken Fyten
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: