[jboss-user] [JBoss Seam] - <h:selectManyListbox> Creating problem

m.shinde do-not-reply at jboss.com
Fri Apr 13 07:14:38 EDT 2007


Hi

I used <h:selectManyListbox> in the JSF and I am able to see list of groups in the list box. But when I select one or more than one groups I am not able to get those values in the seam - Ejbs Action class.
 
E.g JSF Code
 
<h:selectManyListbox value="#{register.gruppen}" id="gruppen">
    <si:selectItems value="#{groupValues}" var="groups" label="#{groups.name}" config="#{mySelectItemsConfig}" />
    <si:convertEntity entityClass="de.bonprix.vip20.model.entity.Gruppe"/>
</h:selectManyListbox>
 
E.g EJb Code to get values of selected group.
 
@In(required = false)
@Out(required = false)
private List gruppen;

.... setter and getter method.

I am tried by giving String[] instead of List also.
 
when I submit the page I am getting gruppen null.

Please Suggest!.

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

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



More information about the jboss-user mailing list