[
https://issues.jboss.org/browse/RF-12471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12716863#comment-12716863
]
Brian Leathem edited comment on RF-12471 at 10/12/12 4:07 PM:
--------------------------------------------------------------
Hi Brian, of course I've first had a look at the RF4 examples ...
My code uses a different mode
{code}
<h:form>
<rich:autocomplete mode="ajax" autofill="true" minChars="1"
autocompleteMethod="#{richBean.autocomplete}" />
</h:form>
{code}
vs.
{code}
<h:form>
<rich:autocomplete mode="cachedAjax" tokens=", " minChars="1"
autofill="false" autocompleteMethod="#{autocompleteBean.autocomplete}" />
</h:form>
{code}
from the example, not sure why this makes a difference.
was (Author: bthalmayr):
Hi Brian, of course I've first had a look at the RF4 examples ...
My code uses a different mode
<h:form>
<rich:autocomplete mode="ajax" autofill="true" minChars="1"
autocompleteMethod="#{richBean.autocomplete}" />
</h:form>
vs.
<h:form>
<rich:autocomplete mode="cachedAjax" tokens=", " minChars="1"
autofill="false" autocompleteMethod="#{autocompleteBean.autocomplete}" />
</h:form>
from the example, not sure why this makes a difference.
> rich:autocomplete calls autocompleteMethod the first time when input length
> >= 2
> --------------------------------------------------------------------------------
>
> Key: RF-12471
> URL: https://issues.jboss.org/browse/RF-12471
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-input
> Affects Versions: 4.2.1.Final
> Environment: Mojarra 2.1.5 , Apache Tomcat/6.0.35
> Reporter: Bernhard Thalmayr
> Labels: rich:autocomplete
> Attachments: autocomplete.war
>
>
> No matter if minChars="0" or minChars="1" is set, the autocompleteMethod is
> only called the first time when input size >= 2, see attached sample app
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues