If i initially send(from javascript) all the names of items, it works without any prob(for the timebeing forget the username password word)

but if i try to add any item name that is not in the initial list, it is shown as undefined in the onitemupdate event(in js).. (i can dynamically remove items from the list, depending on the user)

is this relates to the listener.update in dataadapter?

public String[] getItems(String user, String id) throws ItemsException {
String group = "item1 "+ "item2 "+"item3 "+"item4 "+"item5 "+"item6";
return tokenize(group);
}

in my javascript
//var ngroup = ["item1","item2","item3","item4","item5","item6","i tem7"];
//this works fine and will subscribe only item1 to item6 and updates them correctly
var ngroup = ["items"];
var nvTable = new NonVisualTable(ngroup,nschema,"MERGE");
onItemUpdate
nvTable.onItemUpdate = function(itemIndex,update,itemName) {
alert(itemName);// this alerts "undefined" if i use ngroup = ["items"]
}