> -----Original Message-----
> From: Niall Pemberton [mailto:[EMAIL PROTECTED]
> Sent: Saturday, December 04, 2004 2:30 AM
> To: Struts Users Mailing List
> Subject: Re: Using a key as var-value in validator

> Validator. I've create a bugzilla ticket for this so it doesn't get
> forgotten.

Thanks for creating the BugZila ticket.

For my question, it seems as of now global constant is the only way
out as of now.

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



>
>
> Would be a good idea IMO to add key/bundle to the <var>
> element in Commons
>
> 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" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> 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:[EMAIL PROTECTED]
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ------------------------------------------------------------
> ---------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
>
> ------------------------------------------------------------
> ---------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to