Hi

We have found a bug in Juniper IVE (Instant Virtual Extranet).
Although it's a bug that should be fixed by Juniper I would like to
share with you the problem so you know about it before you believe
that a GWT application can be published in Juniper or maybe you can
suggest a work around.

An application using GWT 2.0.3 with CSS in a ClientBundle has CSS
rules that include images as background.

When accessing the application from the Internet a Juniper SA-4000
version 6.5R8 rewrites all URLs and gives access to the internal
server, for example:

Real URL:
http://privateserver.domain.com/img/logo.gif

Rewritten URL:
../img/,DanaInfo=privateserver.domain.com+logo.gif

Some kind of client side software (js or a plugin) is used by Juniper
on the browser to capture all those rewritten URLs and send them to
the Juniper appliance, then go to the internal server, get the
resource and send it back to the client.

Rewriting JS and URLs is tricky and Juniper often releases patches to
solve problems, I don't like the Juniper approach to publish websites
but it's used in many big corporate networks.

The problem:

URLs are not rewritten in the CSS rules that are part of a
ClientBundle in Firefox or Chrome as it does in Internet Explorer.

Example:

In CCS;

       @external sesion;
        #sesion{
                background-image:       url(img/sesion.gif);
                background-repeat:      no-repeat;
        }

In Internet Explorer, the URL for the image is rewritten:
        #sesion{
                background-image:       
url(../img/,DanaInfo=privateserver.domain.com
+sesion.gif);
                background-repeat:      no-repeat;
        }

In Firefox or Chrome the URL for the image is not rewritten:
        #sesion{
                background-image:       url(img/sesion.gif);
                background-repeat:      no-repeat;
        }

We will apply a temporary solution: include another CSS that is not
part of a ClientBundle with all rules that have urls, that way Juniper
can translate the URLs.

If you have any other solutions please let me know.

Thanks
Javier

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