[jboss-cvs] jboss-seam/examples/wiki/view ...
Christian Bauer
christian at hibernate.org
Thu Apr 19 05:32:08 EDT 2007
User: cbauer
Date: 07/04/19 05:32:08
Modified: examples/wiki/view docDisplay.xhtml docEdit.xhtml
Log:
Fixed comments and blog directory
Revision Changes Path
1.16 +2 -0 jboss-seam/examples/wiki/view/docDisplay.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: docDisplay.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/wiki/view/docDisplay.xhtml,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- docDisplay.xhtml 5 Apr 2007 14:38:26 -0000 1.15
+++ docDisplay.xhtml 19 Apr 2007 09:32:08 -0000 1.16
@@ -54,6 +54,8 @@
thumbnailLinkStyleClass="regularLink"/>
<ui:include src="includes/attachmentDisplay.xhtml"/>
+ <ui:include src="includes/commentsDisplay.xhtml"/>
+ <ui:include src="includes/commentForm.xhtml"/>
</s:div>
1.25 +20 -0 jboss-seam/examples/wiki/view/docEdit.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: docEdit.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/wiki/view/docEdit.xhtml,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -b -r1.24 -r1.25
--- docEdit.xhtml 19 Apr 2007 05:44:46 -0000 1.24
+++ docEdit.xhtml 19 Apr 2007 09:32:08 -0000 1.25
@@ -144,6 +144,26 @@
</s:div>
</s:div>
+ <s:div styleClass="entry">
+ <div class="label"> </div>
+ <div class="input">
+ <h:selectBooleanCheckbox value="#{documentHome.instance.enableComments}" tabindex="3">
+ <a:support event="onchange" reRender="commentFormSwitch"/>
+ </h:selectBooleanCheckbox>
+ Enable comments
+ </div>
+ </s:div>
+
+ <s:div id="commentFormSwitch">
+ <s:div styleClass="entry" rendered="#{documentHome.instance.enableComments}">
+ <div class="label"> </div>
+ <div class="input">
+ <h:selectBooleanCheckbox value="#{documentHome.instance.enableCommentForm}" tabindex="3"/>
+ Allow posting of new comments
+ </div>
+ </s:div>
+ </s:div>
+
<s:div styleClass="entry" rendered="#{documentHome.managed}">
<div class="label"> </div>
<div class="input">
More information about the jboss-cvs-commits
mailing list