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

Christian Bauer christian at hibernate.org
Mon Mar 19 00:53:54 EDT 2007


  User: cbauer  
  Date: 07/03/19 00:53:54

  Added:       examples/wiki/view/plugins/lastModifiedDocuments 
                        plugin.xhtml
  Log:
  Basic in-document plugin system working
  
  Revision  Changes    Path
  1.1      date: 2007/03/19 04:53:54;  author: cbauer;  state: Exp;jboss-seam/examples/wiki/view/plugins/lastModifiedDocuments/plugin.xhtml
  
  Index: plugin.xhtml
  ===================================================================
  <s:div id="lastModifiedDocuments"
  	 xmlns="http://www.w3.org/1999/xhtml"
       xmlns:ui="http://java.sun.com/jsf/facelets"
       xmlns:h="http://java.sun.com/jsf/html"
       xmlns:f="http://java.sun.com/jsf/core"
       xmlns:wiki="http://jboss.com/products/seam/wiki"
       xmlns:s="http://jboss.com/products/seam/taglib">
  
      <h:dataTable value="#{lastModifiedDocuments}" var="doc" style="width:300px"
           styleClass="datatable rightBorder leftBorder topBorder bottomBorder"
          headerClass="regularHeader alignLeft"
           columnClasses="tenPercentColumn alignLeft, tenPercentColumn alignLeft"
           rowClasses="rowOdd,rowEven"
           cellpadding="0" cellspacing="0" border="0">
          <h:column>
              <f:facet name="header">
                  Recent changes:
              </f:facet>
              <h:outputLink value="#{wiki:renderURL(doc)}" styleClass="itemLink">
                  #{doc.name}
              </h:outputLink>
          </h:column>
          <h:column>
              <h:outputText value="#{doc.lastModifiedOn}"
                            rendered="#{!empty doc.lastModifiedOn}">
                  <f:convertDateTime type="both"/>
              </h:outputText>
              <h:outputText value=" (#{doc.lastModifiedBy.username})"
                            rendered="#{!empty doc.lastModifiedBy}">
              </h:outputText>
  
          </h:column>
      </h:dataTable>
  
  </s:div>
  
  
  
  



More information about the jboss-cvs-commits mailing list