[jboss-cvs] jboss-seam/examples/spring/view ...
Norman Richards
norman.richards at jboss.com
Mon Feb 12 16:14:24 EST 2007
User: nrichards
Date: 07/02/12 16:14:24
Modified: examples/spring/view index.xhtml
Log:
from patch
Revision Changes Path
1.2 +20 -5 jboss-seam/examples/spring/view/index.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: index.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/spring/view/index.xhtml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- index.xhtml 21 Jan 2007 07:36:18 -0000 1.1
+++ index.xhtml 12 Feb 2007 21:14:24 -0000 1.2
@@ -8,11 +8,26 @@
<title>Seam/Spring Integration Example</title>
</head>
<body>
- name is #{testBean.name}
-
<h:form>
- <h:commandButton action="#{app.loadBeans}" value="load through factory" />
- <h:commandButton action="#{app.loadBeans2}" value="load through context" />
+ <h:inputText value="#{manageStrings.string}"/><h:commandButton value="Add String" action="#{manageStrings.storeString}"/>
</h:form>
+ <h:dataTable value="#{manageStrings.stringStores}" var="store">
+ <h:column>
+ <f:facet name="header">
+ Strong
+ </f:facet>
+ #{store.beanName}
+ </h:column>
+ <h:column>
+ <f:facet name="header">
+ values
+ </f:facet>
+ <h:dataTable value="#{store.strings}" var="string">
+ <h:column>
+ #{string}
+ </h:column>
+ </h:dataTable>
+ </h:column>
+ </h:dataTable>
</body>
</html>
More information about the jboss-cvs-commits
mailing list