You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by sm...@gmx.net on 2006/02/21 16:17:14 UTC

cocoon 2.1.8 - portal framework - getting startet with it

Hi,

i´m new to this list so first greetings @ all.

i´ve searched a lot in the web but i´ve found no information about
cocoon portal and "starting from scratch". that means not to rewrite
all functionality but i´ve started a subapplication in cocoon and want
to use the portal framework.

so what are the minimum necessary steps to
build up a portal page with 2 portlets (static content is enough to
experiment with it) without authentification and all other features ?

thanks for any help


-- 
mailto:smailinglist@gmx.net


-- 
10 GB Mailbox, 100 FreeSMS/Monat http://www.gmx.net/de/go/topmail
+++ GMX - die erste Adresse für Mail, Message, More +++

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: cocoon 2.1.8 - portal framework - getting startet with it

Posted by Ralph Goers <Ra...@dslextreme.com>.
What kind of portlets? Cocoon supports JSR-168, WSRP as well as Cocoon 
portlets (essentially, cocoon pipelines that are rendered as portlets).

The best way to learn about Cocoon is to look at the portal sample site.

The minimum steps to add your own portlet depend on what kind it is. 
JSR-168 portlets are war files and should be placed in the servlet 
container's webapp directory (Cocoon now comes with a deployer, but I 
haven't worked with it yet).  You then have to define the portlet in 
copletdata/portal.xml, the instances of it in 
copletinstancedata/portal.xml and then reference it in a page in 
layout/portal.xml

If you are deploying JSR-168 portlets they require that Cross-context 
sessions be enabled.

So, to deploy a Cocoon pipeline as a portlet define the pipeline in 
copletdata/portal.xml, reference it in copletinstancedata.xml, and then 
specify on what page, column and row it is to appear in layout/portal.xml

Ralph

smailinglist@gmx.net wrote:
> Hi,
>
> i´m new to this list so first greetings @ all.
>
> i´ve searched a lot in the web but i´ve found no information about
> cocoon portal and "starting from scratch". that means not to rewrite
> all functionality but i´ve started a subapplication in cocoon and want
> to use the portal framework.
>
> so what are the minimum necessary steps to
> build up a portal page with 2 portlets (static content is enough to
> experiment with it) without authentification and all other features ?
>
> thanks for any help
>
>
>   

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org