]
Subject: Re: Stupid Bean tricks
Assuming your User object is stored in the request under the
key user, the language you want is en (English), and the
UserData property you want is message, you would do:
bean:message name=user property=en.message/
--
Martin Cooper
Joe Hertz [EMAIL
PM
To: [EMAIL PROTECTED]
Subject: Re: Stupid Bean tricks
Assuming your User object is stored in the request under the
key user, the language you want is en (English), and the
UserData property you want is message, you would do:
bean:message name=user property=en.message
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]
Probably a very basic question, and infinitely dealableI hope.
I have a User object,
]
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
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
5 matches
Mail list logo