You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2016/07/04 07:40:45 UTC
svn commit: r1751222 -
/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/030-select/40-selectOneListbox/selectOneListbox.xhtml
Author: lofwyr
Date: Mon Jul 4 07:40:44 2016
New Revision: 1751222
URL: http://svn.apache.org/viewvc?rev=1751222&view=rev
Log:
TOBAGO-1544: Demo
use size=3
Modified:
myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/030-select/40-selectOneListbox/selectOneListbox.xhtml
Modified: myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/030-select/40-selectOneListbox/selectOneListbox.xhtml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/030-select/40-selectOneListbox/selectOneListbox.xhtml?rev=1751222&r1=1751221&r2=1751222&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/030-select/40-selectOneListbox/selectOneListbox.xhtml (original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/030-select/40-selectOneListbox/selectOneListbox.xhtml Mon Jul 4 07:40:44 2016
@@ -38,25 +38,26 @@
<tc:section label="Basics">
<p>If the number of rows is not set, die height of the list depends on the number of entries.
- The number of rows can be set by the <code>size</code> attribute. A list has always two rows, therefor values
+ The number of rows can be set by the <code>size</code> attribute.
+ A list has at least two rows, therefor values
less than two have no effect.</p>
- <pre><code class="language-markup"><tc:selectOneListbox label="List" size="2">
+ <pre><code class="language-markup"><tc:selectOneListbox label="List" size="3">
<tc:selectItem itemLabel="Alpha"/>
...
</tc:selectOneListbox></code></pre>
- <tc:selectOneListbox id="s1" label="List" size="2">
+ <tc:selectOneListbox id="s1" label="List" size="3">
<tc:selectItem itemLabel="Alpha"/>
<tc:selectItem itemLabel="Beta"/>
<tc:selectItem itemLabel="Gamma"/>
<tc:selectItem itemLabel="Delta"/>
</tc:selectOneListbox>
- <tc:selectOneListbox id="s2" label="Read Only" readonly="true" size="2">
+ <tc:selectOneListbox id="s2" label="Read Only" readonly="true" size="3">
<tc:selectItem itemLabel="Alpha"/>
<tc:selectItem itemLabel="Beta"/>
<tc:selectItem itemLabel="Gamma"/>
<tc:selectItem itemLabel="Delta"/>
</tc:selectOneListbox>
- <tc:selectOneListbox id="s3" label="Disabled" disabled="true" size="2">
+ <tc:selectOneListbox id="s3" label="Disabled" disabled="true" size="3">
<tc:selectItem itemLabel="Alpha"/>
<tc:selectItem itemLabel="Beta"/>
<tc:selectItem itemLabel="Gamma"/>