Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 27272 invoked from network); 10 Aug 2005 19:37:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Aug 2005 19:37:44 -0000 Received: (qmail 35829 invoked by uid 500); 10 Aug 2005 19:37:32 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 35803 invoked by uid 500); 10 Aug 2005 19:37:32 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 35790 invoked by uid 99); 10 Aug 2005 19:37:32 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Aug 2005 12:37:32 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [194.25.134.81] (HELO mailout03.sul.t-online.com) (194.25.134.81) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Aug 2005 12:37:54 -0700 Received: from fwd19.aul.t-online.de by mailout03.sul.t-online.com with smtp id 1E2wOI-0004G5-03; Wed, 10 Aug 2005 21:37:30 +0200 Received: from albi (Xd7Y9OZJZe6vWcl-yGxzmSU+BrFPzKpN7mX1Fm5oLyu1fLBQe3Vlc5@[84.156.111.159]) by fwd19.sul.t-online.de with esmtp id 1E2wO5-0eVgie0; Wed, 10 Aug 2005 21:37:17 +0200 Reply-To: From: "Albrecht Leiprecht" To: "'Struts Users Mailing List'" Subject: RE: Validator...the 1001st question... Date: Wed, 10 Aug 2005 21:39:52 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AcWd4Pe9kVJl4ByYTYa1sVr4aekmSwAAhbeg X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 In-Reply-To: <1E2w87-29pJjM0@fwd27.sul.t-online.de> Message-ID: <1E2wO5-0eVgie0@fwd19.sul.t-online.de> X-ID: Xd7Y9OZJZe6vWcl-yGxzmSU+BrFPzKpN7mX1Fm5oLyu1fLBQe3Vlc5 X-TOI-MSGID: 2639bc29-e944-45e3-acab-e6e20dc37fe1 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N and .... yes .... I am .... [...] test (*this* != "u") [...] Should be [...] test (*this* != "u") [...] If I want to override it's default error message ;) Stopped scratching his head .... albi -----Original Message----- From: Albrecht Leiprecht [mailto:aleiprecht@t-online.de] Sent: Wednesday, August 10, 2005 9:23 PM To: 'Struts Users Mailing List' Subject: Validator...the 1001st question... Hi all, I'm curious ... shouldn't it be possible to override the default error message assigned to a validator rule ? Here's the example: validator.xml [...] test (*this* != "u") [...] validator-rules.xml [...] [...] I understand, that the "errors.required" is the default msg. And thats exactly what gets shown in case of an error. Am I stupid or shouldn't it show "error.saluation.makechoice" instead ?? scratching his head albi --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org