You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by gr...@apache.org on 2001/03/01 22:06:17 UTC

cvs commit: xml-cocoon/src/org/apache/cocoon/processor/xsp/library/java request.xsl

greenrd     01/03/01 13:06:17

  Modified:    src/org/apache/cocoon/processor/xsp/library/java request.xsl
  Log:
  fixed bad parameters, fixes bug 774
  
  Revision  Changes    Path
  1.13      +2 -2      xml-cocoon/src/org/apache/cocoon/processor/xsp/library/java/request.xsl
  
  Index: request.xsl
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/processor/xsp/library/java/request.xsl,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- request.xsl	2001/01/23 18:53:45	1.12
  +++ request.xsl	2001/03/01 21:06:16	1.13
  @@ -185,10 +185,10 @@
             XSPRequestLibrary.getLocale(request, document)
           </xsl:when>
           <xsl:when test="$as = 'string'">
  -          request.getLocale(request).toString()
  +          request.getLocale().toString()
           </xsl:when>
           <xsl:when test="$as = 'object'">
  -          request.getLocale(request)
  +          request.getLocale()
           </xsl:when>
         </xsl:choose>
       </xsp:expr>