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/WizardJavaScriptUpdated.jsp
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 [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.