RE: Stupid Bean tricks

2003-12-07 Thread Joe Hertz
] 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

Re: Stupid Bean tricks

2003-12-07 Thread Martin Gainty
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

Re: Stupid Bean tricks

2003-12-05 Thread Martin Cooper
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,

RE: Stupid Bean tricks

2003-12-05 Thread Joe Hertz
] 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

Re: Stupid Bean tricks

2003-12-05 Thread Martin Cooper
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