struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "King, Leon C" <leon.k...@verizonbusiness.com>
Subject RE: Dynamically set Autocompleter Search Limit
Date Tue, 08 May 2007 19:00:39 GMT
This argument must be ignored, using 2.0.6 ..    I've added, and the
list is now limited to 30...  Below is my code.   Correct me if I'm
wrong...?

	 <script type="text/javascript">
				dojo.require("dojo.widget.*");
				dojo.require("dojo.widget.ComboBox");	
	

				
				function init()
			      {
	
dojo.widget.byId("trunkName").dataProvider.ignoreLimit  = true;
	
dojo.widget.byId("switchName").dataProvider.ignoreLimit  = true;

	
dojo.widget.byId("trafficType").dataProvider.ignoreLimit  = true;

			        
	
dojo.event.connect(dojo.widget.byId("switchName"), 
			        			"onValueChanged"
, 
	
"fireevent"); 
	

								
			      }
      		        	
			      dojo.addOnLoad(init);

	</script> 	

-----Original Message-----
From: Musachy Barroso [mailto:musachy@gmail.com] 
Sent: Tuesday, May 08, 2007 2:47 PM
To: Struts Users Mailing List
Subject: Re: Dynamically set Autocompleter Search Limit

change limit:

dojo.widget.byId("id").dataProvider.searchLimit = 10;

no limit:

dojo.widget.byId("id").dataProvider.ignoreLimit = true;

musachy


On 5/8/07, King, Leon C <leon.king@verizonbusiness.com> wrote:
>
> All,
>
>             Is there currently a way to dynamically set the
> autocompleter tag's search limit or to specify 'Infinity' like the
Dojo
> docs suggest?
>
>
>
> Thanks.
>
>
>
> Leon
>
>


-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message