Hi
You can configure any number of renderer for a coplet.
For exemple if you want a round windows border instead of the standard one
in the cocoon.xconf add a new renderer
<renderer
class="org.apache.cocoon.portal.layout.renderer.impl.AspectRenderer"
logger="portal" name="round-window">
<aspects>
<aspect type="xslt">
<parameter name="style" value="{global:skin}styles/round-window.xsl"/>
</aspect>
<aspect type="parameter">
<parameter name="tag-name" value="window"/>
</aspect>
<aspect type="window">
<parameter name="root-tag" value="false"/>
</aspect>
<aspect type="coplet-full-screen"/>
<aspect type="coplet-sizing"/>
<aspect type="history"/>
<aspect type="coplet-cinclude"/>
</aspects>
</renderer>
and add it in the coplet definition
<layout class="org.apache.cocoon.portal.layout.impl.CopletLayout"
name="coplet">
<renderers default="window">
<renderer name="window"/>
<renderer name="nowindow"/>
<renderer name="round-window"/>
</renderers>
</layout>
and swith the coplet renderer in your portal.xml with the famous
layout-renderer-name="round-window"
Laurent Trillaud
> -----Message d'origine-----
> De�: Alex Romayev [mailto:[EMAIL PROTECTED]
> Envoy�: jeudi 26 f�vrier 2004 19:44
> ��: [EMAIL PROTECTED]
> Objet�: Re: Coplet configuration
>
> I have the same questions regarding coplet
> configuration unanswered.
>
> As far as layout-renderer-name="nowindow", this means
> that you're not going to be rendering the window
> around your coplet, i.e. the box where you have your
> coplet configuration buttons and title.
>
> -Alex
>
> --- Stefan Eichenhofer <[EMAIL PROTECTED]>
> wrote:
> > Hi everyone,
> >
> > i'm trying to configure the status of coplets, like
> > minimized, maximized ,
> > visible....
> > There used to be a <status> tag in the portal-fw,
> > but that doesn't seem to
> > be working any more. In the wiki is a example using
> > the <aspect> tag, same
> > effect.
> > Could someone point me in the right direction?
> >
> > The next step will be to enable users to edit and
> > save the portal
> > configuration. Any hints regarding that would be
> > greatly aprectiated.
> >
> > thnx
> >
> > Stefan
> >
> > btw, does anyone know what "layout-renderer-name"
> > does in this context?
> > <coplet-layout name="coplet"
> layout-renderer-name="nowindow">
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]