[jboss-cvs] jboss-seam/examples/wiki/view ...
Christian Bauer
christian at hibernate.org
Mon Apr 9 04:43:53 EDT 2007
User: cbauer
Date: 07/04/09 04:43:53
Modified: examples/wiki/view docEdit.xhtml
Log:
Plugin for feed teaser preview
Revision Changes Path
1.22 +13 -1 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.21
retrieving revision 1.22
diff -u -b -r1.21 -r1.22
--- docEdit.xhtml 8 Apr 2007 15:10:35 -0000 1.21
+++ docEdit.xhtml 9 Apr 2007 08:43:53 -0000 1.22
@@ -148,11 +148,23 @@
<s:div styleClass="entry" rendered="#{documentHome.managed}">
<div class="label"> </div>
<div class="input">
- <h:selectBooleanCheckbox value="#{documentHome.minorRevision}" tabindex="3"/>
+ <h:selectBooleanCheckbox value="#{documentHome.minorRevision}" tabindex="3">
+ <a:support event="onchange" reRender="feedSwitch"/>
+ </h:selectBooleanCheckbox>
Minor change, don't create a new revision
</div>
</s:div>
+ <s:div id="feedSwitch">
+ <s:div styleClass="entry" rendered="#{!documentHome.minorRevision or !documentHome.managed}">
+ <div class="label"> </div>
+ <div class="input">
+ <h:selectBooleanCheckbox value="#{documentHome.pushOnSiteFeed}" tabindex="3"/>
+ Push change onto site news syndication feed
+ </div>
+ </s:div>
+ </s:div>
+
</s:validateAll>
</div>
More information about the jboss-cvs-commits
mailing list