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

Christian Bauer christian at hibernate.org
Wed Apr 18 11:41:07 EDT 2007


  User: cbauer  
  Date: 07/04/18 11:41:07

  Modified:    examples/wiki/view/plugins/comments  plugin.xhtml
  Log:
  Ajax submit/rerender for comments
  
  Revision  Changes    Path
  1.4       +4 -3      jboss-seam/examples/wiki/view/plugins/comments/plugin.xhtml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: plugin.xhtml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/wiki/view/plugins/comments/plugin.xhtml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -b -r1.3 -r1.4
  --- plugin.xhtml	18 Apr 2007 15:34:29 -0000	1.3
  +++ plugin.xhtml	18 Apr 2007 15:41:07 -0000	1.4
  @@ -6,7 +6,8 @@
           xmlns:f="http://java.sun.com/jsf/core"
           xmlns:wiki="http://jboss.com/products/seam/wiki"
           xmlns:s="http://jboss.com/products/seam/taglib">
  -<s:div styleClass="#{showPluginPreferences and !empty commentsPreferencesEditor ? 'pluginPreferencesBox' : null}">
  +
  +<s:div id="comments" styleClass="#{showPluginPreferences and !empty commentsPreferencesEditor ? 'pluginPreferencesBox' : null}">
   
   <s:div id="commentsPreferences"
          rendered="#{showPluginPreferences and !empty commentsPreferencesEditor}">
  @@ -134,8 +135,8 @@
                   <div class="label">&#160;</div>
                   <div class="input">
   
  -                    <h:commandLink action="#{commentHome.persist}" tabindex="102"
  -                                   styleClass="button"><span class="buttonLabel">Post</span></h:commandLink>
  +                    <a:commandLink action="#{commentHome.persist}" tabindex="102" reRender="comments"
  +                                   styleClass="button"><span class="buttonLabel">Post</span></a:commandLink>
   
                   </div>
               </div>
  
  
  



More information about the jboss-cvs-commits mailing list