[jboss-cvs] jboss-seam/examples/wiki/view ...
Christian Bauer
christian at hibernate.org
Wed Oct 10 03:09:00 EDT 2007
User: cbauer
Date: 07/10/10 03:09:00
Modified: examples/wiki/view docDisplay_m.xhtml
Log:
Comments not shown with mobile skin
Revision Changes Path
1.3 +57 -51 jboss-seam/examples/wiki/view/docDisplay_m.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: docDisplay_m.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/wiki/view/docDisplay_m.xhtml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- docDisplay_m.xhtml 26 Sep 2007 09:36:46 -0000 1.2
+++ docDisplay_m.xhtml 10 Oct 2007 07:09:00 -0000 1.3
@@ -5,6 +5,7 @@
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:c="http://java.sun.com/jstl/core"
xmlns:wiki="http://jboss.com/products/seam/wiki"
template="themes/#{wikiPreferences.themeName}/#{skin}/template.xhtml">
@@ -50,13 +51,15 @@
<s:fragment rendered="#{not empty commentHome.comments and documentHome.instance.enableComments}">
<br/>
- <h:dataTable value="#{commentHome.comments}" var="c"
- rowClasses="rowOdd,rowEven"
- cellpadding="0" cellspacing="0" border="0">
- <h:column>
- <f:facet name="header">
+ <div class="boxHeader">
#{wiki:sizeOf(commentHome.comments)} comment(s):
- </f:facet>
+ </div>
+
+ <h:panelGrid columns="1" rowClasses="rowEven, rowOdd">
+
+ <c:forEach var="c" items="#{commentHome.comments}">
+
+ <s:div>
<div class="commentSubject">
<h:outputText value="#{c.subject}" rendered="#{documentHome.instance.name != c.subject}"/>
@@ -102,8 +105,11 @@
</h:form>
</div>
- </h:column>
- </h:dataTable>
+ </s:div>
+
+ </c:forEach>
+
+ </h:panelGrid>
</s:fragment>
<s:fragment rendered="#{documentHome.instance.enableComments and documentHome.instance.enableCommentForm}">
More information about the jboss-cvs-commits
mailing list