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

Christian Bauer christian at hibernate.org
Wed Dec 19 08:33:35 EST 2007


  User: cbauer  
  Date: 07/12/19 08:33:35

  Modified:    examples/wiki/view   docDisplay_m.xhtml userList_d.xhtml
  Log:
  JBSEAM-2406 - Hide e-mail address if user is not logged in (configurable)
  
  Revision  Changes    Path
  1.7       +6 -4      jboss-seam/examples/wiki/view/docDisplay_m.xhtml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: docDisplay_m.xhtml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/wiki/view/docDisplay_m.xhtml,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -b -r1.6 -r1.7
  --- docDisplay_m.xhtml	19 Dec 2007 04:29:18 -0000	1.6
  +++ docDisplay_m.xhtml	19 Dec 2007 13:33:35 -0000	1.7
  @@ -230,10 +230,12 @@
                                           <f:param name="userId" value="#{c.createdBy.id}"/>
                                           <h:outputText value="#{c.createdBy.fullname}"/>
                                       </s:link>
  +                                    <s:fragment rendered="#{wiki:showEmailAddress()}">
                                       <br/>
                                       <h:outputLink value="#{wiki:escapeEmailURL(wiki:concat('mailto:', c.createdBy.email))}">
                                           <h:outputText value="#{wiki:escapeAtSymbol(c.createdBy.email)}"/>
                                       </h:outputLink>
  +                                    </s:fragment>
                                   </s:div>
   
                                   <s:div rendered="#{not c.ownedByRegularUser}">
  
  
  
  1.5       +1 -1      jboss-seam/examples/wiki/view/userList_d.xhtml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: userList_d.xhtml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/wiki/view/userList_d.xhtml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -b -r1.4 -r1.5
  --- userList_d.xhtml	19 Dec 2007 04:29:18 -0000	1.4
  +++ userList_d.xhtml	19 Dec 2007 13:33:35 -0000	1.5
  @@ -189,7 +189,7 @@
                   #{u.lastname}
               </h:column>
   
  -            <h:column>
  +            <h:column rendered="#{wiki:showEmailAddress()}">
                   <f:facet name="header">
                       <h:commandLink action="#{userSearch.sortBy('email')}" tabindex="1">
                           <h:graphicImage value="/themes/#{wikiPreferences.themeName}/img/sortindicator.up.gif" width="8" height="8"
  
  
  



More information about the jboss-cvs-commits mailing list