selectMany value wrong using ajax single support inside.
--------------------------------------------------------
Key: RF-3792
URL:
http://jira.jboss.com/jira/browse/RF-3792
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1
Reporter: Ilya Shaikovsky
Assigned To: Nick Belaevski
Fix For: 3.2.2
https://enterprise.redhat.com/issue-tracker/?module=issues&action=vie...
I've just added
<h:selectManyListbox value="#{pickListBean.result}">
<f:selectItems value="#{capitalsBean.capitalsOptions}"/>
<a4j:support event="onchange"
ajaxSingle="true"></a4j:support>
</h:selectManyListbox>
to our demosite support page and added
public void setResult(List<String> result) {
System.out.println("PickListBean.setResult()");
System.out.println(result.size());
this.result = result;
}
inside picklistbean
and after submit I have in console
PickListBean.setResult()
2
Removing ajaxSingle I have in console
PickListBean.setResult()
1
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira