This content has been marked as final.
Show 1 reply
-
1. Re: Incorrect values in dropdown box items
oneworld95 Sep 1, 2009 5:54 PM (in response to oneworld95)Never mind. Found it: It's the itemValue property, which Eclipse was simply not showing as an attribute of the s:selectItems tag. Not sure why. Here's the working code:
<h:selectOneMenu > <f:selectItem itemLabel="" itemValue="#{null}"/> <s:selectItems var="tape" itemValue="#{tape.description}" value="#{vldtapeformatList.resultList}" label="#{tape.description}" /> <s:convertEntity/> </h:selectOneMenu>