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 Yen Dung <du...@sdcgrp.com> on 2002/04/01 04:28:56 UTC

Jetspeed and Adding new portlets

I have some portlets but I don't know how to publish them on Jetspeed portal.

Please help.

Thanks,

Yendung



Re: Jetspeed and Adding new portlets

Posted by Paul Spencer <pa...@apache.org>.
This is described in the Jetspeed documentation.
See 
http://jakarta.apache.org/jetspeed/site/config_guide.html#Define%20portlets%20in%20local-portlets

Paul Spencer
Yen Dung wrote:

> I have some portlets but I don't know how to publish them on Jetspeed portal.
> 
> Please help.
> 
> Thanks,
> 
> Yendung
> 
> 
> 
> 



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Jetspeed and Adding new portlets

Posted by Yen Dung <du...@sdcgrp.com>.
I write a java file and built it to a .jar file. The jar file contains 2
files:

src\java\com\company\portlets\Commune.java

web-inf\classes\com\company\portlets\Commune.class


In MyPortlets.xreg, I register a portlet-entry name like this:


<portlet-entry name="Communication" hidden="false" type="instance"
application="false">
        <meta-info>
            <title>Communication</title>
            <description>Simple Input, Output Portlet Example</description>
        </meta-info>
        <classname>com.company.portlets.Commune</classname>
        <parameter name="template" value="inputPortlet" hidden="false"/>
        <parameter name="action" value="portlets.Commune" hidden="false"/>
        <parameter name="text" value="Type your problem" hidden="false"/>
        <media-type ref="html"/>
    </portlet-entry>


Jetspeed could not find my package com.company.portlets.Commune





----- Original Message -----
From: "Hugh Brien" <hp...@comcast.net>
To: "Jetspeed Users List" <je...@jakarta.apache.org>
Sent: Monday, April 01, 2002 10:32 AM
Subject: Re: Jetspeed and Adding new portlets


> The simplest way to publish portlets is to create your own
> xreg file and put it in the config directory.  Use an existing xreg as an
> example.  Depending on the type of portlet you are creating will dictate
> what your xreg file will look like.  Also Jetspeed will periodically check
> the ./conf directory for xreg files.  This should be configurable in the
> Jetspeed.properties file.
>
>
> ----- Original Message -----
> From: "Yen Dung" <du...@sdcgrp.com>
> To: <je...@jakarta.apache.org>
> Sent: Sunday, March 31, 2002 9:28 PM
> Subject: Jetspeed and Adding new portlets
>
>
>
> I have some portlets but I don't know how to publish them on Jetspeed
> portal.
>
> Please help.
>
> Thanks,
>
> Yendung
>
>
>
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Jetspeed and Adding new portlets

Posted by Hugh Brien <hp...@comcast.net>.
The simplest way to publish portlets is to create your own
xreg file and put it in the config directory.  Use an existing xreg as an
example.  Depending on the type of portlet you are creating will dictate
what your xreg file will look like.  Also Jetspeed will periodically check
the ./conf directory for xreg files.  This should be configurable in the
Jetspeed.properties file.


----- Original Message -----
From: "Yen Dung" <du...@sdcgrp.com>
To: <je...@jakarta.apache.org>
Sent: Sunday, March 31, 2002 9:28 PM
Subject: Jetspeed and Adding new portlets



I have some portlets but I don't know how to publish them on Jetspeed
portal.

Please help.

Thanks,

Yendung





--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>