Hi, 
   
  I'm trying to use the inputSuggestAjax control in sandbox snapshot 1.1.7. The 
control is working fine, except that it's ignoring the maxSuggestedItems value 
I'm specifying (1300), and returning the default 200 instead. Here's the code :
   
  <s:inputSuggestAjax id="listtest" maxSuggestedItems="1300" 
suggestedItemsMethod="#{searchParamVO.getTestISList}" 
value="#{searchParamVO.testIS}"/>
   
  The getTestISList method is receiving the value 1300 correctly, but my return 
list is still being truncated to the first 200. 
   
  I've probably missed something obvious, but InputSuggestAjaxRenderer.java 
seems to break out of the write loop when suggestedCount  > 
DEFAULT_MAX_SUGGESTED_ITEMS, and ignores that I've specified a higher value on 
the control?
   
  Any help would be greatly appreciated. I haven't tried building myfaces 
before, but I guess as a workaround I could increase 
DEFAULT_MAX_SUGGESTED_ITEMS - 200 as a default cutoff seems a little low. 
Although I'm sure people will disagree with sending back 1300, I chose the 
myfaces version of an inputsuggest so users can drop down the complete list 
before typing and ajax kicks in to reduce the list if they prefer.
   
  Cheers

       
---------------------------------
 For ideas on reducing your carbon footprint visit Yahoo! For Good this month.

Reply via email to