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: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]