<a:form ajaxSubmit="true" reRender=":dataListForm:dataTable">
<rich:spacer height="15" style="display:block"></rich:spacer>
<fhlbny:panel label="Maintain">
<s:decorate id="catgryMapId" template="/fields/view.xhtml">
<ui:define name="label">Report Category</ui:define>
<h:selectOneMenu id="cId"
value="#{collatRptCatgryTypeList.catgoryId.str}"
valueChangeListener="#{categoryId.valueCalled}"
onchange="submit()" converter="javax.faces.Integer">
<s:selectItems var="cc" value="#{collatRptCatgryList.resultList}"
label="#{cc.catgryDesc}" itemValue="#{cc.catgryId}"
noSelectionLabel="All Report Category" />
</h:selectOneMenu>
</s:decorate>
</fhlbny:panel>
</a:form>
When I do fast scrolling intially the valuechangelistener will be called. All things will work fine. As I go on scrolling up and down fast, the valuechangelistener is no longer called and i receive a exception in the logs-
Caused by:
java.lang.IllegalArgumentException: Could not set field value by reflection: CatgoryId.str on: com.fhlbny.crs.net.session.CatgoryId with value: class java.lang.String at org.jboss.seam.util.Reflections.set(
Reflections.java:86) at org.jboss.seam.Component.setFieldValue(
Component.java:1880) ... 74 more Caused by:
java.lang.IllegalArgumentException at sun.reflect.UnsafeObjectFieldAccessorImpl.set(Unknown Source) at java.lang.reflect.Field.set(Unknown Source) at org.jboss.seam.util.Reflections.set(
Reflections.java:71)
Hi,
Try switch on queuing for AJAX requests. Check a4j:queue example at livedemo & documentation.