Scott/All,

I have successfully added new portlet and layout html decoration directories
to jetspeed and so far so good. However, the content for the portlet action
icons, (maximize, minimize, etc...), keeps being served from the "jetspeed"
decoration images directories. I enabled debug output for the content-server
and verified that it is indeed serving the "jetspeed content". With a little
digging, it appears that these defaults are comming from the
jetspeed-spring.xml configuration for the PageAggregatorImpl. Unfortunately,
I am not sure what should be modified and where.

As you know, the decorator.vm template uses the current action list urls to
generate the html fragments. These look like "/content/images/*.gif.
Apparently, the PageAggregatorImpl looks only here for the images:

layout/html/<my layout decoration name>
portlet/html/jetspeed
portlet/html
layout/html
generic/html
html

Consequently, it ends up finding the images in the jetspeed decoration
directory instead of in portal/html/<my portlet decoration name> where I
would expect it to be looking!

It appears that the same thing is happening in the sample default-page.psml
HW_App::PreferencePortlet that attempts to use the "metal" portlet
decorations... the action icons are actually the ones from the "jetspeed"
decorations.

It appears to me that there is only one workaround: add the new portlet
decorations to the jetspeed-spring.xml. Am I on the right track here? BTW, I
am working with CVS HEAD as of 8/21 AM.

Please let me know if there is a fix, a better workaround, or if I can help
fix this in any way.

Randy Watler

Reply via email to