[jboss-user] [JBoss Seam] - Re: Binding Dropdown To Database Table Using Seam..

jarkko@jab.fi do-not-reply at jboss.com
Wed Oct 18 00:49:37 EDT 2006

It says that your roomListByOrganization is null, which means that public List getRoomListByOrganization() didn't return anything?

If it's ok to have empty roomListByOrganization you need to initalize it with empty list;

  | @SelectItems(valueStrategy=SelectItems.Strategy.OBJECT, labelMethod="getname")
  |     private List<Room> roomListByOrganization = new ArrayList(Room);

I'm using @SelectItems from http://www.jroller.com/page/pmuir?entry=selectitems_revisited with the EntityConverter, and find it working quite nicely. Thou there're couple of bugs (see the end of the blog) in 1.0rc4, but those can be fixed easily.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3978958#3978958

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3978958

More information about the jboss-user mailing list