JSExtensionRequest req = new JSExtensionRequest( request.getURL(), request.getPostData(), request.getHeaders(),
( (WidgetConfigImpl) _widgetConfig ).getFeatureTable() );
JSExtensionResponse res = new JSExtensionResponse( request.getURL(), null, request.getHeaders() );
try {
( (IJSExtension) ext ).invoke( req, res );
return new BrowserFieldResponse( res.getURL(), res.getPostData(), res.getHeaders() );
} catch( net.rim.device.api.web.WidgetException e ) {
// this block is reached if the method cannot be found within the extension
return new HTTPResponseStatus( HTTPResponseStatus.SC_NOT_IMPLEMENTED, request ).getResponse();
}
} else {