[
https://issues.jboss.org/browse/RF-10862?page=com.atlassian.jira.plugin.s...
]
Jan Jamrich commented on RF-10862:
----------------------------------
I tried it with RF 4.0.0.20101220-M5 and with 2 event types - "change" and
"selectitem" in metamer, and it don't work with any of them. (not only both
a4j:ajax in one time, I tried them separately as well)
<a4j:ajax event="change" render="output"
listener="#{richBean.changeEventListener}" />
<a4j:ajax event="selectitem" render="output"
listener="#{richBean.actionListener}" />
Only listener set in valueChangeListener attribute is fired, listener set a4j:ajax
isn't invoked.
The same behavior is with current version of RF (4.1.0, r.) and with 4.0.0.Final, and it
doesn't work as well.
So I can confirm that listeners set in a4j:ajax are not fired while listeners set in
valueChangeListener attribute are fired correctly.
Autocomplete: does not perform decode of the behaviors
------------------------------------------------------
Key: RF-10862
URL:
https://issues.jboss.org/browse/RF-10862
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: component-input
Affects Versions: 4.0.0.Final
Reporter: Ilya Shaikovsky
Assignee: Jan Jamrich
http://community.jboss.org/message/598526#598526
checked with
<rich:autocomplete mode="cachedAjax" tokens=", "
minChars="0"
autoFill="false" selectFirst="false"
autocompleteMethod="#{autocompleteBean.autocomplete}"
valueChangeListener="#{autocompleteBean.vcl}">
<a4j:ajax listener="#{autocompleteBean.list}"
event="change"/>
</rich:autocomplete>
<h:inputText>
<a4j:ajax listener="#{autocompleteBean.list}"
event="change"/>
</h:inputText>
input calls listener and autocomplete not. Text renderer performs String clientId
= decodeBehaviors(context, component);
and in autocomplete there is no such code.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira