Hi,
-- we've got a Problem. In our web application we use a frame to display some pdf with the browsers pdf viewer.
If you open the site with the frame the request for the pdf is called twice. If you leave the page the request is send again. As you can see in the picture below.
In Chrome this isn't a problem. But if you do this in Firefox you get an new tab with a black page.
Here is our code to show the pdf:
@Override
protected void bindAuskunfteiGesamtObject()
{
if (getPageModel().getAuskunfteiGesamtObject().getExpertise().getFullExpertise().trim().length() >0)
{
getView().getRatingHeader().setExperise(
getPageModel().getAuskunfteiGesamtObject().getExpertise().getFullExpertise() );
}
getView().getDisclosurePanelPdf().setOpen( false );
getView().getDisclosurePanelPdf().setUrl( getPdfUrl() );
getView().getDisclosurePanelPdf().setOpen( true );
}
But this method isn't called twice. So I have no idea why the request is send twice.
I hope you can help me.
Thanks in advance
Dominic
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment