You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by hl...@apache.org on 2005/06/07 23:26:54 UTC

cvs commit: jakarta-tapestry/src/documentation/resources/stylesheets votes2document.xsl changes2document.xsl

hlship      2005/06/07 14:26:54

  Modified:    .        status.xml
               src/documentation/content/xdocs site.xml
  Added:       src/documentation sitemap.xmap
               src/documentation/resources/stylesheets votes2document.xsl
  Removed:     src/documentation/resources/stylesheets changes2document.xsl
  Log:
  Add page listing the project voting history.
  
  Revision  Changes    Path
  1.117     +1 -0      jakarta-tapestry/status.xml
  
  Index: status.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/status.xml,v
  retrieving revision 1.116
  retrieving revision 1.117
  diff -u -r1.116 -r1.117
  --- status.xml	7 Jun 2005 17:41:40 -0000	1.116
  +++ status.xml	7 Jun 2005 21:26:54 -0000	1.117
  @@ -68,6 +68,7 @@
          <action type="add" dev="HLS">Add deprecated attribute to &lt;component-specification&gt; and &lt;parameter&gt;.</action>
          <action type="add" dev="HLS">Add configuration property org.apache.tapestry.accepted-locales, used to limit localization to a finite set of locales.</action>
          <action type="fix" dev="HLS" fixes-bug="TAPESTRY-335">Injection uses actual type of injected object, which may not be available (due to AOP, or due to use of JDK Proxies).</action>
  +       <action type="add" dev="HLS">Add page listing the project voting history.</action>
       </release>
       <release version="4.0-alpha-3" date="May 16 2005">
         <action type="add" dev="HLS">Add initial support for the validator: binding prefix.</action>
  
  
  
  1.1                  jakarta-tapestry/src/documentation/sitemap.xmap
  
  Index: sitemap.xmap
  ===================================================================
  <?xml version="1.0"?>
  <!-- 
     Copyright 2005 The Apache Software Foundation
  
     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at
  
         http://www.apache.org/licenses/LICENSE-2.0
  
     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
  -->
  
  <map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
   <map:pipelines>
    <map:pipeline>
      <map:match pattern="votes.xml">
        <map:generate type="file" src="{project:status}" />
        <map:transform src="{project:resources.stylesheets}/votes2document.xsl" />
        <map:serialize type="xml-document"/>
      </map:match>
    </map:pipeline>
   </map:pipelines>
   
  </map:sitemap>
  
  
  1.34      +1 -0      jakarta-tapestry/src/documentation/content/xdocs/site.xml
  
  Index: site.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/src/documentation/content/xdocs/site.xml,v
  retrieving revision 1.33
  retrieving revision 1.34
  diff -u -r1.33 -r1.34
  --- site.xml	1 Jun 2005 14:25:55 -0000	1.33
  +++ site.xml	7 Jun 2005 21:26:54 -0000	1.34
  @@ -143,6 +143,7 @@
           <item label="Bug Database"     href="http://issues.apache.org/jira/secure/BrowseProject.jspa?id=10573"/>
           <item label="CVS Access"      href="cvs.html"/>    
           <item label="Downloads" href="downloads.html"/>
  +        <item label="Voting History" href="votes.html"/>
       
           <reports label="Reports">
             &project-report-menu.ent;
  
  
  
  1.1                  jakarta-tapestry/src/documentation/resources/stylesheets/votes2document.xsl
  
  Index: votes2document.xsl
  ===================================================================
  <?xml version="1.0"?>
  <!-- 
     Copyright 2005 The Apache Software Foundation
  
     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at
  
         http://www.apache.org/licenses/LICENSE-2.0
  
     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
  -->
  
  <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:template match="/">
      <document>
        <header>
          <title>Project Voting History</title>
        </header>
        <body>
          <table>
            <tr>
              <th>Date</th>
              <th>Title</th>
              <th>Developer</th>
            </tr>
            <xsl:apply-templates select="//vote"/>
          </table>
        </body>
      </document>
    </xsl:template>
    <xsl:template match="vote">
      <tr>
        <td>
          <xsl:value-of select="@date"/>
        </td>
        <td>
          <xsl:value-of select="@title"/>
        </td>
        <td>
          <xsl:value-of select="@dev"/>
        </td>
      </tr>
      <tr>
        <td/>
        <td colspan="2">
          <xsl:value-of select="motion"/>
          <ul>
            <xsl:for-each select="response">
              <li>
                <xsl:value-of select="text()"/>
              </li>
            </xsl:for-each>
          </ul>
        </td>
      </tr>
    </xsl:template>
  </xsl:stylesheet>
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org