[jboss-cvs] jboss-seam/examples/wiki/view ...

Christian Bauer christian at hibernate.org
Sun Apr 22 06:15:32 EDT 2007


  User: cbauer  
  Date: 07/04/22 06:15:32

  Modified:    examples/wiki/view  dirEdit.xhtml
  Log:
  Fixed atom feed updating/purging logic
  
  Revision  Changes    Path
  1.19      +15 -9     jboss-seam/examples/wiki/view/dirEdit.xhtml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: dirEdit.xhtml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/wiki/view/dirEdit.xhtml,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -b -r1.18 -r1.19
  --- dirEdit.xhtml	21 Apr 2007 19:58:01 -0000	1.18
  +++ dirEdit.xhtml	22 Apr 2007 10:15:32 -0000	1.19
  @@ -7,6 +7,7 @@
                   xmlns:h="http://java.sun.com/jsf/html"
                   xmlns:wiki="http://jboss.com/products/seam/wiki"
                   xmlns:rich="http://richfaces.ajax4jsf.org/rich"
  +                xmlns:a="https://ajax4jsf.dev.java.net/ajax"
                   template="themes/#{wikiPreferences.themeName}/template.xhtml">
   
   <ui:define name="includeHeaders">
  @@ -99,19 +100,11 @@
           </div>
       </s:div>
   
  -    <s:div styleClass="entry">
  -        <div class="label">&#160;</div>
  -        <div class="input">
  -            <h:selectBooleanCheckbox value="#{directoryHome.hasFeed}" tabindex="2"/>
  -            Enable syndication feed
  -        </div>
  -    </s:div>
  -
       <s:div styleClass="entry"
              rendered="#{childNodes.rowCount>0 and s:hasPermission('Node', 'editMenu', directoryHome.instance)}">
           <div class="label">Menu items:</div>
           <div class="input">
  -            <h:dataTable id="directoryFormTable" var="node" style="width:60%"
  +            <h:dataTable id="directoryFormTable" var="node" style="width:50%"
                            value="#{childNodes}"
                            binding="#{wikiUtil.datatable}"
                            styleClass="datatable"
  @@ -164,6 +157,19 @@
           </div>
       </s:div>
   
  +    <s:div styleClass="entry">
  +        <div class="label">&#160;</div>
  +        <div class="input">
  +            <h:selectBooleanCheckbox value="#{directoryHome.hasFeed}" tabindex="2"
  +                                     disabled="#{empty directoryHome.instance.parent}"/>
  +            Enable syndication feed (disabling invalidates subcriber link)
  +            <a:commandLink id="resetFeed" reRender="messageBox"
  +                           action="#{directoryHome.resetFeed}"
  +                           rendered="#{!empty directoryHome.instance.feed}"
  +                           styleClass="buttonNonpersistent"><span class="buttonLabel">Reset Feed</span></a:commandLink>
  +        </div>
  +    </s:div>
  +
   </div>
   <div class="formControls wideLabels">
   
  
  
  



More information about the jboss-cvs-commits mailing list