Hi all,

I have a page with a s:selectItems tag feeding a h:selectOneMenu like that:

<h:selectOneMenu id="source" value="#{userSelection.source}" required="true">
  |             <s:selectItems value="#{sources.resultList}" var="c" 
label="#{c.name}" noSelectionLabel="-" value="#{c.id}" />
  |             <s:convertEntity/>
  | </h:selectOneMenu>

I have to take the ID of the selected item via JavaScript, but the value of the 
selectedItem is not the ID, but a meaningless number for me. 

Does anybody know how can I do that?

Regards,
Ricardo Memória

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

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

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to