[
https://issues.jboss.org/browse/RF-10657?page=com.atlassian.jira.plugin.s...
]
Ilya Shaikovsky commented on RF-10657:
--------------------------------------
Okay. I get the problem source.
It works like there only if some token present in inserted String. Two reasons according
to current impl:
1) we need to find where to place cursor after insertion. And we assume that after current
insertion could be more strings separated with token like "alabama, ala,
alabama" (let assume we inserting item instead of "ala"). So we looking for
the next token to calculate new cursor position.
2) about second "Island" occurrence. Basically reason is the same. We need to
erase direct suggestion so we trying to look to next token or end of text. So second
'Island' - just not eraced one after the token occurence.
Talked to Pavel and we not sure that could implement that properly together with tokens
support. And b.t.w. even if that will be implemented that single entry after insertion
will be considered by the component as two words separated and will provide separate
suggestion if you will try to edit them more.
So I propose to document that as restriction and reject.
Autocomplete - wrongly handles input for options which contain one of
tokens
----------------------------------------------------------------------------
Key: RF-10657
URL:
https://issues.jboss.org/browse/RF-10657
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: component-input
Affects Versions: 4.0.0.CR1
Environment: RichFaces 4.0.0.20110227-CR1 r.21967
Metamer 4.0.0.20110228-CR1 r.21993
Apache MyFaces JSF-2.0 Core Impl 2.0.4
JBoss AS 6.0.0.Final
OpenJDK Runtime Environment 1.6.0_20-b20 @Linux
Chrome 9.0.597.107 @ Linux x86_64
Reporter: Lukas Fryc
Assignee: Lukas Fryc
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira