Details
-
Type: New Feature
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 4.1
-
Component/s: ACE-Components
-
Labels:None
-
Environment:ICEfaces 4
-
Affects:Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial
Description
This JIRA is to add a new ace:checkboxButtons component that would support stamping out a set of checkboxButtons based on one component tag, similar to the h:selectBooleanCheckbox component.
This would support all the styling/attributes of the existing ace:checkboxButton component, but would support f:selectItems to define the buttons and would use a single value attribute to define the currently selected checkboxButton.
This would support all the styling/attributes of the existing ace:checkboxButton component, but would support f:selectItems to define the buttons and would use a single value attribute to define the currently selected checkboxButton.
As an alternative to creating this new component, it might be preferable to instead enhance the existing ace:buttonGroup component such that it could be used to generate a list of either radio or checkbox buttons itself. The main goal of this JIRA is to enable easier use of the checkbox or radio buttons by reducing the amount of backing-bean code required to use them.
By having the ace:buttonGroup manage the state of the buttons directly, such that the application would value-bind to the buttonGroup to see which button(s) were currently selected, instead of having to implement and manage the state for each button value separately.
Adding a new "type=radio/checkbox" attribute to the ace:buttonGroup is one way of triggering this mode of rendering where it would not only manage the state of the buttons, but also render the buttons itself as well.
If this seems feasible it is probably more desirable than implementing this new component and a new enhancement JIRA should be created for the ace:buttonGroup solution and this JIRA marked Won't Fix and closed.