Author: abelevich
Date: 2008-01-16 14:13:04 -0500 (Wed, 16 Jan 2008)
New Revision: 5440
Modified:
trunk/sandbox/samples/combobox-sample/src/main/webapp/pages/index.jsp
Log:
Modified: trunk/sandbox/samples/combobox-sample/src/main/webapp/pages/index.jsp
===================================================================
--- trunk/sandbox/samples/combobox-sample/src/main/webapp/pages/index.jsp 2008-01-16
19:11:55 UTC (rev 5439)
+++ trunk/sandbox/samples/combobox-sample/src/main/webapp/pages/index.jsp 2008-01-16
19:13:04 UTC (rev 5440)
@@ -57,9 +57,14 @@
<h:inputText value="#{bean.onitemselectedScript}" />
</h:panelGrid>
- <h:commandButton action="none"
value="apply"></h:commandButton>
- </h:form>
- <h:form>
+
+ <cmb:comboBox disabled="false">
+ <f:selectItem itemValue="Oregon"/>
+ <f:selectItem itemValue="Pennsylvania"/>
+ <f:selectItem itemValue="Rhode Island"/>
+ <f:selectItem itemValue="South Carolina"/>
+ </cmb:comboBox>
+
<cmb:comboBox
disabled="#{bean.disabled}"
inputClass="inputClass"
@@ -81,19 +86,18 @@
onchange="#{bean.onchangeScript}"
onlistcall="#{bean.onlistcallScript}"
onitemselected="#{bean.onitemselectedScript}">
-
<f:selectItems value="#{bean.selectItems}"/>
<f:selectItem itemValue="Oregon"/>
<f:selectItem itemValue="Pennsylvania"/>
<f:selectItem itemValue="Rhode Island"/>
<f:selectItem itemValue="South Carolina"/>
</cmb:comboBox>
- <cmb:comboBox>
+ <cmb:comboBox disabled="false">
<f:selectItem itemValue="Oregon"/>
<f:selectItem itemValue="Pennsylvania"/>
<f:selectItem itemValue="Rhode Island"/>
<f:selectItem itemValue="South Carolina"/>
- </cmb:comboBox>
+ </cmb:comboBox>
<br/>
<h:commandButton action="none"
value="submit"></h:commandButton>
<br>