Author: gmaksimenko
Date: 2008-04-30 06:43:39 -0400 (Wed, 30 Apr 2008)
New Revision: 8359
Modified:
trunk/test-applications/facelets/src/main/webapp/InplaceSelect/InplaceSelect.xhtml
Log:
Add test for layout
Modified:
trunk/test-applications/facelets/src/main/webapp/InplaceSelect/InplaceSelect.xhtml
===================================================================
---
trunk/test-applications/facelets/src/main/webapp/InplaceSelect/InplaceSelect.xhtml 2008-04-30
10:43:10 UTC (rev 8358)
+++
trunk/test-applications/facelets/src/main/webapp/InplaceSelect/InplaceSelect.xhtml 2008-04-30
10:43:39 UTC (rev 8359)
@@ -55,18 +55,13 @@
onmouseup="#{event.onmouseup}"
onselect="#{event.onselect}"
onviewactivated="#{evant.onviewactivated}"
- onviewactivation="#{event.onviewactivation}">
+ onviewactivation="#{event.onviewactivation}"
+ layout="#{inplaceSelect.layout}">
<f:selectItem itemLabel="errors" itemValue="errors" />
<f:selectItem itemLabel="fatals" itemValue="fatals" />
<f:selectItem itemLabel="infos" itemValue="infos" />
<f:selectItem itemLabel="passeds" itemValue="passeds" />
- <f:selectItem itemLabel="warns" itemValue="warns" />
- <f:selectItem itemValue="Option 1" itemLabel="Option 1" />
- <f:selectItem itemValue="Option 2" itemLabel="Option 2" />
- <f:selectItem itemValue="Option 3" itemLabel="Option 3" />
- <f:selectItem itemValue="Option 4" itemLabel="Option 4" />
- <f:selectItem itemValue="Option 5" itemLabel="Option 5" />
-
+ <f:selectItem itemLabel="warns" itemValue="warns" />
</rich:inplaceSelect>
are easy to exploit.
@@ -78,7 +73,7 @@
<h:panelGrid columns="2">
<h:outputText value="value"></h:outputText>
- <h:inputText value="#{inplaceSelect.value}"></h:inputText>
+ <h:outputText value="#{inplaceSelect.value}"></h:outputText>
<h:outputText value="defaultLabel"></h:outputText>
<h:inputText value="#{inplaceSelect.defaultLabel}"
@@ -108,6 +103,7 @@
<h:selectOneRadio value="#{inplaceSelect.controlsVerticalPosition}"
onchange="submit();">
<f:selectItem itemLabel="top" itemValue="top" />
+ <f:selectItem itemLabel="center" itemValue="center" />
<f:selectItem itemLabel="bottom" itemValue="bottom" />
</h:selectOneRadio>
@@ -153,7 +149,10 @@
onchange="submit();"></h:selectBooleanCheckbox>
<h:outputText value="requiredMessage"></h:outputText>
- <h:inputText value="#{inplaceSelect.requiredMessage}"
onchange="submit();"></h:inputText>
+ <h:inputText value="#{inplaceSelect.requiredMessage}"
onchange="submit();"></h:inputText>
+
+ <h:outputText value="layout"></h:outputText>
+ <h:inputText value="#{inplaceSelect.layout}"
onchange="submit();"></h:inputText>
</h:panelGrid>