This content has been marked as final.
Show 1 reply
-
1. Re: h:selectOneMenu s:selectItems sending selected bean value.
gena Aug 12, 2009 12:44 AM (in response to nagendra_singh_krishnawat)I think, following should work if the custodianAccountHome.instance.bank is of compatible type with elements of allCustodians:
<h:selectOneMenu value="#{custodianAccountHome.instance.bank}" style="width:110px" required="true" > <s:selectItems value="#{allCustodians}" var="bankVar" label="#{bankVar.name}" noSelectionLabel="Please Select.."/> <s:convertEntity/> </h:selectOneMenu>
If it doesn't work, where is the
Argument type mismatch
thrown?