Hi Christina,

maybe you should take a look  at the "setSelectionList" function.


here is a sample of code I use to fill mine (as javascript in a cform
template):

var langWidget = event.source.lookupWidget("../lang");
size = 10;
for( var i=1; i < size; i++) {
     data.lang[i] = {value: languages.getValue(i), label: languages.getLabel(i)};
}
 langWidget.setSelectionList(data.lang, "value", "label");

//languages is an home made java class


hope this help,
Stephane



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to