[richfaces-issues] [JBoss JIRA] (RF-11519) Metamer: rich:autocomplete: @autofill=true doesn't work
Brian Leathem (Commented) (JIRA)
jira-events at lists.jboss.org
Fri Nov 18 17:28:40 EST 2011
[ https://issues.jboss.org/browse/RF-11519?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12644129#comment-12644129 ]
Brian Leathem commented on RF-11519:
------------------------------------
The default behavoiur of the autocomplete component has @selectFirst=_true_. However, this default value does not work with metamer, as metamer sets the value using EL, and the JSF EL interprets _null_ EL as _false_. To mimick the out-of-the-box behaviour of the autocomplete component, one must explicitly set @selectFirst=_true_.
Once you set @selectFist=_true_ in metamer, the behavior you are describing is achieved for @autofill=_true_.
> Metamer: rich:autocomplete: @autofill=true doesn't work
> -------------------------------------------------------
>
> Key: RF-11519
> URL: https://issues.jboss.org/browse/RF-11519
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-input, regression
> Environment: RichFaces 4.1.0.20111011-M3 r.
> Metamer 4.1.0.20111011-M3 r.22776
> Mojarra 2.0.4-b09-jbossorg-4
> JBoss Web 7.0.1.Final
> Java(TM) SE Runtime Environment 1.6.0_26-b03 @ Linux
> Firefox 8.0 @ Linux i686
> Reporter: Ján Jamrich
> Assignee: Brian Leathem
> Priority: Minor
>
> When set @autofill=true, autofill behavior don't occurs.
> This option should causes that when type enough chars to distinguish unique item from suggestions, whole item value should appears in autocomplete input.
> But now need to type all letters or select from suggestions by mouse/keyborad. So, autofill option doesn't change behavior as expected.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list