[jboss-user] [JBoss Seam] - best practice for populating combos

lsabin do-not-reply at jboss.com
Wed Nov 7 12:37:55 EST 2007


Hi.

Which is the best practice for populating a selectOneListBox component? 

I have a list of static values and I want to load then just once. 
I tried using a @Factory annotation in the method which retrieves those values in a Seam component with SESSION scope.  But I am using a long-running conversation in my application and when I end this conversation the data seems to be removed.

If I put the list of values in the CONVERSATION scope the values get corrupted when I change the tab (I have a richfaces tabpanel).

I hope someone could help me to clarify this.

Thanks.

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

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



More information about the jboss-user mailing list