Re: [appfuse-user] Best practices for populating JSF SelectItems

2007-09-18 Thread Matt Raible
We recommend you populate drop-downs on startup, especially if they're going to be the same for all your users. We do this in StartupListener - which should be in your project if you've run full-source. If it's not, you should be able to copy this file into your project, change the package name (in

[appfuse-user] Best practices for populating JSF SelectItems

2007-09-18 Thread p7k
Dear appfusers, I got to wondering what would be considered a best practice for populating JSF SelectItems, say for drop-down menus. I use it with a globalSession scope. Currently, I have a separate bean class that contains Maps of Label/Value pairs. I prefer maps to Lists of SelectItem - seem