ICEfaces
  1. ICEfaces
  2. ICE-5841

New RadioButton component for ACE

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.0-Alpha3
    • Fix Version/s: 3.0
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      jsf2.0, ICEfaces-2.0
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial

      Description

      Want to have all the features of <ice:selectOneRadio> and the yui radiobutton groups.

        Activity

        Judy Guglielmin created issue -
        Hide
        Judy Guglielmin added a comment -

        markup for component showcase (compat) shows:-
        <ice:panelGroup styleClass="selectionRadioGroup">
        <ice:selectOneRadio id="SlctDrk"
        value="#

        {selectionTags.selectedDrink}

        "
        valueChangeListener="#

        {selectionTags.effectChangeListener}

        "
        partialSubmit="true" >
        <f:selectItems id="SlctDrkItms"
        value="#

        {selectionTags.drinkItems}

        "/>
        </ice:selectOneRadio>
        </ice:panelGroup>

        Show
        Judy Guglielmin added a comment - markup for component showcase (compat) shows:- <ice:panelGroup styleClass="selectionRadioGroup"> <ice:selectOneRadio id="SlctDrk" value="# {selectionTags.selectedDrink} " valueChangeListener="# {selectionTags.effectChangeListener} " partialSubmit="true" > <f:selectItems id="SlctDrkItms" value="# {selectionTags.drinkItems} "/> </ice:selectOneRadio> </ice:panelGroup>
        Judy Guglielmin made changes -
        Field Original Value New Value
        Salesforce Case []
        Description Want to have all the features of <ice:selectOneMenu> and the yui radiobutton groups. Want to have all the features of <ice:selectOneRadio> and the yui radiobutton groups.
        Hide
        Judy Guglielmin added a comment -

        following jira has description/behaviour that should be brought forward:-

        http://jira.icefaces.org/browse/ICE-751

        Show
        Judy Guglielmin added a comment - following jira has description/behaviour that should be brought forward:- http://jira.icefaces.org/browse/ICE-751
        Hide
        Judy Guglielmin added a comment -

        See following link for example of use of <ice:selectOneMenu> with <ice:radio> which shows use of radio button in datatable:-
        http://hobione.wordpress.com/2009/05/29/datatable-and-radio-button-in-jsf/

        Show
        Judy Guglielmin added a comment - See following link for example of use of <ice:selectOneMenu> with <ice:radio> which shows use of radio button in datatable:- http://hobione.wordpress.com/2009/05/29/datatable-and-radio-button-in-jsf/
        Judy Guglielmin made changes -
        Assignee Judy Guglielmin [ judy.guglielmin ]
        Hide
        Judy Guglielmin added a comment -

        If we allowed the new datatable component to control which of the buttons was selected, we could do something like the following:-
        http://www.satyam.com.ar/yui/assortedControls.html

        This would allow our radiobutton component to be rendered correctly...but where to put the valuechange event? and how to trigger it?

        Show
        Judy Guglielmin added a comment - If we allowed the new datatable component to control which of the buttons was selected, we could do something like the following:- http://www.satyam.com.ar/yui/assortedControls.html This would allow our radiobutton component to be rendered correctly...but where to put the valuechange event? and how to trigger it?
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #21845 Mon Jul 05 16:24:36 MDT 2010 judy.guglielmin Initial check-in of buttongroup and radiobutton ICE-5841
        Files Changed
        Commit graph ADD /icefaces/scratchpads/sparkle/showcase/test/web/buttons/radiobutton.xhtml
        Commit graph ADD /icefaces/scratchpads/sparkle/component/resources/org.icefaces.component.radiobutton
        Commit graph ADD /icefaces/scratchpads/sparkle/component/resources/org.icefaces.component.radiobutton/radiobutton.js
        Commit graph ADD /icefaces/scratchpads/sparkle/component/src/org/icefaces/component/radiobutton
        Commit graph ADD /icefaces/scratchpads/sparkle/component/src/org/icefaces/component/radiobutton/sprites/rime
        Commit graph ADD /icefaces/scratchpads/sparkle/component/src/org/icefaces/component/radiobutton/sprites/rime/radio_selected.gif
        Commit graph ADD /icefaces/scratchpads/sparkle/component/src/org/icefaces/component/radiobutton/sprites/rime/radiobutton.css
        Commit graph ADD /icefaces/scratchpads/sparkle/component/src/org/icefaces/component/radiobutton/ButtonGroupRenderer.java
        Commit graph ADD /icefaces/scratchpads/sparkle/component/src/org/icefaces/component/radiobutton/RadioButtonRenderer.java
        Commit graph ADD /icefaces/scratchpads/sparkle/component/src/org/icefaces/component/radiobutton/RadioButtonMeta.java
        Commit graph ADD /icefaces/scratchpads/sparkle/component/src/org/icefaces/component/radiobutton/ButtonGroupMeta.java
        Commit graph ADD /icefaces/scratchpads/sparkle/component/src/org/icefaces/component/radiobutton/ButtonGroup.java
        Commit graph ADD /icefaces/scratchpads/sparkle/component/src/org/icefaces/component/radiobutton/RadioButton.java
        Commit graph ADD /icefaces/scratchpads/sparkle/component/src/org/icefaces/component/radiobutton/sprites/rime/radio.gif
        Commit graph MODIFY /icefaces/scratchpads/sparkle/showcase/test/web/buttons.xhtml
        Commit graph ADD /icefaces/scratchpads/sparkle/component/src/org/icefaces/component/radiobutton/sprites
        Hide
        Judy Guglielmin added a comment -

        since this is still being developed (in initial stages) will add analysis of existing attributes in jsf2, icefaces1.8.x and yui here.

        Show
        Judy Guglielmin added a comment - since this is still being developed (in initial stages) will add analysis of existing attributes in jsf2, icefaces1.8.x and yui here.
        Judy Guglielmin made changes -
        Link This issue blocks ICE-5887 [ ICE-5887 ]
        Hide
        Judy Guglielmin added a comment -

        from jsf2.0:-
        converter, converterMessage, id, immediate, rendered, required, requiredMessage, validator, validatorMessage, value, valueChangeListener, dir, disabled, hideNoSelectionOption, label, lang, layout, readonly, style, styleClass, tabindex, title, binding.

        border, enabledClass, disabledClass to be dealt with by yui...do we want a border??
        classes for styling are determined by yui.

        from ICEfaces (selectBooleanCheckbox):-
        autocomplete,
        effect-> use anim from YUI
        enabledOnUsreRole,
        paritalSubmit=singleSubmit
        visible
        <ice:radio>
        binding, for, id, index, rendered

        ICEfaces renderer allows for layout="spread" for <ice:radio> to be embedded in table column with controller of ice:selectOneRadio to control the behaviour of the radio buttons (only one selected at a time).

        ability to support layout of vertical is also necessary.

        from yui:- anim,

        Show
        Judy Guglielmin added a comment - from jsf2.0:- converter, converterMessage, id, immediate, rendered, required, requiredMessage, validator, validatorMessage, value, valueChangeListener, dir, disabled, hideNoSelectionOption, label, lang, layout, readonly, style, styleClass, tabindex, title, binding. border, enabledClass, disabledClass to be dealt with by yui...do we want a border?? classes for styling are determined by yui. from ICEfaces (selectBooleanCheckbox):- autocomplete, effect-> use anim from YUI enabledOnUsreRole, paritalSubmit=singleSubmit visible <ice:radio> binding, for, id, index, rendered ICEfaces renderer allows for layout="spread" for <ice:radio> to be embedded in table column with controller of ice:selectOneRadio to control the behaviour of the radio buttons (only one selected at a time). ability to support layout of vertical is also necessary. from yui:- anim,
        Ken Fyten made changes -
        Fix Version/s 2.0-Beta2 [ 10242 ]
        Ken Fyten made changes -
        Security Private [ 10001 ]
        Hide
        Judy Guglielmin added a comment -

        using the hidden field, the radio button (on decode), checks the hidden field to see if it's ID is there. If so, then it can find it's parent and setSelectedItemId(it's id), to ensure that the group knows it's the selected button.
        PROBLEM***. Using the hidden field and the structure of the <div>'s and <span>'s, only the hidden field is updated (not the script), so the initialize fn of the javascript file is not run again (to be updated by the hidden field's id).....will use a param for the selectedItemId within the script tag to ensure this happens whenever the button is changed.
        ValueChangeEvent on the group is queued from setValue() method of the buttongroup. Will be able to implement a CheckedChangeLIstener on the actual radio button....

        Show
        Judy Guglielmin added a comment - using the hidden field, the radio button (on decode), checks the hidden field to see if it's ID is there. If so, then it can find it's parent and setSelectedItemId(it's id), to ensure that the group knows it's the selected button. PROBLEM***. Using the hidden field and the structure of the <div>'s and <span>'s, only the hidden field is updated (not the script), so the initialize fn of the javascript file is not run again (to be updated by the hidden field's id).....will use a param for the selectedItemId within the script tag to ensure this happens whenever the button is changed. ValueChangeEvent on the group is queued from setValue() method of the buttongroup. Will be able to implement a CheckedChangeLIstener on the actual radio button....
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #22090 Wed Aug 04 13:58:11 MDT 2010 judy.guglielmin ICE-5841.....have most things working but after first use, initialization fn in javascript not firing...
        Files Changed
        Commit graph MODIFY /icefaces/scratchpads/sparkle/component/src/org/icefaces/component/radiobutton/RadioButton.java
        Commit graph MODIFY /icefaces/scratchpads/sparkle/component/src/org/icefaces/component/radiobutton/ButtonGroupRenderer.java
        Commit graph MODIFY /icefaces/scratchpads/sparkle/component/src/org/icefaces/component/radiobutton/RadioButtonRenderer.java
        Commit graph MODIFY /icefaces/scratchpads/sparkle/component/src/org/icefaces/component/radiobutton/RadioButtonMeta.java
        Commit graph MODIFY /icefaces/scratchpads/sparkle/component/src/org/icefaces/component/radiobutton/ButtonGroupMeta.java
        Commit graph MODIFY /icefaces/scratchpads/sparkle/component/src/org/icefaces/component/radiobutton/ButtonGroup.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #22091 Wed Aug 04 14:02:18 MDT 2010 judy.guglielmin ICE-5841 still not firing initialize fn after first use
        Files Changed
        Commit graph MODIFY /icefaces/scratchpads/sparkle/component/resources/org.icefaces.component.radiobutton/radiobutton.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #22092 Wed Aug 04 14:03:14 MDT 2010 judy.guglielmin ICE-5841 testing to find why not getting repeat entrance to initialize fn
        Files Changed
        Commit graph MODIFY /icefaces/scratchpads/sparkle/showcase/test/web/buttons/radiobutton.xhtml
        Commit graph MODIFY /icefaces/scratchpads/sparkle/showcase/test/src/org/icefaces/button/ButtonBean.java
        Hide
        Ken Fyten added a comment -

        Reminder that sam skin is required for this component.

        Show
        Ken Fyten added a comment - Reminder that sam skin is required for this component.
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #22410 Thu Sep 23 12:27:08 MDT 2010 judy.guglielmin ICE-5841 pushbutton if label not present, then use value for yui label
        Files Changed
        Commit graph MODIFY /icefaces/scratchpads/sparkle/component/src/org/icefaces/component/pushbutton/PushButtonRenderer.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #22555 Thu Oct 07 08:33:36 MDT 2010 judy.guglielmin ICE-5841 remove image property as should be done with skinning
        Files Changed
        Commit graph MODIFY /icefaces/scratchpads/sparkle/component/src/org/icefaces/component/pushbutton/PushButtonMeta.java
        Commit graph MODIFY /icefaces/scratchpads/sparkle/component/src/org/icefaces/component/pushbutton/PushButtonRenderer.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #22605 Wed Oct 13 11:28:45 MDT 2010 judy.guglielmin ICE-5841 moved tabindex and disabled to jsProps params. Removed unused statements from Renderer, get singleSubmit from javascript context in function registered to "onClick" event.
        Files Changed
        Commit graph MODIFY /icefaces/scratchpads/sparkle/component/resources/org.icefaces.component.pushbutton/pushbutton.js
        Commit graph MODIFY /icefaces/scratchpads/sparkle/component/src/org/icefaces/component/pushbutton/PushButtonRenderer.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #22681 Mon Oct 18 18:35:36 MDT 2010 judy.guglielmin ICE-5841 fixing package names for pushbutton and getting basic rime themes into pushbutton
        Files Changed
        Commit graph MODIFY /icefaces/scratchpads/sparkle/component/src/org/icefaces/component/pushbutton/skins/rime/button-skin.css
        Commit graph MODIFY /icefaces/scratchpads/sparkle/component/src/org/icefaces/component/pushbutton/PushButtonMeta.java
        Commit graph MODIFY /icefaces/scratchpads/sparkle/component/src/org/icefaces/component/pushbutton/PushButton.java
        Commit graph DEL /icefaces/scratchpads/sparkle/component/src/org/icefaces/component/pushbutton/skins/rime/background-disabled.gif
        Commit graph DEL /icefaces/scratchpads/sparkle/component/src/org/icefaces/component/pushbutton/skins/rime/background.png
        Commit graph DEL /icefaces/scratchpads/sparkle/component/src/org/icefaces/component/pushbutton/skins/rime/split-button-arrow-disabled.png
        Commit graph DEL /icefaces/scratchpads/sparkle/component/src/org/icefaces/component/pushbutton/skins/rime/split-button-arrow.png
        Commit graph DEL /icefaces/scratchpads/sparkle/component/src/org/icefaces/component/pushbutton/skins/rime/split-button-arrow-hover.png
        Commit graph DEL /icefaces/scratchpads/sparkle/component/src/org/icefaces/component/pushbutton/skins/rime/background-focus.gif
        Commit graph DEL /icefaces/scratchpads/sparkle/component/src/org/icefaces/component/pushbutton/skins/rime/background-active.gif
        Commit graph DEL /icefaces/scratchpads/sparkle/component/src/org/icefaces/component/pushbutton/skins/rime/background-highlight.png
        Commit graph DEL /icefaces/scratchpads/sparkle/component/src/org/icefaces/component/pushbutton/skins/rime/menu-button-arrow-disabled.png
        Commit graph DEL /icefaces/scratchpads/sparkle/component/src/org/icefaces/component/pushbutton/skins/rime/menu-button-arrow.png
        Commit graph DEL /icefaces/scratchpads/sparkle/component/src/org/icefaces/component/pushbutton/skins/rime/split-button-arrow-focus.png
        Commit graph DEL /icefaces/scratchpads/sparkle/component/src/org/icefaces/component/pushbutton/skins/rime/split-button-arrow-active.png
        Commit graph MODIFY /icefaces/scratchpads/sparkle/component/src/org/icefaces/component/pushbutton/PushButtonRenderer.java
        Commit graph MODIFY /icefaces/scratchpads/sparkle/component/src/org/icefaces/component/pushbutton/skins/rime/button.css
        Ken Fyten made changes -
        Summary create RadioButton component for Sparkle New RadioButton component for ACE
        Salesforce Case []
        Component/s ACE-Components [ 10050 ]
        Component/s Components [ 10012 ]
        Fix Version/s 2.1 [ 10241 ]
        Fix Version/s 2.0-Beta2 [ 10242 ]
        Affects [Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial]
        Judy Guglielmin made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Won't Fix [ 2 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: