cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Mayrhuber <cm...@iicm.tu-graz.ac.at>
Subject Re: cl:links in cachingURI coplet ?
Date Tue, 22 Jun 2004 09:07:00 GMT
On Monday 21 June 2004 19:01, Philippe Guillard wrote:
> Hi,
>
> I'm using cl:links OK with URI coplet but can't make cl:links work with
> cachingURI coplet in rls 2.1.5. Should i change something ?
>
> I think the point is that cachingURI Coplet uses portal-html-eventlink
> transformer.
>
> Error:
> org.apache.cocoon.ProcessingException: Failed to execute pipeline.:
> java.lang.RuntimeException: org.xml.sax.SAXException: copletId must be
> passed as parameter or in the object model within the parent context.
>
> It seems that portal-html-eventlink needs copletId, i tried to give
> <map:parameter name="copletId" value="{request-param:copletid}"/>
> or <map:parameter name="copletId" value="id of my coplet"/>, no success
>
> Any idea?

I guess you are calling your pipeline from outside the portal, if you do this
the {coplet:#} and any other coplet data is unknown, so you have to
specifiy the "copletId" as string. The coplet transformer is in no
way different in this regard.

-- 
lg, Chris

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


Mime
View raw message