Raphael,
thanks for your response!
It looks like you are right - and the problem is in
including .css styles.
I checked the source from IE and Firefox - both have a
relative link to the Jetspeed's .css styles:
<link rel="stylesheet" type="text/css"
media="all" href="content/tigris/css/styles.css" />
<link rel="stylesheet" type="text/css" media="all"
href="content/css/styles.css" />
and it looks like the stylesheet is not used - no
decorations are there, and no images.
References to images look like this:
<a
href="http://24.61.4.55:8080/jetspeed/portal/_ns:YURDRVBvcnRhbDo6RXZlbnRzQ2FsZW5kYXJQb3J0bGV0fGMwfGQx/"
title="maximized" ><img
src="content/images/maximized.gif" alt="maximized"
border="0"></a>
I am also using .css styles for my portlets, and I
see that the link to my CSS file is the absolute one,
like this:
<link rel="stylesheet" type="text/css"
href="http://24.61.4.55:8080/DCEPortal/css/dce-portal.css"/>
When I include this CSS into my JSP I use the
ContextPath :
<link rel="stylesheet" type="text/css"
href="<%=renderResponse.encodeURL(renderRequest.getContextPath()
+ "/css/dce-portal.css")%>"/>
An my stylesheet gets included just fine.
I thought I would do what you suggested and substitute
relative URL with the absolute one, so I took a look
at the tigris/decorator-top.vm -
however, I don't see where the stylesheets are
included (I don't really know Velocity...).
I can see this line:
#includeStyleSheets()
but where is this function? (I'm assuming this is a
function ?)
Any suggestions on how I could set them?
Thanks a lot!
Marina
--- Rapha�l Luta <[EMAIL PROTECTED]> wrote:
> Marina wrote:
> > Hi,
> > I have a weird problem here.
> > I've been developing my portal using Firefox only,
> and
> > have a pretty much complete portal by now.
> However,
> > when I finally got around to checking it out in
> IE,
> > I've realized to my horror that it looks
> completely
> > screwed up there.
> > Basically, no portlet decorators and J2 images
> (like
> > tabs, borders around portlets, etc.) are displayed
> > there. The content of the portlets is just fine.
> > Even more, this happens when I access my portal
> > through a redirect from my ISP that forwards the
> > requests to my PC's IP address.
> > If I access the portal through localhost:8080 -
> > everything looks fine in both Firefox and IE.
> >
> > to summarize:
> > access portal through IP address:
> > Firefox/Netscape OK, IE - no images/decorators
> > access portal through localhost:
> > both Firefox and IE are OK
> >
> > Did I miss some config parameter for J2 or
> something
> > like that? Any ideas?
> >
>
> Mmmm.. I'd say it's an issue with IE mishandling
> your ISP
> reverse proxy behavior.
> Most of the decorator information is controlled
> through a CSS
> stylesheet.
> It's quite possible that IE resolves URL differently
> than
> Firefox when dealing with CSS resources tied to an
> HTML
> document.
> You can check if the CSS file is indeed retrieved by
> IE and if so,
> you can try setting absolute URLs to reference the
> image files in the
> CSS stylesheet.
>
> --
> Rapha�l Luta - [EMAIL PROTECTED]
> Apache Portals - Enterprise Portal in Java
> http://portals.apache.org/
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]