ICEfaces-EE
  1. ICEfaces-EE
  2. IPCK-192

Add slider back to compat composite components.

    Details

    • Type: Task Task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-2.0.0.Alpha1
    • Fix Version/s: EE-2.0.0.Beta1
    • Component/s: Facelet Components
    • Labels:
      None
    • Environment:
      ICEfaces EE 2.0

      Description

      The slider component was removed from EE 2.0 alpha because a similar component was no part of ACE components and there was JavaScript compatibility issues with YUI that is in the ICEfaces bridge.

      The idea here is to add the slider component back but have it wrap the new ace slider component.

        Activity

        Hide
        Patrick Corless added a comment -

        For compatibility reasons the old slider is being added back to the EE components. Instead of a separate implementation the ice-cc:slider now simply wraps the ace slideEntry component. In doing so there are few functional changes that need to be considered mainly around attributes of the ice-cc:slider.

        updateOnEvent - attribute is no deprecated and no lunger has any functional meaning.
        singleSubmit - new attribute that is similar to updateOnEvent that when singleSubmit=false the compoennt will no longer submit its value on focus lost instead waiting until the entire form has been submitted.

        Another big side effect of the ace comonent is that we can no longer use the YUI libraries included with the CC components as they collide with the icefaces ace libraries. It is my understanding that because we use the ace component in the ee component there is no need to bother with loading yui.

        Show
        Patrick Corless added a comment - For compatibility reasons the old slider is being added back to the EE components. Instead of a separate implementation the ice-cc:slider now simply wraps the ace slideEntry component. In doing so there are few functional changes that need to be considered mainly around attributes of the ice-cc:slider. updateOnEvent - attribute is no deprecated and no lunger has any functional meaning. singleSubmit - new attribute that is similar to updateOnEvent that when singleSubmit=false the compoennt will no longer submit its value on focus lost instead waiting until the entire form has been submitted. Another big side effect of the ace comonent is that we can no longer use the YUI libraries included with the CC components as they collide with the icefaces ace libraries. It is my understanding that because we use the ace component in the ee component there is no need to bother with loading yui.
        Hide
        Patrick Corless added a comment -

        Checked in changes, marking as resolved.

        Revision: 25820
        Author: patrick.corless
        Date: 2:57:51 PM, January-19-11
        Message:
        IPCK-192 addition of new implementation of slider component that uses the ace:sliderEntry implementation. YUI libraries have been removed from the ResourceLoadingComponent.java for compatibility reasons.


        Modified : /icepack2/trunk/icepack/compat-composite-components/conf/faces-config.xml
        Modified : /icepack2/trunk/icepack/compat-composite-components/conf/icecc.taglib.xml
        Modified : /icepack2/trunk/icepack/compat-composite-components/conf/tld/icecc.tld
        Modified : /icepack2/trunk/icepack/compat-composite-components/src/com/icesoft/faces/facelets/component/ResourceLoadingComponent.java
        Added : /icepack2/trunk/icepack/compat-composite-components/web/slider/slider.xhtml

        Revision: 25821
        Author: patrick.corless
        Date: 2:59:39 PM, January-19-11
        Message:
        IPCK-192 added the slider demo back to the ee showcase. The demo has changed slighly also show how setting singleSubmit=false needs a submit button to send the new value the server.


        Modified : /icepack2/trunk/icepack/samples/composite-comps-showcase/pom.xml
        Modified : /icepack2/trunk/icepack/samples/composite-comps-showcase/src/main/webapp/WEB-INF/includes/examples/composition-components/sliderDemo.xhtml
        Modified : /icepack2/trunk/icepack/samples/composite-comps-showcase/src/main/webapp/WEB-INF/navigation/application_structure.xml
        Modified : /icepack2/trunk/icepack/samples/composite-comps-showcase/src/main/webapp/showcase.xhtml

        Show
        Patrick Corless added a comment - Checked in changes, marking as resolved. Revision: 25820 Author: patrick.corless Date: 2:57:51 PM, January-19-11 Message: IPCK-192 addition of new implementation of slider component that uses the ace:sliderEntry implementation. YUI libraries have been removed from the ResourceLoadingComponent.java for compatibility reasons. Modified : /icepack2/trunk/icepack/compat-composite-components/conf/faces-config.xml Modified : /icepack2/trunk/icepack/compat-composite-components/conf/icecc.taglib.xml Modified : /icepack2/trunk/icepack/compat-composite-components/conf/tld/icecc.tld Modified : /icepack2/trunk/icepack/compat-composite-components/src/com/icesoft/faces/facelets/component/ResourceLoadingComponent.java Added : /icepack2/trunk/icepack/compat-composite-components/web/slider/slider.xhtml Revision: 25821 Author: patrick.corless Date: 2:59:39 PM, January-19-11 Message: IPCK-192 added the slider demo back to the ee showcase. The demo has changed slighly also show how setting singleSubmit=false needs a submit button to send the new value the server. Modified : /icepack2/trunk/icepack/samples/composite-comps-showcase/pom.xml Modified : /icepack2/trunk/icepack/samples/composite-comps-showcase/src/main/webapp/WEB-INF/includes/examples/composition-components/sliderDemo.xhtml Modified : /icepack2/trunk/icepack/samples/composite-comps-showcase/src/main/webapp/WEB-INF/navigation/application_structure.xml Modified : /icepack2/trunk/icepack/samples/composite-comps-showcase/src/main/webapp/showcase.xhtml

          People

          • Assignee:
            Patrick Corless
            Reporter:
            Patrick Corless
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: