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/formvalidation ERROR.xsp
Date Sat, 06 Apr 2002 05:48:20 GMT
vgritsenko    02/04/05 21:48:20

  Modified:    src/webapp/docs/samples/formvalidation ERROR.xsp
  Log:
  IIRC, context protocol has two slashes
  
  Revision  Changes    Path
  1.3       +7 -9      xml-cocoon2/src/webapp/docs/samples/formvalidation/ERROR.xsp
  
  Index: ERROR.xsp
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/webapp/docs/samples/formvalidation/ERROR.xsp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ERROR.xsp	21 Mar 2002 04:12:23 -0000	1.2
  +++ ERROR.xsp	6 Apr 2002 05:48:19 -0000	1.3
  @@ -1,13 +1,11 @@
   <?xml version="1.0" encoding="ISO-8859-1"?><!-- -*- sgml -*- -->
  -<xsp:page
  -   language="java"
  -   xmlns:xsp="http://apache.org/xsp"
  -   xmlns:xsp-formval="http://apache.org/xsp/form-validator/2.0"
  -   xmlns:xsp-request="http://apache.org/xsp/request/2.0"
  ->
   
  -   <page>
  +<xsp:page language="java"
  +          xmlns:xsp="http://apache.org/xsp"
  +          xmlns:xsp-formval="http://apache.org/xsp/form-validator/2.0"
  +          xmlns:xsp-request="http://apache.org/xsp/request/2.0">
   
  +   <page>
         <title>Car Reservation</title>
         <content>
   
  @@ -27,7 +25,7 @@
   	  <input type="TEXT" name="persons" size="2">
   	     <xsp:attribute name="value"><xsp-request:get-parameter name="persons" default=""/></xsp:attribute>
   	  </input>
  -	  <xsp-formval:descriptor name="context:///docs/samples/formvalidation/descriptor.xml"
constraint-set="car-reservation">
  +	  <xsp-formval:descriptor name="context://docs/samples/formvalidation/descriptor.xml"
constraint-set="car-reservation">
   	     <xsp:logic>
   	         if (userHasSeenForm) {
   		   if (<xsp-formval:is-toosmall name="persons"/> ) {
  @@ -42,7 +40,7 @@
   	  </xsp-formval:descriptor>
         </para>
   
  -	  <xsp-formval:descriptor name="context:///docs/samples/formvalidation/descriptor.xml"
constraint-set="car-reservation">
  +	  <xsp-formval:descriptor name="context://docs/samples/formvalidation/descriptor.xml"
constraint-set="car-reservation">
         <para>
   	     <xsp-formval:validate name="deposit">
   	     	Please enter your deposit EUR 
  
  
  

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