WebSphere Portal Server - Portal V5 - Modify theme?

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Portal Server > January 2004 > Portal V5 - Modify theme?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Portal V5 - Modify theme?
Jeff Snyder

2004-01-19, 3:00 pm

I am trying to create a new them based on the default portal theme. I
created a new folder (mytheme) under html\themes and copied the contents of
the websphere folder into it along with the JSPs from html directory
(default, head, placebar,etc.) However my theme is still referencing the
JSPs in the HTML dir. Any changes made to those JSP's show up in both
themes.

I restart the server , clear cache, etc. but I can't get it to recognize any
updates in the thml\themes\mytheme folder.

Any suggestions?

Thanks, Jeff


Oliver Meyer

2004-01-19, 3:00 pm

Jeff,
the Default.jsp contains includes to other JSPs. So my assumption is
that the Default.jsp of your theme includes the JSPs from the html
directory, and not the JSPs from your theme directory.
However, since you copied the contents of the "WebSphere" directory, I
am a bit confused now. This directory does not contain its own version
of Default.jsp...

Oliver

Jeff Snyder wrote:
quote:

>
> I am trying to create a new them based on the default portal theme. I
> created a new folder (mytheme) under html\themes and copied the contents of
> the websphere folder into it along with the JSPs from html directory
> (default, head, placebar,etc.) However my theme is still referencing the
> JSPs in the HTML dir. Any changes made to those JSP's show up in both
> themes.
>
> I restart the server , clear cache, etc. but I can't get it to recognize any
> updates in the thml\themes\mytheme folder.
>
> Any suggestions?
>
> Thanks, Jeff


Jeff Snyder

2004-01-19, 3:00 pm

I copied over the gifs from the websphere directory. I copied Default.JSP
into the mytheme folder from the html directory. Default JSP is the one
that I updated but I could not get it to recognize the changes made to
default.jsp in the mytheme folder. When I changed the default.jsp in the
html folder I could see the changes.

My understanding is that default.jsp is the first thing that wps looks at
when rendering a theme and that it should first look in the directory of the
current theme.

"Oliver Meyer" <meyer_oliver@gmx.de> wrote in message
news:3F9632F9.65458F2A@gmx.de...[QUOTE][color=darkred]
> Jeff,
> the Default.jsp contains includes to other JSPs. So my assumption is
> that the Default.jsp of your theme includes the JSPs from the html
> directory, and not the JSPs from your theme directory.
> However, since you copied the contents of the "WebSphere" directory, I
> am a bit confused now. This directory does not contain its own version
> of Default.jsp...
>
> Oliver
>
> Jeff Snyder wrote:
of[QUOTE][color=darkred]
the[QUOTE][color=darkred]
any[QUOTE][color=darkred]


Oliver Meyer

2004-01-19, 3:00 pm

Jeff,
this looks like your theme does not get picked up at all. Instead of
picking up your theme, the default theme gets picked up. This is why
changes to the default theme seem to influence your theme, too.
To verify this, you could write some output into the Default.jsp from
both your theme and the default theme. Something like "Default.jsp
mytheme" and "Default.jsp default theme". This way, you could see in
your browser, if your theme gets picked up, or if the default theme is
used.

Oliver

Jeff Snyder wrote:[QUOTE][color=darkred]
>
> I copied over the gifs from the websphere directory. I copied Default.JSP
> into the mytheme folder from the html directory. Default JSP is the one
> that I updated but I could not get it to recognize the changes made to
> default.jsp in the mytheme folder. When I changed the default.jsp in the
> html folder I could see the changes.
>
> My understanding is that default.jsp is the first thing that wps looks at
> when rendering a theme and that it should first look in the directory of the
> current theme.
>
> "Oliver Meyer" <meyer_oliver@gmx.de> wrote in message
> news:3F9632F9.65458F2A@gmx.de...
> of
> the
> any
John Holtman

2004-01-19, 3:01 pm

WP v5 the default behavior does not refresh themes if you change them. The
only way to see your changes is to restart the Portal server. This behavior
can be altered by changing the following file:

<was_root>\config\cells\<node_name>\applications\wps.ear\deployments\wps\wps
..war\WEB-INF\ibm-web-ext.xmi

Search for "reloadingEnabled" and change the setting to "true". Save the
file and restart the portal.

IMPORTANT NOTES: There is another attribute in the file named "reloadEnable"
that is already set to "true" by default. You want to locate and change
"reloadingEnabled" in the XMI header.

BEST PRACTICE: There is a performance impact when running with
"reloadingEnabled" set to "true". Only use this setting during Theme
development and testing, then reset it to false. Never set it
to true on a production server.


"Jeff Snyder" <jeff_snyder@troweprice.com> wrote in message
news:bn3mvp$65c6$1@news.boulder.ibm.com...
quote:

> I am trying to create a new them based on the default portal theme. I
> created a new folder (mytheme) under html\themes and copied the contents


of
quote:

> the websphere folder into it along with the JSPs from html directory
> (default, head, placebar,etc.) However my theme is still referencing the
> JSPs in the HTML dir. Any changes made to those JSP's show up in both
> themes.
>
> I restart the server , clear cache, etc. but I can't get it to recognize


any
quote:

> updates in the thml\themes\mytheme folder.
>
> Any suggestions?
>
> Thanks, Jeff
>
>




Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com