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:
“The present war having so long cut off all communication with Great-Britain, we are not able to make a fair estimate of the state of science in that country. The spirit in which she wages war is the only sample before our eyes, and that does not seem the legitimate offspring either of science or of civilization.”
—Thomas Jefferson (17431826)