You can find the full source code for this website in the Seam package in the directory /examples/wiki. It is licensed under the LGPL.
| Online: | 23 Members of 4546 |
| Forum: Seam Users |
27. Mar 2008, 16:27 CET | Link |
I used eclipse with Seam 2.0.0.GA and JBoss AS 4.2.2 and entity generated my code. Tried to use S:convertEntity for a dropdown and received this error. Could somebody help me with this issue?
Argument Error: An option for component prodxxx was not an instance of javax.faces.model.SelectItem. Type found: java.util.ArrayList.
<ui:define name="value1" required="true">
<h:selectOneMenu id="prodxxx" required="true" value="#{projectHome.instance.product}">
<f:selectItems value="#{productList.resultList}" var="product"
label="#{productList.product.prodSdescrip}"
noSelectionLabel="Select..."/>
<s:convertEntity />
</h:selectOneMenu>
<a:support event="onblur" reRender="productDecoration" bypassUpdates="true" ajaxSingle="true"/>
</ui:define>
Same thing with s:selectItems?
If a man speaks in the forest and there is no woman around to hear him, is he still wrong?
Works like a charm. Thank you so much!