ICEfaces
  1. ICEfaces
  2. ICE-1552

allow access to expanded property of accordionPanel (through ValueChangeEvent) and place a default toggle icon on the handle

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 1.6DR#5
    • Fix Version/s: None
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      all

      Description

      1) the accordionPanel has the ability to drive the direction of an application if we have the ability to access it's expanded state. For example, we can disable certain things on the panel if a user is not logged in and the panel is open or could determine what is rendered elsewhere on the page...
      2) for HCI purposes, a default icon should be shown on the right hand side of the accordionPanel "handle" ....perhaps a toggleImageLocation property could also be available for other locations for this?

        Activity

        Judy Guglielmin created issue -
        Adnan Durrani made changes -
        Field Original Value New Value
        Assignee Adnan Durrani [ adnan.durrani ]
        Adnan Durrani made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Hide
        Adnan Durrani added a comment -

        1) Clicking on accordionPanel fires an actionEvent, where expanded state can be evaluated. (e..g.)

        //pojo
        public void clicked(ActionEvent event)

        { UIComponent component = (UIComponent)event.getSource(); boolean state = Boolean.valueOf(component.getAttributes().get("expanded").toString()); }

        //using component
        public void clicked(ActionEvent event)

        { PanelAccordion component = (PanelAccordion)event.getSource(); boolean state = component.getExpanded().booleanValue(); }
        Show
        Adnan Durrani added a comment - 1) Clicking on accordionPanel fires an actionEvent, where expanded state can be evaluated. (e..g.) //pojo public void clicked(ActionEvent event) { UIComponent component = (UIComponent)event.getSource(); boolean state = Boolean.valueOf(component.getAttributes().get("expanded").toString()); } //using component public void clicked(ActionEvent event) { PanelAccordion component = (PanelAccordion)event.getSource(); boolean state = component.getExpanded().booleanValue(); }
        Ken Fyten made changes -
        Assignee Priority P1
        Adnan Durrani made changes -
        Fix Version/s 1.6 [ 10031 ]
        Affects Version/s 1.6DR#5 [ 10071 ]
        Adnan Durrani made changes -
        Status In Progress [ 3 ] Open [ 1 ]
        Adnan Durrani made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Ken Fyten made changes -
        Assignee Priority P1 P3
        Ken Fyten made changes -
        Fix Version/s 1.6 [ 10031 ]
        Assignee Priority P3
        Assignee Adnan Durrani [ adnan.durrani ]
        Philip Breau made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Won't Fix [ 2 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Judy Guglielmin
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: