Re: HTTP Response
Hi Marcin,
Thanks for your reply, i will investigate as per your suggestion.
Regards
kumar
On Nov 25, 5:06 pm, Marcin Biegan <marcin.bie...@gmail.com> wrote:
> I guess that:
> 1) css from your gwt application alters the way html code generated by
> jsp is displayed, or
> 2) that html code is not designed to be displayed in that way (again,
> css styles)
>
> in 1. case you should alter css in your application, 2. case you
> should alter css of your jsp. You can also use iframe which will not
> inherit css from gwt app.
>
> Anyway, start with investigating what is wrong with styles and what to
> add to make your popup look as expected.
>
> (also check if in both cases you have doctype declared properly)
>
> --
> Regards
> Marcin Biegan
>
> On Nov 24, 7:10 pm,karun<karunkuma...@gmail.com> wrote:
>
>
>
> > Hi
>
> > Any solution to overcome this scenario.
>
> > Thanks
> >karun
>
> > On Nov 23, 4:21 am,karun<karunkuma...@gmail.com> wrote:
>
> > > Hi
>
> > > I am usingHTTPRequestBuilder to send post request to J2EE
> > > application, a JSP is provided asresponsefrom J2EE application. In
> > > onResponseReceived() call back method i am usingresponse.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,Responseresponse) {
>
> > > 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- Hide quoted text -
>
> - Show quoted text -
--
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.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home