[jboss-user] [JBoss Seam] - getting the selectedItem via JavaScript
rmemoria
do-not-reply at jboss.com
Tue Sep 25 22:55:43 EDT 2007
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
More information about the jboss-user
mailing list