Hi Jochen,
thanks for your help. I knew the parameter-Tag, but this Tag doesn�t come up to my
expectations...
My problem in more detail:
I wrote a "MoreInfoPortlet" which shows some info on a selected portlet. The shown
info:
Portlet name: name of the selected portlet
- portlet.getName()
Description: description of the portlet
- portlet.getPortletConfig().getMetainfo().getDescription()
Source files: links to the source files of the portlet
- ?????????
I can access the name and description easily. That the MoreInfoPortlet "knows", where
the source
files are, I wanted to write the paths into a Tag in the jetspeed-config file. That�s
the data1,
data2,...
<portlet-entry type="ref" parent="HTML"name="myPortlet">
<url>theURL</url>
<meta-info>
<title>myPortlet</title>
<description>Description of myPortlet</description>
</meta-info>
<sourcefiles>
<source>http://localhost:8080/src/FirstSourceFile.java</source>
<source>http://localhost:8080/src/SecondSourceFile.java</source>
<source>http://localhost:8080/src/ThirdSourceFile.java</source>
</sourcefiles>
</portlet-entry>
I could access the paths with
Vector SourceFiles = portlet.getPortletConfig().getSourceFiles() [or something like
that...]
If I wrote the paths of the source files in the parameter-Tag I would have as many
parameter-Tags
as source files, but each tag would have a different name="whatfor" and
value="somewhat". In
MoreInfoPortlet I wouldn�t know how many of the parameter-tags there are and what
name="whatfor"
they have to access them.
Hope it�s a bit clearer now. (??)
Bye - atmeede
__________________________________________________________________
Do You Yahoo!?
Gesendet von Yahoo! Mail - http://mail.yahoo.de
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]