commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From morg...@apache.org
Subject cvs commit: jakarta-commons/latka/src/webapps/latka-webapp/webapp report.xsl
Date Mon, 29 Apr 2002 18:52:56 GMT
morgand     02/04/29 11:52:56

  Modified:    latka/src/webapps/latka-webapp/webapp report.xsl
  Log:
  webapp support for the reportMessage tag
  
  Revision  Changes    Path
  1.2       +5 -1      jakarta-commons/latka/src/webapps/latka-webapp/webapp/report.xsl
  
  Index: report.xsl
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/latka/src/webapps/latka-webapp/webapp/report.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- report.xsl	22 Apr 2002 15:51:21 -0000	1.1
  +++ report.xsl	29 Apr 2002 18:52:55 -0000	1.2
  @@ -9,7 +9,7 @@
      </xsl:template>     
   
      <xsl:template match="report">
  -      <xsl:apply-templates select="//request[not(requestSuccess)]"/>
  +      <xsl:apply-templates select="//request[not(requestSuccess)] | reportMessage"/>
         <p><xsl:call-template name="summary"/></p>
      </xsl:template>
   
  @@ -30,6 +30,10 @@
           <xsl:value-of select="count(//request/requestSkipped)"/> skipped.<br/>
           <xsl:value-of select="count(//request/requestError)"/> errors.
         </p>
  +   </xsl:template>
  +
  +   <xsl:template match="reportMessage">
  +      <p><font color="green">[message]</font> <xsl:value-of select="@message"/></p>
      </xsl:template>
   
      <xsl:template match="request">
  
  
  

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message