you should look at http://wiki.apache.org/myfaces/Parameters_In_EL_Functions?highlight=%28map%29we had to work with 2500 different codes, this worked like a charm.
Ron On 9/29/07, simon <[EMAIL PROTECTED]> wrote: > > You might find this page useful: > > http://wiki.apache.org/myfaces/Parameters_In_EL_Functions > > On Sat, 2007-09-29 at 12:26 +0300, Cagatay Civici wrote: > > Hi Dave, > > > > Instead of defining getters for each field, you can make your backing > > bean implement the Map interface. > > > > So override the get method of the managed bean and return the > > corresponding value in your own map. > > > > Cagatay > > > > On 9/29/07, Dave <[EMAIL PROTECTED]> wrote: > > I have a Map (name --> value), and prefer to access values > > (from JSF page) using "#{myMap.Foo}" where Foo is the key, > > which is the same as how to access resource bundle > > "#{bundle.Foo}". > > > > There are 100+ values in the map, and I do not like to write > > 100+ getter methods. Please help. Thanks! > > > > David > > > > ______________________________________________________________ > > Check out the hottest 2008 models today at Yahoo! Autos. > > > > > > -- I reject your reality and substitute my own --- Adam Savage, the mythbusters

