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 Thu, 21 Mar 2002 04:12:24 GMT
vgritsenko    02/03/20 20:12:24

  Modified:    src/webapp/docs/samples/formvalidation ERROR.xsp
  Log:
  Add message for null email
  
  Revision  Changes    Path
  1.2       +3 -1      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.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ERROR.xsp	3 Jan 2002 12:31:40 -0000	1.1
  +++ ERROR.xsp	21 Mar 2002 04:12:23 -0000	1.2
  @@ -78,7 +78,9 @@
   
   		<xsp:logic>
   	         if (userHasSeenForm) {
  -		    if ( <xsp-formval:is-nomatch/> ) {
  +		    if ( <xsp-formval:is-null/>) {
  +		 	 <b> You need to specify an email </b>
  +		    } else if ( <xsp-formval:is-nomatch/> ) {
   		 	 <b> This does not seem to be a valid email
   		    address. Expected <pre><xsp-formval:get-attribute
   		    parameter="email" name="matches-regex"/></pre></b>
  
  
  

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