Author: gmaksimenko
Date: 2008-04-30 05:16:44 -0400 (Wed, 30 Apr 2008)
New Revision: 8355
Modified:
trunk/test-applications/facelets/src/main/webapp/InplaceSelect/InplaceSelect.xhtml
Log:
Change test for tabbing
Modified:
trunk/test-applications/facelets/src/main/webapp/InplaceSelect/InplaceSelect.xhtml
===================================================================
---
trunk/test-applications/facelets/src/main/webapp/InplaceSelect/InplaceSelect.xhtml 2008-04-30
09:16:33 UTC (rev 8354)
+++
trunk/test-applications/facelets/src/main/webapp/InplaceSelect/InplaceSelect.xhtml 2008-04-30
09:16:44 UTC (rev 8355)
@@ -1,7 +1,8 @@
<f:subview
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:rich="http://richfaces.org/rich"
id="inplaceSelectSubviewID">
-<h:inputText value="For verify tabbing"/> <br/>
+<h:inputText value="For verify tabbing tabindex=3" size="25"
tabindex="3"></h:inputText> <br/>
+
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
@@ -24,7 +25,7 @@
binding="#{inplaceSelect.myInplaceSelect}"
required="#{inplaceSelect.required}"
requiredMessage="#{inplaceSelect.requiredMessage}"
-
+ value="qwer"
onblur="#{event.onblur}"
onchange="#{event.onchange}"
onclick="#{event.onclick}"
@@ -60,7 +61,14 @@
<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" />
+
</rich:inplaceSelect>
+
are easy to exploit.
<h:panelGrid columns="2">
<a4j:commandButton value="refresh"
reRender="inplaceSelectValueCLID"></a4j:commandButton>