Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-2241

Autocompleter issues request on page load

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 2.1.0
    • 2.1.4
    • Plugin - Mechanism
    • None

    Description

      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" />

      Attachments

        Activity

          People

            Unassigned Unassigned
            chengas123 Java Developer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: