Author: gmaksimenko
Date: 2008-04-24 08:21:26 -0400 (Thu, 24 Apr 2008)
New Revision: 8115
Modified:
trunk/test-applications/jsp/src/main/webapp/InplaceSelect/InplaceSelect.jsp
Log:
Add checkbox for rendered
Modified: trunk/test-applications/jsp/src/main/webapp/InplaceSelect/InplaceSelect.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/InplaceSelect/InplaceSelect.jsp 2008-04-24
11:55:55 UTC (rev 8114)
+++ trunk/test-applications/jsp/src/main/webapp/InplaceSelect/InplaceSelect.jsp 2008-04-24
12:21:26 UTC (rev 8115)
@@ -10,8 +10,7 @@
This is because such an error can easily be made at programming level, <br />
and while invisible for the user who does not understand or cannot <br />
acquire the source code, many of those
-<rich:inplaceSelect id="inplaceSelectID"
-
+<rich:inplaceSelect id="inplaceSelectID"
tabindex="#{inplaceSelect.tabindex}"
editEvent="#{inplaceSelect.editEvent}"
maxSelectWidth="#{inplaceSelect.maxSelectWidth}"
@@ -34,6 +33,7 @@
<f:selectItem itemLabel="infos" itemValue="infos" />
<f:selectItem itemLabel="passeds" itemValue="passeds" />
<f:selectItem itemLabel="warns" itemValue="warns" />
+ <f:selectItem itemLabel="warnswarnswarnswarns"
itemValue="warnswarnswarnswarns" />
</rich:inplaceSelect>
are easy to exploit.
<h:panelGrid columns="2">
@@ -107,6 +107,10 @@
<h:selectBooleanCheckbox value="#{inplaceSelect.openOnEdit}"
onchange="submit();"></h:selectBooleanCheckbox>
+ <h:outputText value="rendered"></h:outputText>
+ <h:selectBooleanCheckbox value="#{inplaceSelect.rendered}"
+ onchange="submit();"></h:selectBooleanCheckbox>
+
<h:commandButton actionListener="#{inplaceSelect.checkBinding}"
value="Binding"></h:commandButton>
<h:outputText value = "#{inplaceSelect.bindLabel}"/>