cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Björn Voigt <bvo...@hs-harz.de>
Subject Re: Refreshing more than one Coplet with a <cl:link>
Date Wed, 31 Mar 2004 09:00:30 GMT
Jon Evans schrieb:
> Hi Björn,
> 
> On 31 Mar 2004, at 09:27, Björn Voigt wrote:
> 
>> I am new with the PortalEngine, and have a Question about
>>  the coplet-transformer. Is it possible to define more than one
>>  Target-Coplet. I want make a menu-coplet and refresh some
>>  coplets with new content in the portal
>>
>> <cl:link path="/attr/value" value="{@href}" coplet="TargetCoplet">
>>         <xsl:value-of select="."/>
>>  </cl:link>
>>
> 
> 
> Yes it is, you need to wrap all of your links in <cl:links> like this:
> 
> <cl:links>
>   <cl:link path="/attr/value" value="{@href}" coplet="TargetCoplet">
>      <xsl:value-of select="."/>
>   </cl:link>
>   <cl:link path="/attr/value" value="{@href}" coplet="TargetCoplet-2">
>      <xsl:value-of select="."/>
>   </cl:link>
>   <cl:content>Click me!</cl:content>
> </cl:links>
> 
> 
> <cl:content>...</cl:content> gets transformed into the clickable part of

> the anchor tag.
> 
> Jon
Thank you Jon,

it works fine. Could u tell me, where I can find a better
Documentation about this topic than the wiki PortalEngine-faq

Björn



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


Mime
View raw message