Disabling inline images (data URIs)

363 views
Skip to first unread message

frostw

unread,
Nov 5, 2009, 8:54:12 PM11/5/09
to Google Web Toolkit
Hi,

I am developing a GWT application that HAS to work via an F5 Firepass
reverse proxy.

Unfortunately, whilst the majority of the application works correctly,
the Tree widget does not. The "+" and "-" images do not appear. The F5
attempts to rewrite the GWT scripts and makes a terrible mess of the
data URI images used in the tree (I am using my own svn trunk build of
GWT).

Is there a simple way to disable the use of inline images and use
normal URL references in the Tree?

Thanks,

Warren

Thomas Broyer

unread,
Nov 6, 2009, 8:15:13 PM11/6/09
to Google Web Toolkit
You can add the following to your gwt.xml:
<set-property name="ClientBundle.enableInlining" value="false" />

See http://code.google.com/p/google-web-toolkit/wiki/ClientBundle#Levers_and_knobs

frostw

unread,
Nov 16, 2009, 11:19:17 PM11/16/09
to Google Web Toolkit
Thanks for the reply Thomas. This fixed my IE tree issue.

However, I now find that attempting to use a GWT application with
Firefox (3.5.3) through the Firepass server fails completely.
This is even with the simplest GWT application e.g.

package det.networks.derboard.client;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.RootPanel;

public class Derboard implements EntryPoint {

// Application entry point
public void onModuleLoad()
{
Label l = new Label("Test");
RootPanel.get().add(l);
}
}

Firefox chokes on this with a 'Error: F5_RewriteBufferFragment is not
defined' in the error window.

This exact same code runs fine through Firepass in IE7, IE8, Opera 10,
Chrome 4.0.245

Does anyone have any idea how to go about fixing this? I'm rather
stumped.

Line: 1
> Seehttp://code.google.com/p/google-web-toolkit/wiki/ClientBundle#Levers_...

frostw

unread,
Nov 16, 2009, 11:35:15 PM11/16/09
to Google Web Toolkit
I should add that I realise this is more of an F5 issue, but since
their troubleshooting documentation boils down to "techniques to avoid
when writing Firepass compatible applications (http://www.f5.com/pdf/
deployment-guides/firepass-rproxy-dg.pdf)", it's a bit out of my
control as it's all GWT code that is causing me headaches.
Reply all
Reply to author
Forward
0 new messages