Hi, I am also facing problem with RequestBuilder with Firefox. It is not working with Chrome also. But it works fine with IE.
I am using requestbuilder to parse my xml files on the server and generate an UI from it. In firefox and chrome i do not get any output, i.e. the UI any suggestions how should i proceed On Aug 25, 9:49 am, ca eyrie <[email protected]> wrote: > Thanks for the reply - unfortunately it doesn't seem to help. I > changed the routine as follows: > > public static void sendRequest( String ajaxClass, String > requestCommand, PropertyList requestData, RequestCallback > requestCallback ) throws RequestException { > String url = GWT.getHostPageBaseURL() + "/rc"; > RequestBuilder requestBuilder = new RequestBuilder > ( RequestBuilder.POST, url ); > requestBuilder.setHeader( "Content-Type", "application/x-www- > form-urlencoded" ); > String data = "command=ajax&ajaxclass=" + ajaxClass + > "&requestcommand=" + requestCommand + "&" + requestCommand + "=" + > URL.encodeComponent( requestData.toString() ); > requestBuilder.setHeader( "Content-Length", String.valueOf > ( data.length() ) ); > requestBuilder.sendRequest( data, requestCallback ); > } > > On Aug 24, 3:27 pm, Radu Grigore <[email protected]> wrote: > > > On Aug 24, 10:41 pm, ca eyrie <[email protected]> wrote: > > > > I have the following utility method that builds a RequestBuilder > > > object and sends a request to the server. This works perfectly for > > > IE7/8 and Chrome but with FireFox it seems that the data parameter of > > > the sendRequest method is ignored. > > > If you use POST then put *all* parameters in the post data (not in the > > url) and, of course, make sure that on the server side you process > > POST requests (as opposed to GET). --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
