Sample Vroom-config.xml
xsi:schemaLocation="http://www.openkoncept.net/schema/vroom-config-2.1.xsd vroom-config-2.1.xsd">
#container {height:15em;}
body {
margin: 0;
padding: 0;
}
var jso = JSON.parse('#{companies.array}');
var array = new Array;
for(var i = 0; i < jso.length; i++) {
array.push(jso.label);
}
var myDataSource=new YAHOO.widget.DS_JSArray(array);
var myAutoComp = new YAHOO.widget.AutoComplete ("myInput", "myContainer", myDataSource);
]]>
Read more about this topic: Vroom Framework
Famous quotes containing the word sample:
“All that a city will ever allow you is an angle on itan oblique, indirect sample of what it contains, or what passes through it; a point of view.”
—Peter Conrad (b. 1948)