Re: J2 decorators not displayed in IE

2005-03-20 Thread David Sean Taylor
Marina wrote:
I can see this line:
#includeStyleSheets()
but where is this function? (I'm assuming this is a
function ?)
Its a Velocity macro (velocimacro):
http://jakarta.apache.org/velocity/user-guide.html#Velocimacros
Jetspeed's global macro used by all layouts can be found here:
 /portal/src/webapp/WEB-INF/jetspeed-macros.vm
You can also include specific macros for your layouts
http://portals.apache.org/jetspeed-2/layouts.html
http://portals.apache.org/jetspeed-2/decorators.html
--
David Sean Taylor
Bluesunrise Software
[EMAIL PROTECTED]
[office] +01 707 773-4646
[mobile] +01 707 529 9194
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: J2 decorators not displayed in IE

2005-03-20 Thread Marina
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:



 and it looks like the stylesheet is not used - no
decorations are there, and no images.
References to images look like this:
  http://24.61.4.55:8080/jetspeed/portal/_ns:YURDRVBvcnRhbDo6RXZlbnRzQ2FsZW5kYXJQb3J0bGV0fGMwfGQx/";
title="maximized" >

 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:
http://24.61.4.55:8080/DCEPortal/css/dce-portal.css"/>

When I include this CSS into my JSP I use the
ContextPath :
"/>

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]



Re: J2 decorators not displayed in IE

2005-03-20 Thread Raphaël Luta
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]


RE: J2 decorators not displayed in IE

2005-03-20 Thread Andrew Murphy
Marina,
Just a hunch - try including an html 'base' element in your page decorator. 
Not familiar with Velocity but with jsp simply use the following:

<% String baseURL = request.getScheme() + "://" + request.getServerName() + 
request.getContextPath() + "/"; %>


 ...
 
 ...

HTH
Andrew

From: Marina <[EMAIL PROTECTED]>
Reply-To: "Jetspeed Users List" 
To: Jetspeed Users List 
Subject: J2 decorators not displayed in IE Date: Sat, 19 Mar 2005 07:58:03 
-0800 (PST)

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?
Thank you!
Marina
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_
Use MSN Messenger to send music and pics to your friends 
http://www.msn.co.uk/messenger

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


J2 decorators not displayed in IE

2005-03-19 Thread Marina
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?

Thank you!
Marina

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]