Alex I see 2 solutions: the first one is easy to do but it's just an hack. The second is, in my opinion, a better way but I haven't tested it. I suppose that you can check if a coplet as data by any input module 1. The easy way The goal is to modify the skins/.../styles/window.xsl. Put the code inside a DIV with the style 'visibility' set � show or hide depend of a parameters in the XSL got from the layout/portal.xml with the tag <parameter name="" value=""/> 2. The better way The goal is to create another aspect for a coplet called for exemple 'coplet-visibility'. You must declare it in the cocoon.xconf (use the coplet-full-screen as sample) and declare this new aspect in the the renderer window). Then you will be able to hide or show a coplet with the same way that you minimize or maximize a coplet. Good Luck ;-) Laurent
> -----Message d'origine----- > De�: Alex Romayev [mailto:[EMAIL PROTECTED] > Envoy�: mercredi 3 mars 2004 13:35 > ��: [EMAIL PROTECTED] > Objet�: RE: [portal] Minimizing coplets events > > Hi Laurent, > > Can you elaborate on the last piece. I'd like to be > able to show a coplet when it has data and hide when > nothing is returned. I'm not sure how I would control > this with a renderer. > > Thanks, > -Alex > > --- Laurent Trillaud <[EMAIL PROTECTED]> wrote: > > Jean-Christophe > > Minimize a coplet with the default renderer, isn't > > to show or hide a coplet > > but to minimize or restore. The title bar is still > > visible! > > If you want to do this you need to send an event to > > the coplet and change de > > aspectDatas/size. Use aspectDatas/fullScreen to > > mazimize it. > > Now if you really want to hide a coplet you need to > > change the renderer or > > create a new one, and then use the same event > > mechanism. > > Laurent Trillaud > > > > > Hello, > > > I'd like to send minimize events from one portlet > > to another. > > > This way, I have a kind of menu that is able to > > show the right portlet > > > just by showing or hiding it. > > > Is it possible ? How ? > > > > > > Thanks > > > > > > > --------------------------------------------------------------------- > > 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
