Hello!
Thanks for reading this. I`m developing an application with some suggestionbox elements inside a DataTable. My problem is, that the values of this elements are not updated. I get a null Converter message.
Here is the code of the suggestionbox:
<h:inputText size="45" id="stationId" value="#{it.station}"/>
<rich:suggestionbox
for="stationId"
suggestionAction="#{stationBean.autocomplete}"
var="suggestStationId"
height="200" width="200"
minChars="3">
<h:column>
<h:outputText value="#{suggestStationId}"/>
</h:column>
<a4j:support event="onselect" >
<f:setPropertyActionListener value="#{suggestStationId.id}" target="#{it.stationId}">
<f:converter converterId="stationIdConverter"/>
</f:setPropertyActionListener>
</a4j:support>
<a4j:ajaxListener type="org.ajax4jsf.ajax.ForceRender"/>
</rich:suggestionbox>
<h:dataTable value="#{journeyBean.currentStops}" var="it"public final List<Station> autocomplete(final Object event)
public void setId(final Integer id) {
this.id = id;
}sourceId=j_id31:j_id547:j_id585:1:stationId[severity=(ERROR 2), summary=(Conversion Error setting value 'City1' for 'null Converter'.), detail=(Conversion Error setting value 'City2' for 'null Converter'.)]
Hello,
Looks like "stationId" input is being processed too. Does anything change if you add ajaxSingle="true" to a4j:support component?