Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 29378 invoked from network); 3 Dec 2004 22:37:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 3 Dec 2004 22:37:28 -0000 Received: (qmail 96226 invoked by uid 500); 3 Dec 2004 22:37:07 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 96146 invoked by uid 500); 3 Dec 2004 22:37:07 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: 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 96119 invoked by uid 99); 3 Dec 2004 22:37:07 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from smtpauth08.mail.atl.earthlink.net (HELO smtpauth08.mail.atl.earthlink.net) (209.86.89.68) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 03 Dec 2004 14:37:05 -0800 Received: from [70.19.215.117] (helo=friedman) by smtpauth08.mail.atl.earthlink.net with asmtp (Exim 4.34) id 1CaM2x-0006XX-8R for user@struts.apache.org; Fri, 03 Dec 2004 17:37:03 -0500 From: "David G. Friedman" To: "Struts Users Mailing List" Subject: RE: Using a key as var-value in validator Date: Fri, 3 Dec 2004 17:37:11 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 In-Reply-To: <01d801c4d97b$150d6260$0200a8c0@DELL1800> X-ELNK-Trace: b135f2a34802a90f6f36dc87813833b242db76727cc5621b4524b20997832e05a37ece7590888f56350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 70.19.215.117 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N > If its something your interested in, patches are > always welcome :-) Patches? Patches? You think I have time for patches? Just because I pick up some of the tougher questions and try to find a solution for them to satisfy my own curiosity doesn't mean I want to TRULY know how the Struts or Commons Validator internals work on a low level. :) We'll see what I get around to.... Just don't ask me to make another taglib. My last one for the Validator wasn't requested by even one listmember. *Add a melodramatic sigh here for effect* Regards, David -----Original Message----- From: Niall Pemberton [mailto:niall.pemberton@blueyonder.co.uk] Sent: Friday, December 03, 2004 4:00 PM To: Struts Users Mailing List Subject: Re: Using a key as var-value in validator Would be a good idea IMO to add key/bundle to the element in Commons Validator. I've create a bugzilla ticket for this so it doesn't get forgotten. http://issues.apache.org/bugzilla/show_bug.cgi?id=32522 If its something your interested in, patches are always welcome :-) Niall ----- Original Message ----- From: "Ram Venkataswamy" To: "Struts Users Mailing List" Sent: Friday, December 03, 2004 6:09 PM Subject: RE: Using a key as var-value in validator Well, I think for now using Global Constant is the only option. Unless somebody else have a answer for this. -----Original Message----- From: Kinjal Sonpal [mailto:sharewithkinjal@gamebox.net] Sent: Wednesday, December 01, 2004 10:20 PM To: Struts Users Mailing List Subject: RE: Using a key as var-value in validator Ram, Thanks for replying back. > If you have defined resource bundle in struts config & are able to > access key from jsp then no additional step/configuration > is required to > access them in validation file. The arg/msg lookup resource bundle > defined for the application and then pick up value Yeah, this is fine. But I also need to access the key in defining tag of the tag. Right now I have to do a workaround by using a global constant. I want to avoid multiple points of updation. Thanks and regards, Kinjal Sonpal ---------------------------------------- "In the real world, the right thing never happens in the right place at the right time. It is the task of journalists and historians to rectify this error." Mark Twain --------------------------------------------------------------------- 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 --------------------------------------------------------------------- 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