Udo Schnurpfeil created TOBAGO-1907:
---------------------------------------
Summary: New toggle component: <tc:selectBooleanToggle>
Key: TOBAGO-1907
URL: https://issues.apache.org/jira/browse/TOBAGO-1907
Project: MyFaces Tobago
Issue Type: New Feature
Components: Core, Themes
Reporter: Udo Schnurpfeil
Assignee: Udo Schnurpfeil
A toggle instead of a checkbox to set boolean values.
There might be several implementation possibilities:
# as a new component
# using selectBooleanCheckbox with a markup
# using selectBooleanCheckbox with a theme
We decided to use the 1st one.
The 3rd has the disadvantage: Desingers may want to use checkbox and toggle in
the same application. This would not be possible.
The 2nd would have the advantage, that it's easier to switch dynamically
between toogle and checkbox. But I think nobody needs such behaviour.
The 1st one is pretty simple and straitforward.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)