You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Grischa Brockhaus <ja...@grischa.de> on 2003/10/29 12:42:39 UTC
Unable to add portlets defined using two step inheritance
The following situation wit jetspeed 1.4-b4:
I have an external jetspeed/WEB-INF/conf/local-portlets.xreg. In it I
defined some kind of "two step inheritance" like this:
<registry>
<!-- Template for small rss portlets without channel description but
with links in new browser -->
<portlet-entry name="SMALLRSS" hidden="false" type="abstract"
parent="RSS" application="false">
<parameter name="openinpopup" value="true" hidden="false"/>
<parameter name="showtitle" value="false" hidden="false"/>
</portlet-entry>
<!-- Tagesschau RSS -->
<portlet-entry name="Tagesschau" hidden="false" type="ref"
parent="SMALLRSS" application="false">
<url>http://www3.tagesschau.de/xml/tagesschau-meldungen/</url>
<category>news</category>
<meta-info>
<title>Tagesschau Newsfeed</title>
<description>Tagesschau Newsfeed</description>
</meta-info>
</portlet-entry>
</registry>
The Tagesschau portlet is (if added) visible and working like expected
if defined like this. But portlets defined like this are not available
for adding. They are not listed in the "add portlet" list. After changing
<portlet-entry name="Tagesschau" hidden="false" type="ref"
parent="SMALLRSS" application="false">
to
<portlet-entry name="Tagesschau" hidden="false" type="ref" parent="RSS"
application="false">
defining a "single-inheritance", the portlet is still visible on the
portal but now also visible on the "add portlet" list.
Why that?
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org