[jboss-cvs] jboss-seam/examples/wiki/view ...
Christian Bauer
christian at hibernate.org
Sat Aug 25 16:07:58 EDT 2007
User: cbauer
Date: 07/08/25 16:07:58
Modified: examples/wiki/view docEdit.xhtml
Log:
Making feed entry generation more selective
Revision Changes Path
1.39 +48 -15 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.38
retrieving revision 1.39
diff -u -b -r1.38 -r1.39
--- docEdit.xhtml 25 Aug 2007 19:15:11 -0000 1.38
+++ docEdit.xhtml 25 Aug 2007 20:07:58 -0000 1.39
@@ -111,6 +111,38 @@
</div>
</s:div>
+ <s:fragment rendered="#{not documentHome.managed}">
+ <s:div styleClass="entry">
+ <div class="label"> </div>
+ <div class="input">
+ <h:selectBooleanCheckbox value="#{documentHome.pushOnFeeds}" tabindex="3">
+ <a:support event="onchange" reRender="pushOnSiteFeedSwitchUnmanaged"/>
+ </h:selectBooleanCheckbox>
+ Create entry on parent directory feeds
+ </div>
+ </s:div>
+ <s:div id="pushOnSiteFeedSwitchUnmanaged">
+ <s:div styleClass="entry" rendered="#{documentHome.pushOnFeeds}">
+ <div class="label"> </div>
+ <div class="input">
+ <h:selectBooleanCheckbox value="#{documentHome.pushOnSiteFeed}" tabindex="3"/>
+ Create entry on global site feed
+ </div>
+ </s:div>
+ </s:div>
+ </s:fragment>
+
+ <s:fragment rendered="#{documentHome.managed}">
+ <s:fragment rendered="#{documentHome.siteFeedEntryPresent}">
+ <s:div styleClass="entry">
+ <div class="label"> </div>
+ <div class="input">
+ <h:selectBooleanCheckbox value="#{documentHome.pushOnFeeds}" tabindex="3"/>
+ Push changes onto feeds
+ </div>
+ </s:div>
+ </s:fragment>
+ <s:fragment rendered="#{not documentHome.siteFeedEntryPresent}">
<s:div styleClass="entry">
<div class="label"> </div>
<div class="input">
@@ -120,16 +152,17 @@
Push changes onto feeds of parent directories
</div>
</s:div>
-
<s:div id="pushOnSiteFeedSwitch">
<s:div styleClass="entry" rendered="#{documentHome.pushOnFeeds}">
<div class="label"> </div>
<div class="input">
<h:selectBooleanCheckbox value="#{documentHome.pushOnSiteFeed}" tabindex="3"/>
- Push changes onto global site news syndication feed
+ Create entry on global site feed
</div>
</s:div>
</s:div>
+ </s:fragment>
+ </s:fragment>
<s:decorate id="contentDecorate" template="includes/formFieldDecorate.xhtml">
<ui:param name="tabId" value="docContentTab"/>
More information about the jboss-cvs-commits
mailing list