cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vgritse...@apache.org
Subject cvs commit: xml-cocoon2/src/webapp/docs/samples/xsp request.xsp
Date Tue, 12 Feb 2002 16:35:37 GMT
vgritsenko    02/02/12 08:35:37

  Modified:    src/webapp/docs/samples/xsp request.xsp
  Log:
  fix urls
  
  Revision  Changes    Path
  1.2       +14 -5     xml-cocoon2/src/webapp/docs/samples/xsp/request.xsp
  
  Index: request.xsp
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/webapp/docs/samples/xsp/request.xsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- request.xsp	9 Feb 2002 06:21:57 -0000	1.1
  +++ request.xsp	12 Feb 2002 16:35:37 -0000	1.2
  @@ -1,6 +1,6 @@
   <?xml version="1.0" encoding="ISO-8859-1"?>
   
  -<!-- CVS: $Id: request.xsp,v 1.1 2002/02/09 06:21:57 vgritsenko Exp $ -->
  +<!-- CVS: $Id: request.xsp,v 1.2 2002/02/12 16:35:37 vgritsenko Exp $ -->
   
   <xsp:page language="java"
             xmlns:xsp="http://apache.org/xsp"  
  @@ -8,7 +8,17 @@
   
   <page>
   
  -<xsp-request:set-attribute name="attr">Test Attribute Value</xsp-request:set-attribute>
  +<xsp:logic>
  +  String attribute= "Test Attribute Value!";
  +</xsp:logic>
  +
  +<!-- Set attribute -->
  +<xsp-request:set-attribute name="attr"><xsp:expr>attribute</xsp:expr></xsp-request:set-attribute>
  +
  +<!-- Also works:
  +<xsp-request:set-attribute name="attr">Test Value</xsp-request:set-attribute>
  +-->
  +
   
   <h1>xsp-request logicsheet output</h1>
   <table border="1">
  @@ -176,7 +186,6 @@
   get-header-names            <xsp-request:get-header-names as="xml"/>
   get-int-header - no sample
   get-date-header - no sample
  -get-headers - no sample
   get-headers                 <xsp-request:get-headers name="accept-language" as="xml"/>
   get-attribute attr          <xsp-request:get-attribute name="attr" as="xml"/>
   get-attribute-names         <xsp-request:get-attribute-names as="xml"/>
  @@ -202,9 +211,9 @@
   <xsp-request:remove-attribute name="attr"/>
   
   <h2>Links</h2>
  -<a href="request-test?param=value&amp;a=b&amp;x=y">Get</a>
  +<a href="request?param=value&amp;a=b&amp;x=y">Get</a>
   <br/>
  -<form method="post" action="request-test">
  +<form method="post" action="request">
   <input name="param"/>
   <input type="submit" value="Post"/>
   </form>
  
  
  

----------------------------------------------------------------------
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


Mime
View raw message