Hi!!
I'm working with JBOSS SEAM 2.0.1.GA plus EJB 3.
I'm a bit confusing with selectItems and converters.
I have a page where I select one element from a combo (typical foreign key). So my xthml code is something like this:
............. ............. <h:selectOneMenu value="#{myBean.myBeanType}"> <s:selectItems value="#{beanTypes.resultList}" var="type" label="#{type.name}" noSelectionLabel="Please Select..."/> <s:convertEntity /> </h:selectOneMenu> ............. .............
This combo is used to filter the results of a search, so I need to maintain selected the correct value after submit and filtered search. So I have one page param:
<param name="type" value="#{myBean.myBeanType}"/>
But nothing is preselected. I think the problem is the need of converter in param, but I don´t know what I have to use. Cconverter or converterId? whats the difference? and what value I need to put in these attributes
Thanks in advance