Author: mvitenkov
Date: 2008-07-14 05:58:18 -0400 (Mon, 14 Jul 2008)
New Revision: 9558
Modified:
trunk/test-applications/facelets/src/main/webapp/pages/Info/Info.xhtml
Log:
+events test
Modified: trunk/test-applications/facelets/src/main/webapp/pages/Info/Info.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/pages/Info/Info.xhtml 2008-07-14
09:49:05 UTC (rev 9557)
+++ trunk/test-applications/facelets/src/main/webapp/pages/Info/Info.xhtml 2008-07-14
09:58:18 UTC (rev 9558)
@@ -1,10 +1,17 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html
xmlns="http://www.w3.org/1999/xhtml"
-
xmlns:h="http://java.sun.com/jsf/html"
-
xmlns:f="http://java.sun.com/jsf/core"
-
xmlns:ui="http://java.sun.com/jsf/facelets">
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html
xmlns="http://www.w3.org/1999/xhtml"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:ui="http://java.sun.com/jsf/facelets">
- <f:subview id="infoSubview">
+<f:subview id="infoSubview">
+ <h:panelGrid binding="#{info.panelEvent}" columns="2">
+ </h:panelGrid>
+ <f:verbatim>
+ <br />
+ </f:verbatim>
+ <h:commandButton action="#{info.getEvent}" value="test
event"></h:commandButton>
+
<h:panelGrid columns="2">
<h:outputText value="style:"></h:outputText>
<h:dataTable id="styleTableID" value="#{info.style}"
var="info">
@@ -17,11 +24,13 @@
</h:dataTable>
<h:outputText value="attribute"></h:outputText>
- <h:selectBooleanCheckbox value="#{option.attribute}"
onchange="submit();"></h:selectBooleanCheckbox>
+ <h:selectBooleanCheckbox value="#{option.attribute}"
+ onchange="submit();"></h:selectBooleanCheckbox>
-
+
<h:outputText value="attribute:"
rendered="#{option.attribute}"></h:outputText>
- <h:dataTable id="attributeTableID"
rendered="#{option.attribute}" value="#{info.attribute}"
var="info">
+ <h:dataTable id="attributeTableID"
rendered="#{option.attribute}"
+ value="#{info.attribute}" var="info">
<h:column>
<h:outputText value="#{info.key}"></h:outputText>
</h:column>