This content has been marked as final.
Show 1 reply
-
1. Re: how can i get a selected value for a 'f:selectItems' when the options are foreign from other table?
vata2999 Feb 23, 2012 3:21 AM (in response to mlov)First of all you are using convertEntity so you need this code
<h:selectOneMenu
value="#{clientList.client.company}">
<f:selectItems value="#{listCompanies}" />
<s:convertEntity />
</h:selectOneMenu>
remove id
then whereever the listCompanies is coming from use this
@Begin(join=true)
if you have problem as far as i concern company is targetunreachable while you r accessing it from client
define it as seam component in components.xml as a property of client