Thursday, November 24, 2011

Re: HTTP Response

Hi

Any solution to overcome this scenario.

Thanks
karun

On Nov 23, 4:21 am, karun <karunkuma...@gmail.com> wrote:
> Hi
>
> I am using HTTP RequestBuilder to send post request to J2EE
> application, a JSP is provided as response from J2EE application. In
> onResponseReceived() call back method i am using response.getText()
> method to create html and add that html to popoup panel, but the html
> is not getting rendering properly i.e the elements with in the html
> are misaligned when compared to JSP opened in browser directly. below
> is the code snippet.
>
>  public void onResponseReceived(Request request, Response response) {
>
> HTML addpage =  new HTML(response.getText(),true);
>                                                                          ScrollPanel scrpanel = new ScrollPanel(addpage);
>                                                                          PopupPanel respop =  new PopupPanel(true);
>                                                                          respop.setWidget(scrpanel);
>                                                                          respop.center();
>                                                                          respop.setSize("1000", "500");
>                                                                          respop.show();
>
> }
>
> url to which request is sent :http://factory-dev03.example.com:8111/CustomerUI-dev03/WizardJavaScri...
>
> if the same link is opened in browser it renders correctly.
>
> Thanks
> kumar

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment