Hi !
I�ve got a problem, which I don�t know how to solve...
In the jetspeed-config.jcfg I would like to use a new
tag. This tag should work pretty much as the
<meta-info>-tag does. So in the jetspeed-config-file
something like the following should be possible:
<portlet-entry type="ref" parent="HTML"
name="myPortlet">
<url>theURL</url>
<meta-info>
<title>myPortlet</title>
<description>Description of myPortlet</description>
</meta-info>
<myNewTag>
<myNestedTag>data1</myNestedTag>
<myNestedTag>data2</myNestedTag>
<myNestedTag>data3</myNestedTag>
</myNewTag>
</portlet-entry>
The "data1","data2",... should be available from a
portlet.
With "String description =
portlet.getPortletConfig().getMetainfo().getDescription();"
I can get the description of the Portlet. How can I
get data1, data2,... ?
I found out, that in the jetspeed-config.xsd-file is
described, which tags are allowed. So I added myNewTag
there and created some classes with the castor
SourceCodeGenerator. But the Generator doesn�t create
a new PortletConfig.java, which I think I need because
if everything worked fine there would be the method
getMyNewTag() to reach data1, data2,... with
"String data1 =
portlet.getPortletConfig().getMyNewTag(). ...?".
So to sum up my question: How can I use a new tag in
the jetspeed-config.jcfg-file?
I�m using Jetspeed 1.3a1.
__________________________________________________________________
Do You Yahoo!?
Gesendet von Yahoo! Mail - http://mail.yahoo.de
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]