Author: gmaksimenko
Date: 2008-04-25 07:07:14 -0400 (Fri, 25 Apr 2008)
New Revision: 8162
Modified:
trunk/test-applications/facelets/src/main/webapp/InplaceSelect/InplaceSelect.xhtml
Log:
Add tests for immediate and required
Modified:
trunk/test-applications/facelets/src/main/webapp/InplaceSelect/InplaceSelect.xhtml
===================================================================
---
trunk/test-applications/facelets/src/main/webapp/InplaceSelect/InplaceSelect.xhtml 2008-04-25
11:07:04 UTC (rev 8161)
+++
trunk/test-applications/facelets/src/main/webapp/InplaceSelect/InplaceSelect.xhtml 2008-04-25
11:07:14 UTC (rev 8162)
@@ -22,6 +22,8 @@
rendered="#{inplaceSelect.rendered}"
immediate="#{inplaceSelect.immediate}"
binding="#{inplaceSelect.myInplaceSelect}"
+ required="#{inplaceSelect.required}"
+ requiredMessage="#{inplaceSelect.requiredMessage}"
onblur="#{event.onblur}"
onchange="#{event.onchange}"
@@ -132,6 +134,18 @@
onchange="submit();"></h:selectBooleanCheckbox>
<h:commandButton actionListener="#{inplaceSelect.checkBinding}"
value="Binding"></h:commandButton>
- <h:outputText
value="#{inplaceSelect.bindLabel}"></h:outputText>
+ <h:outputText value="#{inplaceSelect.bindLabel}"></h:outputText>
+
+ <h:outputText value="immediate"></h:outputText>
+ <h:selectBooleanCheckbox value="#{inplaceSelect.immediate}"
+ onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="required"></h:outputText>
+ <h:selectBooleanCheckbox value="#{inplaceSelect.required}"
+ onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="requiredMessage"></h:outputText>
+ <h:inputText value="#{inplaceSelect.requiredMessage}"
onchange="submit();"></h:inputText>
+
</h:panelGrid><h:commandButton
value="ok"></h:commandButton>
</f:subview>
\ No newline at end of file