Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.RC2, 3.0
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      ICEfaces 2.1, Advanced Component Environment (ace:)
    • Assignee Priority:
      P2
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial

      Description

      Add a new ace:resizable component with the following features:
      - option of keeping aspect ratio
      - option of using a ghost to do the resizing
      - option to animate the resizing
      - option to establish size boundaries
      - option to constrain the dimensions to those of the parent element
      - option to resize in discrete, fixed increments
      - option to specify the location of handles
      - ajax capabilities for various events
      1. 3.PNG
        56 kB
      2. 2.PNG
        56 kB
      3. 1.PNG
        60 kB

        Activity

        Hide
        Cruz Miraback added a comment -

        This component has been tested using grimlock rev# 25582 on tomcat6 server using the browsers: IE7, Firefox 3.6.7, Gchrome14.
        Test pages are located at: repo\qa\trunk\Regression-Icefaces2\Sparkle\resizable

        ISSUES:

        All browsers:

        1. If the page is submitted the resizable component returns to its initial size. (Not sure if this is a problem or expected - can be seen in dynamic tests, or add row to top/bottom tests)

        2. When resizable panels are in a dataTable resizing one of them horizontally causes them all to be resized as if they are attached. (See Screenshot 1 - I only resized the bottom panel)

        3. The PanelTabSet doesn't render properly when a resizable component is inside of it (See ICE-7250).

        4. The onResizeUpdate attribute doesn't seem to work when inside a compat:panelTabSet. The value is only updated after switching tabs.

        5. (InputTextArea Only): Switching tabs inside a ace:TabSet causes the component to become tiny. (See Screenshot 2)

        6. (Panel Only): OutputText / InputText don't resize with the panel which causes them to stick out if the panel is resized smaller/ (See Screenshot 3)

        Internet Explorer

        1. (Panel Only): Panels can't be resized when inside a UIRepeat.

        2. (GraphicImage Only): Handles attribute value 'all' doesn't work.

        Firefox:

        1. (Panel Only): ResizeListener throws NumberFormatException when resizing.

        java.lang.NumberFormatException: For input string: "72.96665999999999"
        at java.lang.NumberFormatException.forInputString(NumberFormatException.
        java:48)
        at java.lang.Integer.parseInt(Integer.java:456)
        at java.lang.Integer.parseInt(Integer.java:497)
        at org.icefaces.ace.component.resizable.ResizableRenderer.decode(Resizab
        leRenderer.java:54)
        at javax.faces.component.UIComponentBase.decode(UIComponentBase.java:787
        )
        at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.
        java:1181)
        at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.
        java:1176)
        at javax.faces.component.UIForm.processDecodes(UIForm.java:225)
        at com.sun.faces.context.PartialViewContextImpl$PhaseAwareVisitCallback.
        visit(PartialViewContextImpl.java:506)
        at com.sun.faces.component.visit.PartialVisitContext.invokeVisitCallback
        (PartialVisitContext.java:183)
        at javax.faces.component.UIComponent.visitTree(UIComponent.java:1589)
        at javax.faces.component.UIForm.visitTree(UIForm.java:344)
        at javax.faces.component.UIComponent.visitTree(UIComponent.java:1600)
        at javax.faces.component.UIComponent.visitTree(UIComponent.java:1600)
        at com.sun.faces.context.PartialViewContextImpl.processComponents(Partia
        lViewContextImpl.java:376)
        at com.sun.faces.context.PartialViewContextImpl.processPartial(PartialVi
        ewContextImpl.java:252)
        at javax.faces.context.PartialViewContextWrapper.processPartial(PartialV
        iewContextWrapper.java:183)
        at org.icefaces.impl.context.DOMPartialViewContext.processPartial(DOMPar
        tialViewContext.java:222)
        at javax.faces.context.PartialViewContextWrapper.processPartial(PartialV
        iewContextWrapper.java:183)
        at javax.faces.context.PartialViewContextWrapper.processPartial(PartialV
        iewContextWrapper.java:183)
        at org.icefaces.impl.context.DOMPartialViewContext.processPartial(DOMPar
        tialViewContext.java:222)
        at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:931)
        at com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestV
        aluesPhase.java:78)
        at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
        at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)

        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
        icationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
        ilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
        alve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
        alve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
        ava:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
        ava:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
        ve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
        a:298)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
        :852)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
        ss(Http11Protocol.java:588)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:48
        9)
        at java.lang.Thread.run(Thread.java:619)

        Show
        Cruz Miraback added a comment - This component has been tested using grimlock rev# 25582 on tomcat6 server using the browsers: IE7, Firefox 3.6.7, Gchrome14. Test pages are located at: repo\qa\trunk\Regression-Icefaces2\Sparkle\resizable ISSUES: All browsers: 1. If the page is submitted the resizable component returns to its initial size. (Not sure if this is a problem or expected - can be seen in dynamic tests, or add row to top/bottom tests) 2. When resizable panels are in a dataTable resizing one of them horizontally causes them all to be resized as if they are attached. (See Screenshot 1 - I only resized the bottom panel) 3. The PanelTabSet doesn't render properly when a resizable component is inside of it (See ICE-7250 ). 4. The onResizeUpdate attribute doesn't seem to work when inside a compat:panelTabSet. The value is only updated after switching tabs. 5. (InputTextArea Only): Switching tabs inside a ace:TabSet causes the component to become tiny. (See Screenshot 2) 6. (Panel Only): OutputText / InputText don't resize with the panel which causes them to stick out if the panel is resized smaller/ (See Screenshot 3) Internet Explorer 1. (Panel Only): Panels can't be resized when inside a UIRepeat. 2. (GraphicImage Only): Handles attribute value 'all' doesn't work. Firefox: 1. (Panel Only): ResizeListener throws NumberFormatException when resizing. java.lang.NumberFormatException: For input string: "72.96665999999999" at java.lang.NumberFormatException.forInputString(NumberFormatException. java:48) at java.lang.Integer.parseInt(Integer.java:456) at java.lang.Integer.parseInt(Integer.java:497) at org.icefaces.ace.component.resizable.ResizableRenderer.decode(Resizab leRenderer.java:54) at javax.faces.component.UIComponentBase.decode(UIComponentBase.java:787 ) at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase. java:1181) at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase. java:1176) at javax.faces.component.UIForm.processDecodes(UIForm.java:225) at com.sun.faces.context.PartialViewContextImpl$PhaseAwareVisitCallback. visit(PartialViewContextImpl.java:506) at com.sun.faces.component.visit.PartialVisitContext.invokeVisitCallback (PartialVisitContext.java:183) at javax.faces.component.UIComponent.visitTree(UIComponent.java:1589) at javax.faces.component.UIForm.visitTree(UIForm.java:344) at javax.faces.component.UIComponent.visitTree(UIComponent.java:1600) at javax.faces.component.UIComponent.visitTree(UIComponent.java:1600) at com.sun.faces.context.PartialViewContextImpl.processComponents(Partia lViewContextImpl.java:376) at com.sun.faces.context.PartialViewContextImpl.processPartial(PartialVi ewContextImpl.java:252) at javax.faces.context.PartialViewContextWrapper.processPartial(PartialV iewContextWrapper.java:183) at org.icefaces.impl.context.DOMPartialViewContext.processPartial(DOMPar tialViewContext.java:222) at javax.faces.context.PartialViewContextWrapper.processPartial(PartialV iewContextWrapper.java:183) at javax.faces.context.PartialViewContextWrapper.processPartial(PartialV iewContextWrapper.java:183) at org.icefaces.impl.context.DOMPartialViewContext.processPartial(DOMPar tialViewContext.java:222) at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:931) at com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestV aluesPhase.java:78) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV alve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV alve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j ava:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j ava:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal ve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav a:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java :852) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce ss(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:48 9) at java.lang.Thread.run(Thread.java:619)

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Arturo Zambrano
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: