Autocompleter issues request on page load
-----------------------------------------

                 Key: WW-2241
                 URL: https://issues.apache.org/struts/browse/WW-2241
             Project: Struts 2
          Issue Type: Bug
          Components: Plugins
    Affects Versions: 2.1.0
            Reporter: Benjamin McCann


When I load a page, every autocompleter on that page is issuing a request.  I 
believe the default behavior for this should be to issue a request only after 
three characters have been typed.

Here's an example of how I am including an autocompleter on my page:
        <s:url id="lastNameList" action="AutocompleteField" 
method="getLastNames" />
        <sx:autocompleter name="lastName" id="lastName" cssStyle="width:132px; 
height:16px; border:1px solid #7B9EBD" href="%{lastNameList}" size="22" 
dropdownWidth="200" dropdownHeight="150" showDownArrow="false" 
autoComplete="false" loadOnTextChange="true" searchType="startstring" />      


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to