You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by ov...@apache.org on 2002/03/11 17:20:11 UTC

cvs commit: xml-cocoon2/src/scratchpad/schecoon/src/org/apache/cocoon/markup/xsp jpath.xsl

ovidiu      02/03/11 08:20:11

  Modified:    src/scratchpad/schecoon/src/org/apache/cocoon/markup/xsp
                        jpath.xsl
  Log:
  Use jobj() instead of javaValue().
  
  Revision  Changes    Path
  1.4       +4 -3      xml-cocoon2/src/scratchpad/schecoon/src/org/apache/cocoon/markup/xsp/jpath.xsl
  
  Index: jpath.xsl
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/scratchpad/schecoon/src/org/apache/cocoon/markup/xsp/jpath.xsl,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- jpath.xsl	16 Feb 2002 01:44:28 -0000	1.3
  +++ jpath.xsl	11 Mar 2002 16:20:11 -0000	1.4
  @@ -22,15 +22,16 @@
           <xsp:include>org.apache.commons.jpath.JPath</xsp:include>
           <xsp:include>org.apache.commons.jpath.JPathContext</xsp:include>
           <xsp:include>sisc.data.Value</xsp:include>
  -        <xsp:include>sisc.modules.J2S</xsp:include>
  +        <xsp:include>sisc.modules.S2J</xsp:include>
         </xsp:structure>
   
         <xsp:logic>
         </xsp:logic>
   
         <xsp:init-page>
  -        Value sbean = (Value)((Environment)resolver).getAttribute("bean-dict");
  -        Object bean = sbean.javaValue();
  +        S2J.JavaObject sbean
  +          = (S2J.JavaObject)((Environment)resolver).getAttribute("bean-dict");
  +        Object bean = sbean.jobj();
           JPathContext jpathContext = JPathContext.newContext(bean);
         </xsp:init-page>
   
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org