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 Martin Baur <ma...@gmx.ch> on 2002/12/05 15:20:20 UTC
JavaSoft Portled Code - including a website
Hi all
I downloaded the WAR files and I'm going trough the examples now. There are several portles, that link content from other sites to the portal such as JavaSoft, Slashdot....
Where can I find the source for this ? I want to try to add another external page into the portal.
cheers
martin
RE: JavaSoft Portled Code - including a website
Posted by David Sean Taylor <da...@bluesunrise.com>.
> -----Original Message-----
> From: Martin Baur [mailto:martin.baur@gmx.ch]
> Sent: Thursday, December 05, 2002 6:20 AM
> To: Jetspeed Users List
> Subject: JavaSoft Portled Code - including a website
>
>
> Hi all
>
> I downloaded the WAR files and I'm going trough the examples now.
> There are several portles, that link content from other sites to
> the portal such as JavaSoft, Slashdot....
>
> Where can I find the source for this ? I want to try to add
> another external page into the portal.
>
You shouldn't have to change any code.
You configure your portlet in the registry. Here is an example from
demo-portlets.xreg
<portlet-entry name="JavaWeb" hidden="false" type="ref"
parent="WebPagePortlet" application="false">
<meta-info>
<title>JavaSoft</title>
<description>JavaSoft</description>
</meta-info>
<parameter name="dont_remove_applet" value="yes" hidden="false"/>
<url>http://java.sun.com/</url>
<category>sites.companies.sun</category>
</portlet-entry>
Just copy it, change the name attribute, meta info, and change the <url> to
point to the site you'd like
There is also an IFrame Portlet, here is another example from the demo
registry:
<portlet-entry name="JetspeedFramed" hidden="false" type="ref"
parent="IFramePortlet" application="false">
<meta-info>
<title>Jetspeed Framed</title>
<description>Navigate SomeSite within an IFRAME</description>
</meta-info>
<parameter name="source" value="http://jakarta.apache.org/jetspeed"
hidden="false"/>
<media-type ref="html"/>
<category>frames</category>
</portlet-entry>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>