[
https://issues.apache.org/struts/browse/WW-1878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40988
]
Musachy Barroso commented on WW-1878:
-------------------------------------
There is a semicolon on your jsp, I will assume it is a typo :)
> Autocompleter does not work with three-char string
> --------------------------------------------------
>
> Key: WW-1878
> URL: https://issues.apache.org/struts/browse/WW-1878
> Project: Struts 2
> Issue Type: Bug
> Affects Versions: 2.0.6
> Environment: Solaris 10, Weblogic 9.2.1
> Reporter: Scott Nesbitt
> Assigned To: Musachy Barroso
> Fix For: 2.1.0
>
>
> I am using the autocompleter tag like this:
> <s:url id="autoorgs" action="LookupOrgs"/>
> <s:autocompleter name="org"
> id="org"
> keyName="orgKey"
> theme="ajax"
> href="%{#autoorgs}"
> cssStyle="width:450px;"
> dropdownHeight="170";
> loadMinimumCount="2"
> loadOnTextChange="true"
> autoComplete="false"
> showDownArrow="false"
> searchType="substring"
> forceValidOption="true"/>
> When I type a two-char string in the text box it works
> fine: six items in the dropdown. However, when I
> add another char there is nothing in the dropdown.
> When I add a fourth char I get six items again. When I
> backspace to three chars, I see six items in the
> dropdown.
> GET /enames2/html/LookupOrgs.action?org=nca HTTP/1.1
> Using fiddler I verified the same JSON is getting sent
> for both ways to get a three char string:
> [
> ["NCAA BKBL ATLANTIC 10 CONF-EAST"],
> ["NCAA BKBL ATLANTIC COAST CONF"],
> ["NCAA BKBL BIG 10 CONF"],
> ["NCAA BKBL BIG 12 CONF"],
> ["NCAA BKBL BIG EAST CONF"],
> ["NCAA BKBL BIG SKY CONF"],
> ]
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.