batch.fileUpload = true; batch.map[name] = data; 
batch.fileUpload = true; batch.map[name] = data; 
dwr.engine._serializeAll = function(batch, referto, data, name) {  if (data == null) {    batch.map[name] = "null:null";    return;  }  switch (typeof data) {  case "boolean":    batch.map[name] = "boolean:" + data;    break;  case "number":    batch.map[name] = "number:" + data;    break;  case "string":    batch.map[name] = "string:" + encodeURIComponent(data);    break;  case "object":    if (data instanceof String) batch.map[name] = "String:" + encodeURIComponent(data);    else if (data instanceof Boolean) batch.map[name] = "Boolean:" + data;    else if (data instanceof Number) batch.map[name] = "Number:" + data;    else if (data instanceof Date) batch.map[name] = "Date:" + data.getTime();    else if (data && data.join) batch.map[name] = dwr.engine._serializeArray(batch, referto, data, name);    else if (data && data.tagName && data.tagName.toLowerCase() == "input" && data.type && data.type.toLowerCase() == "file") {    	batch.fileUpload = true;    	batch.map[name] = data;    }    else batch.map[name] = dwr.engine._serializeObject(batch, referto, data, name);    break;  case "function":    // We just ignore functions.    break;  default:    dwr.engine._handleWarning(null, { name:"dwr.engine.unexpectedType", message:"Unexpected type: " + typeof data + ", attempting default converter." });    batch.map[name] = "default:" + data;    break;  }};
266	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/266/9cfb115e1b069f369eedb3df3463746c775d9752/engine.js/buggy/java/org/directwebremoting/engine.js