It works for me in Firefox 3.5, but not in IE8 or chrome 5 beta.

I think that you dont have to use ClientBundle: ClientBundle is for
optimising when there are many resources on one page (mostly images)
and all could be downloaded in one roundtrip. In your case, the user
always gets the documents by one, so one roundtrip is needed anyway.
The only benefit of ClientBundle is that filename changes
automatically when the document is updated.

I don't see annotation or anything in the API to disable inlining of
some resource. If there really isn't any, I think you should file a
bug.

Viliam

On 28. Apr, 05:32 h., TiMeZoNe <[email protected]> wrote:
> hi there,
>
> I used the Clientbundle with DataResource for PDFs.
> Some smaller PDF files are encoded in base64. However, when you click
> on the link to the encoded files, the browser produces a blank page.
>
> The Uibinder code looks like this:
>
> <g:Anchor href="{bundle.my_fancy_pdf.getUrl}" target="_blank"
> addStyleNames="{bundle.style.pdfLink}">My fancy pdf</ g: Anchor>
>
> I have already tried I Frames and similar tricks, but unfortunately
> that doesn't help either.
>
> A live example can be found here:http://www.haus-und-grund-halle.de/
>
> In the menu (Sorry, it's a German site ;) ) follow the links:
> "Eigentümerservice" -> "Informationsblätter" -> "Mietsicherheit bei
> der Vermietung von Wohnraum"
>
> Does anyone have any idea what the problem could be? I've tested this
> on multiple computers with multiple browsers.
>
> Is there a trivial way to tell the Resource Generator to stop the
> base64 encoding?
>
> thanks
>
> --
> 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 
> athttp://groups.google.com/group/google-web-toolkit?hl=en.

-- 
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.

Reply via email to