Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 9366 invoked from network); 10 Feb 2004 18:09:11 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 10 Feb 2004 18:09:11 -0000 Received: (qmail 434 invoked by uid 500); 10 Feb 2004 18:08:27 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 377 invoked by uid 500); 10 Feb 2004 18:08:26 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: users@cocoon.apache.org Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 297 invoked from network); 10 Feb 2004 18:08:25 -0000 Received: from unknown (HELO jupiter.lunarpages.com) (64.235.234.141) by daedalus.apache.org with SMTP; 10 Feb 2004 18:08:25 -0000 Received: from adsl-18-168-104.gsp.bellsouth.net ([68.18.168.104] helo=torpedo) by jupiter.lunarpages.com with asmtp (Exim 4.24) id 1AqcJM-0004mu-00 for users@cocoon.apache.org; Tue, 10 Feb 2004 10:08:40 -0800 From: "Brent L Johnson" To: Subject: RE: Form Validator Problem Date: Tue, 10 Feb 2004 13:08:16 -0500 Message-ID: <009801c3f000$e0055d20$c801a8c0@torpedo> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 In-Reply-To: <008a01c3eff9$520e2620$c801a8c0@torpedo> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - jupiter.lunarpages.com X-AntiAbuse: Original Domain - cocoon.apache.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - bjohnson.net X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N OK - I took a break and went and had some lunch. When I got back I decided to check the logs.. and in the sitemap.log I found the problem. I knew it was something small I was missing.. I gave the action the incorrect path for the send_descriptor.xml file! - Brent > I **know** I'm missing something here.. but > I'm following through the form-validation > docs and it seems easy.. but everytime I > run this pipeline I get sent to the error > page and the xsp-formval:on-xxx calls dont > seem to be give me the expected output even > when there is an error. > > Can someone please have a look at this > and point out what I'm missing? I've been > staring at this and the docs for a while > and it's driving me crazy.. because it looks > to me like it should work. > > ----------------- > Sitemap: > > > > > > > value="send_descriptor.xml"/> > > > > > > > > > > > > Descriptor: > > > matches-regex="^[\d\w][\d\w\-_\.]*@([\d\w\-_]+\.)\w\w\w?$" > nullable="no"/> > > > > > > send_error.xsp (snippet): > > > OUCH! No email_to!? > > DONE! > ----------------- > > Well.. no matter what I put in my email_to text field, > I get sent to the error page. I tried changing the > validation to just nullable="no" with no regexp and changing > the xsp-formval:on-nomatch to on-notpresent and on-null. > > I'm sure I'm missing something.. but by comparing this > to the doc.. I just dont see whats missing. > > Thanks, > > - Brent > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org > For additional commands, e-mail: users-help@cocoon.apache.org > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org