struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Musachy Barroso (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (WW-1878) Autocompleter does not work with three-char string
Date Sat, 12 May 2007 18:15:43 GMT

     [ https://issues.apache.org/struts/browse/WW-1878?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Musachy Barroso resolved WW-1878.
---------------------------------

       Resolution: Cannot Reproduce
    Fix Version/s: 2.1.0

I just tested this on the autocompleter example on showcase and it seems to be working fine.

> 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.


Mime
View raw message