Looks right, and is it returning data for all of them?
musachy On 4/10/07, Scott Nesbitt <[EMAIL PROTECTED]> wrote:
Well, because loadMinimumCount is set to 2 it does not fire with one char. Here are the requests for strings of length 2, 3, 4, then backspace to 3 from fiddler. GET /enames2/html/LookupOrgs.action?org=nc HTTP/1.1 GET /enames2/html/LookupOrgs.action?org=nca HTTP/1.1 GET /enames2/html/LookupOrgs.action?org=ncaa HTTP/1.1 GET /enames2/html/LookupOrgs.action?org=nca HTTP/1.1 Thanks, Scott --- Musachy Barroso <[EMAIL PROTECTED]> wrote: > Can you post the url that its using for 1,2,3,4 > characters? You can use > FireBug for that, they should be something like > > http://....../LookupOrgs.action?org=ab > http://....../LookupOrgs.action?org=abc > > ... > > regards > musachy > > On 4/10/07, Scott Nesbitt <[EMAIL PROTECTED]> > wrote: > > > > > > 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. > > > > Using fiddler I verified the same JSON is getting > sent > > for both ways to get a three char string. > > > > Is this a known bug in the autocompleter? I am > using > > struts-2.0.6. > > > > Thanks, > > > > Scott > > > > > > > > > > > ____________________________________________________________________________________ > > Expecting? Get great news right away with email > Auto-Check. > > Try the Yahoo! Mail Beta. > > > http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > [EMAIL PROTECTED] > > For additional commands, e-mail: > [EMAIL PROTECTED] > > > > > > > -- > "Hey you! Would you help me to carry the stone?" > Pink Floyd > ____________________________________________________________________________________ Don't get soaked. Take a quick peak at the forecast with the Yahoo! Search weather shortcut. http://tools.search.yahoo.com/shortcuts/#loc_weather --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- "Hey you! Would you help me to carry the stone?" Pink Floyd