Hi..

I am getting and error while accessing the value returned by custom picklist used from the view action button. When i select document in the list and click ok i get "undefined" instead of the value of a column. my code is below. Please advice.

ws = new Ext.nd.UIWorkspace();
ws.pickList({
type: "custom",
viewName : "Flow",
title : "Product List",
prompt : "Please select product",
column : 1,
multipleSelection : false,
useCheckboxSelection : false,
callback : handleMyPickList
});


function handleMyPickList(arStrings) {
var tmp = "";
if (arStrings == null) {
ws.prompt('OK', '', 'you clicked cancel');
} else {
for (var i=0; i<arStrings.length; i++) {
tmp += arStrings[i];
}
ws.prompt('OK', 'Results', 'Picklist returned:<br/> ' + tmp.toString());
//Ext.get('Customer').dom.value = tmp.toString();
}

}

thanks for the help

- Milind