Author: ppitonak(a)redhat.com
Date: 2010-10-13 05:31:42 -0400 (Wed, 13 Oct 2010)
New Revision: 19547
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/resources/metamer/attributes.xhtml
Log:
* checkbox in composite component attributes changed to selectOneRadio so that null can be
selected
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/resources/metamer/attributes.xhtml
===================================================================
---
modules/tests/metamer/trunk/application/src/main/webapp/resources/metamer/attributes.xhtml 2010-10-12
16:55:58 UTC (rev 19546)
+++
modules/tests/metamer/trunk/application/src/main/webapp/resources/metamer/attributes.xhtml 2010-10-13
09:31:42 UTC (rev 19547)
@@ -32,7 +32,11 @@
<c:choose>
<c:when test="#{entry.value.boolean}">
- <h:selectBooleanCheckbox id="#{entry.key}Input"
value="#{entry.value.value}" onchange="#{cc.attrs.type == 'server'
? 'submit()' : 'submitAjax()'}" />
+ <h:selectOneRadio id="#{entry.key}Input"
value="#{entry.value.value}" onchange="#{cc.attrs.type == 'server'
? 'submit()' : 'submitAjax()'}">
+ <f:selectItem itemValue="null"
itemLabel="null"/>
+ <f:selectItem itemValue="true"
itemLabel="true"/>
+ <f:selectItem itemValue="false"
itemLabel="false"/>
+ </h:selectOneRadio>
</c:when>
<c:when test="#{entry.value.selectOptions !=
null}">
Show replies by date