I already found the solution.
These tags only work when you register your portlet by REF (reference) (e.g. URLs)
Paul:
If you store some <meta-info> for your .class portlet (in portlets.xreg), jetspeed
will delete this information!
You register classes by using the keyword INSTANCE or ABSTRACT.
Your Portlet class is extended (derived) from AbstractPortlet.
This class offers functions to set/get a title and a description (and many more) for
your portlet.
How I set the topic:
--------------------
...
public void init () throws PortletException
{
setTitle("myPortlet");
super.init();
}
...
This works fine for my web-pane and wml output - nevertheless, the PortletBrowser
doesn't show this information.
BTW: The portlet title is used as the anchor name (wml output) so there should be a
way to change the title external - Why: if you wanna show your portal in different
languages, you have to change the source-code and recompile your class every time.
So far,
Andreas K.
-----Original Message-----
From: ICM S CP guest 5 [mailto:[EMAIL PROTECTED]]
Sent: Donnerstag, 27. September 2001 14:20
To: [EMAIL PROTECTED]
Subject: How to set portlet topic/title
Hi,
does anybody know, how I can set the topic/title of a portlet?
What I already tried in portlets.xreg:
- added a title (<TITLE>my Portlet</TITLE>)
- added a topic (<TOPIC>my Portlet</TOPIC>)
but without success.
Even the <DESCRIPTION> Tag isn't working.
Andreas
---------------------------------------------------------------------
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]