struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niall Pemberton" <niall.pember...@blueyonder.co.uk>
Subject Re: Using a key as var-value in validator
Date Fri, 03 Dec 2004 22:51:09 GMT
Actually I hate patches - but thats the party line! Changing the code's
usually easy and straight forward - its the testing that ends up taking
most of the time and is a pain, with a patch you just get to do the testing
part :-(

Now answering questions thats good - I don't have to test them :-)

Niall

----- Original Message ----- 
From: "David G. Friedman" <humble@ix.netcom.com>
To: "Struts Users Mailing List" <user@struts.apache.org>
Sent: Friday, December 03, 2004 10:37 PM
Subject: RE: Using a key as var-value in validator


> > 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 <var> 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" <ramv@m7.com>
> To: "Struts Users Mailing List" <user@struts.apache.org>
> 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
> <var-value> tag of the <field> 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
>
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message