You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Hudson (JIRA)" <de...@myfaces.apache.org> on 2018/07/05 14:05:00 UTC

[jira] [Commented] (TOBAGO-1907) New toggle component:

    [ https://issues.apache.org/jira/browse/TOBAGO-1907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16533701#comment-16533701 ] 

Hudson commented on TOBAGO-1907:
--------------------------------

SUCCESS: Integrated in Jenkins build Tobago Trunk #1474 (See [https://builds.apache.org/job/Tobago%20Trunk/1474/])
TOBAGO-1907: New toggle component: <tc:selectBooleanToggle> (lofwyr: rev 7a433e908c9be35a4a952582c0d50848e6250d13)
* (edit) tobago-core/src/main/resources/scss/_tobago.scss
* (edit) tobago-theme/tobago-theme-standard/src/main/resources/META-INF/resources/tobago/standard/tobago-bootstrap/_version/css/bootstrap.css.map
* (edit) tobago-theme/tobago-theme-charlotteville/rebuild-theme.txt
* (edit) tobago-theme/tobago-theme-scarborough/rebuild-theme.txt
* (edit) tobago-core/src/main/java/org/apache/myfaces/tobago/internal/renderkit/renderer/SelectBooleanCheckboxInsideCommandRenderer.java
* (edit) tobago-theme/tobago-theme-charlotteville/src/main/resources/META-INF/resources/tobago/charlotteville/tobago-bootstrap/_version/css/bootstrap.min.css.map
* (edit) tobago-theme/tobago-theme-scarborough/src/main/resources/META-INF/resources/tobago/scarborough/tobago-bootstrap/_version/css/bootstrap.min.css
* (edit) tobago-theme/tobago-theme-charlotteville/src/main/resources/META-INF/resources/tobago/charlotteville/tobago-bootstrap/_version/css/bootstrap.css
* (edit) tobago-example/tobago-example-demo/src/main/resources/org/apache/myfaces/tobago/example/demo/Demo.xml
* (edit) tobago-theme/tobago-theme-scarborough/src/main/resources/META-INF/resources/tobago/scarborough/tobago-bootstrap/_version/css/bootstrap.css.map
* (edit) tobago-theme/tobago-theme-roxborough/rebuild-theme.txt
* (edit) tobago-theme/tobago-theme-roxborough/src/main/resources/META-INF/resources/tobago/roxborough/tobago-bootstrap/_version/css/bootstrap.min.css
* (edit) tobago-theme/tobago-theme-speyside/src/main/resources/META-INF/resources/tobago/speyside/tobago-bootstrap/_version/css/bootstrap.min.css
* (edit) tobago-theme/tobago-theme-charlotteville/src/main/resources/META-INF/resources/tobago/charlotteville/tobago-bootstrap/_version/css/bootstrap.css.map
* (add) tobago-core/src/main/java/org/apache/myfaces/tobago/internal/renderkit/renderer/SelectBooleanToggleRenderer.java
* (edit) tobago-core/src/main/java/org/apache/myfaces/tobago/renderkit/css/TobagoClass.java
* (add) tobago-example/tobago-example-demo/src/main/webapp/content/20-component/030-select/15-selectBooleanToggle/selectBooleanToggle.xhtml
* (edit) tobago-theme/tobago-theme-speyside/src/main/resources/META-INF/resources/tobago/speyside/tobago-bootstrap/_version/css/bootstrap.css.map
* (edit) tobago-theme/tobago-theme-charlotteville/src/main/resources/META-INF/resources/tobago/charlotteville/tobago-bootstrap/_version/css/bootstrap.min.css
* (add) tobago-example/tobago-example-demo/src/main/webapp/content/20-component/030-select/15-selectBooleanToggle/selectBooleanToggle.test.js
* (edit) tobago-theme/tobago-theme-roxborough/src/main/resources/META-INF/resources/tobago/roxborough/tobago-bootstrap/_version/css/bootstrap.css.map
* (add) tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUISelectBoolean.java
* (edit) tobago-theme/tobago-theme-roxborough/src/main/resources/META-INF/resources/tobago/roxborough/tobago-bootstrap/_version/css/bootstrap.css
* (edit) tobago-theme/tobago-theme-standard/src/main/resources/META-INF/resources/tobago/standard/tobago-bootstrap/_version/css/bootstrap.min.css.map
* (edit) tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUISelectBooleanCheckbox.java
* (edit) tobago-theme/tobago-theme-speyside/src/main/resources/META-INF/resources/tobago/speyside/tobago-bootstrap/_version/css/bootstrap.css
* (add) tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/SelectBooleanToggleController.java
* (edit) tobago-theme/tobago-theme-roxborough/src/main/resources/META-INF/resources/tobago/roxborough/tobago-bootstrap/_version/css/bootstrap.min.css.map
* (edit) tobago-theme/tobago-theme-standard/src/main/resources/META-INF/resources/tobago/standard/tobago-bootstrap/_version/css/bootstrap.css
* (edit) tobago-theme/tobago-theme-standard/src/main/resources/META-INF/resources/tobago/standard/tobago-bootstrap/_version/js/tobago.js
* (edit) tobago-theme/tobago-theme-standard/src/main/resources/META-INF/resources/tobago/standard/tobago-bootstrap/_version/css/bootstrap.min.css
* (edit) tobago-core/src/main/java/org/apache/myfaces/tobago/internal/renderkit/renderer/SelectBooleanCheckboxRenderer.java
* (add) tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/component/SelectBooleanToggleTagDeclaration.java
* (edit) tobago-theme/tobago-theme-scarborough/src/main/resources/META-INF/resources/tobago/scarborough/tobago-bootstrap/_version/css/bootstrap.css
* (edit) tobago-theme/tobago-theme-scarborough/src/main/resources/META-INF/resources/tobago/scarborough/tobago-bootstrap/_version/css/bootstrap.min.css.map
* (edit) tobago-theme/tobago-theme-standard/rebuild-theme.txt
* (add) tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUISelectBooleanToggle.java
* (edit) tobago-core/src/main/java/org/apache/myfaces/tobago/component/RendererTypes.java
* (edit) tobago-theme/tobago-theme-speyside/rebuild-theme.txt
* (edit) tobago-theme/tobago-theme-speyside/src/main/resources/META-INF/resources/tobago/speyside/tobago-bootstrap/_version/css/bootstrap.min.css.map
* (edit) tobago-example/tobago-example-demo/src/main/webapp/content/20-component/030-select/select.xhtml


> 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
>            Priority: Major
>             Fix For: 4.3.0
>
>
> 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: Designers 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 toggle and checkbox. But I think nobody needs such behaviour.
> The 1st one is pretty simple and straightforward.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)