myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lof...@apache.org
Subject svn commit: r1760895 - in /myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/030-select: 10-selectBooleanCheckbox/selectBooleanCheckbox.xhtml 30-selectOneRadio/selectOneRadio.xhtml
Date Thu, 15 Sep 2016 08:31:45 GMT
Author: lofwyr
Date: Thu Sep 15 08:31:45 2016
New Revision: 1760895

URL: http://svn.apache.org/viewvc?rev=1760895&view=rev
Log:
TOBAGO 1544: Demo
* required

Modified:
    myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/030-select/10-selectBooleanCheckbox/selectBooleanCheckbox.xhtml
    myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/030-select/30-selectOneRadio/selectOneRadio.xhtml

Modified: myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/030-select/10-selectBooleanCheckbox/selectBooleanCheckbox.xhtml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/030-select/10-selectBooleanCheckbox/selectBooleanCheckbox.xhtml?rev=1760895&r1=1760894&r2=1760895&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/030-select/10-selectBooleanCheckbox/selectBooleanCheckbox.xhtml
(original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/030-select/10-selectBooleanCheckbox/selectBooleanCheckbox.xhtml
Thu Sep 15 08:31:45 2016
@@ -29,9 +29,10 @@
            link="#{overviewBundle.tagDocUrl}/selectBooleanCheckbox.html"/>
   <tc:section label="Basics">
     <pre><code class="language-markup">&lt;tc:selectBooleanCheckbox label="Checkbox"
value="true"/&gt;</code></pre>
-    <tc:selectBooleanCheckbox id="s1" label="Checkbox" value="true"/>
+    <tc:selectBooleanCheckbox id="s1" label="Normal Checkbox" value="true"/>
     <tc:selectBooleanCheckbox id="s2" label="Read Only" readonly="true" value="true"/>
     <tc:selectBooleanCheckbox id="s3" label="Disabled" disabled="true" value="true"/>
+    <tc:selectBooleanCheckbox id="s4" label="Required" required="true" value="false"/>
   </tc:section>
 
   <tc:section label="Simple Usage">

Modified: myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/030-select/30-selectOneRadio/selectOneRadio.xhtml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/030-select/30-selectOneRadio/selectOneRadio.xhtml?rev=1760895&r1=1760894&r2=1760895&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/030-select/30-selectOneRadio/selectOneRadio.xhtml
(original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/030-select/30-selectOneRadio/selectOneRadio.xhtml
Thu Sep 15 08:31:45 2016
@@ -68,13 +68,13 @@
       <code class="language-markup">&lt;tc:button label="Addition" action="\#{selectOneRadioController.add}"/></code>
     </p>
     <tc:segmentLayout large="6;6">
-      <tc:selectOneRadio id="selectNum1" label="Number 1" labelLayout="top"
+      <tc:selectOneRadio id="selectNum1" label="Number 1" labelLayout="top" required="true"
                          value="#{selectOneRadioController.numberOne}">
         <tc:selectItem itemLabel="1" itemValue="1"/>
         <tc:selectItem itemLabel="2" itemValue="2"/>
         <tc:selectItem itemLabel="4" itemValue="4"/>
       </tc:selectOneRadio>
-      <tc:selectOneRadio id="selectNum2" label="Number 2" labelLayout="top"
+      <tc:selectOneRadio id="selectNum2" label="Number 2" labelLayout="top" required="true"
                          value="#{selectOneRadioController.numberTwo}">
         <tc:selectItem itemLabel="1" itemValue="1"/>
         <tc:selectItem itemLabel="2" itemValue="2"/>



Mime
View raw message