I considered that, but (and I'm an utter newbie so I apologize here)

How would I refer to an element of UserData in a <bean:message> tag?

> -----Original Message-----
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Martin Cooper
> Sent: Friday, December 05, 2003 12:32 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Stupid Bean tricks
> 
> 
> Why not convert your Set into a Map keyed by language / locale? Then
> get(locale) is effectively provided for you.
> 
> --
> Martin Cooper
> 
> 
> "Joe Hertz" <[EMAIL PROTECTED]> wrote in message 
> news:[EMAIL PROTECTED]
oss.local...
> Probably a very basic question, and infinitely dealable....I hope.
>
> I have a User object, which itself contains a Set of UserData objects 
> (the UserData is stuff that needs to be multilingual. Each instance 
> has the part of the user's data that would vary when presented in each

> language).
>
> So, in my JSP, how do I get to a specific instance of UserData? I can 
> write a getter than could take a locale or even just a language code, 
> but since it's not a numeric, the taglib chokes on it, or at least it 
> appears to




---------------------------------------------------------------------
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