nguyentanbao

Hi,

Anybody succeeds in using this Web.Network.createBatch.

function testCreateBatch()
{
var batchReq = Web.Network.createBatch(Web.Utility.Prioritizer.Priorities.Medium);
batchReq.add( Web.Network.Type.XML, "http://mynews/news.rss", {proxy:"rss", numItems:10})
batchReq.execute(callbackFunc);
}


function callbackFunc(res)
{
}

I try to use it but it never calls the callback function (The news rss is valid). May I miss something here

Thanks,
Bao Nguyen



Re: Web Gadget Development Web.Network.createBatch

Bruce Williams

I don't see anything obviously wrong. Does this actually generate the network request



Re: Web Gadget Development Web.Network.createBatch

nguyentanbao

I am not sure.

I follow the example in the SDK. But it seems that it never return. And my callback function is not invoked.

Thanks,