[richfaces-issues] [JBoss JIRA] Commented: (RF-10862) Autocomplete: does not perform decode of the behaviors
Brian Leathem (JIRA)
jira-events at lists.jboss.org
Mon Sep 26 17:51:26 EDT 2011
[ https://issues.jboss.org/browse/RF-10862?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12630581#comment-12630581 ]
Brian Leathem commented on RF-10862:
------------------------------------
The behaviour event is fired, and acted upon by the server, but is ignored, because the behaviorSource is not the component itself:
{code}
if (behaviorSource != null && behaviorSource.equals(clientId)) {...}
{code}
In my test case, the Strings compared are: "j_idt48:j_idt50Input" and "j_idt48:j_idt50"
Note the extra "Input" appended to the end of the behaviorSource.
> 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: base functionality , component-input, core
> Affects Versions: 4.0.0.Final
> Reporter: Ilya Shaikovsky
> Fix For: 4.1.0.Tracking
>
>
> http://community.jboss.org/message/598526#598526
> checked with
> {code}
> <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>
> {code}
> input calls listener and autocomplete not. Text renderer performs
> {code}
> String clientId = decodeBehaviors(context, component);
> {code}
> 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
More information about the richfaces-issues
mailing list