Author: gmaksimenko
Date: 2008-04-18 05:22:10 -0400 (Fri, 18 Apr 2008)
New Revision: 7916
Modified:
trunk/test-applications/facelets/src/main/webapp/InplaceInput/InplaceInput.xhtml
Log:
Add test for layout
Modified:
trunk/test-applications/facelets/src/main/webapp/InplaceInput/InplaceInput.xhtml
===================================================================
---
trunk/test-applications/facelets/src/main/webapp/InplaceInput/InplaceInput.xhtml 2008-04-18
07:13:08 UTC (rev 7915)
+++
trunk/test-applications/facelets/src/main/webapp/InplaceInput/InplaceInput.xhtml 2008-04-18
09:22:10 UTC (rev 7916)
@@ -1,9 +1,12 @@
<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="inplaceInputSubviewID">
+
+<h:inputText value="For verify tabbing"></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
-<rich:inplaceInput inputMaxLength="#{inplaceInput.inputMaxLength}"
+<rich:inplaceInput id = "inplaceInputId1"
inputMaxLength="#{inplaceInput.inputMaxLength}"
inputWidth="#{inplaceInput.inputWidth}"
maxInputWidth="#{inplaceInput.maxInputWidth}"
minInputWidth="#{inplaceInput.minInputWidth}"
@@ -18,7 +21,8 @@
selectOnEdit="#{inplaceInput.selectOnEdit}"
showControls="#{inplaceInput.showControls}"
rendered="#{inplaceInput.rendered}"
- immediate="#{inplaceInput.immediate}">
+ immediate="#{inplaceInput.immediate}"
+ layout = "#{inplaceInput.layout}">
</rich:inplaceInput>
are easy to exploit. <h:commandButton
value="ok"></h:commandButton>
<h:panelGrid columns="2">
@@ -97,6 +101,13 @@
<h:outputText value="requiredMessage"></h:outputText>
<h:inputText value="#{inplaceInput.requiredMessage}"
onchange="submit();">
</h:inputText>
-
+
+ <h:commandButton actionListener="#{inplaceInput.checkBinding}"
value="Binding"></h:commandButton>
+ <h:outputText value="#{inplaceInput.bindLabel}"></h:outputText>
+
+ <h:outputText value="layout"></h:outputText>
+ <h:inputText value="#{inplaceInput.layout}"
onchange="submit();">
+ </h:inputText>
+
</h:panelGrid>
</f:subview>
\ No newline at end of file