[jboss-cvs] jboss-seam/examples/spring/view ...
Norman Richards
norman.richards at jboss.com
Sun Feb 18 14:57:59 EST 2007
User: nrichards
Date: 07/02/18 14:57:59
Modified: examples/spring/view index.xhtml
Added: examples/spring/view hotels.xhtml strings.xhtml
Log:
add em test
Revision Changes Path
1.3 +4 -21 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.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- index.xhtml 12 Feb 2007 21:14:24 -0000 1.2
+++ index.xhtml 18 Feb 2007 19:57:59 -0000 1.3
@@ -8,26 +8,9 @@
<title>Seam/Spring Integration Example</title>
</head>
<body>
- <h:form>
- <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>
+ <ul>
+ <li><s:link view="/strings.xhtml" value="strings example" /></li>
+ <li><s:link view="/hotels.xhtml" value="hotel dao" /></li>
+ </ul>
</body>
</html>
1.1 date: 2007/02/18 19:57:59; author: nrichards; state: Exp;jboss-seam/examples/spring/view/hotels.xhtml
Index: hotels.xhtml
===================================================================
<html xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:s="http://jboss.com/products/seam/taglib"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Seam/Spring Integration Example</title>
</head>
<body>
<h1>seamBookingDao</h1>
<ul>
<ui:repeat value="#{seamBookingDao.hotels}" var="hotel">
<li>#{hotel.name}</li>
</ui:repeat>
</ul>
<h1>springBookingDao</h1>
<ul>
<ui:repeat value="#{seamBookingDao.hotels}" var="hotel">
<li>#{hotel.name}</li>
</ui:repeat>
</ul>
</body>
</html>
1.1 date: 2007/02/18 19:57:59; author: nrichards; state: Exp;jboss-seam/examples/spring/view/strings.xhtml
Index: strings.xhtml
===================================================================
<html xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:s="http://jboss.com/products/seam/taglib"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Seam/Spring Integration Example</title>
</head>
<body>
<h:form>
<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