You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Bart Molenkamp <b....@bizzdesign.nl> on 2004/08/03 15:39:32 UTC

Coplets, continuations and

Hello,

I want to use continuations inside coplets. The portal engine samples
shows how to do this. But link transformation only seems to work where
continuation URL's are used inside <form action="...">. When I use a <a
href="..."> it doesn't work; the link get transformed by the
HTMLEventLinkTransformer, but when I click on it, I get back to the same
page (the link doesn't take me to the page where the original link
points to).

I tried this. Replace in
samples/blocks/portal/profiles/copletdata/profile.xml (the last coplet
definition)
cocoon://samples/flow/jxcalc/

With:
cocoon://samples/blocks/apples/hanoi.flow
(this tower-of-hanoi game uses <a href".."> links in combination with
continuations).

Is this a bug, or am I doing something wrong?

Thanks,
Bart.

RE: Coplets, continuations and

Posted by Carsten Ziegeler <cz...@s-und-n.de>.
Which version of Cocoon are you using? 2.1.5 has a bug in the
transformer. In the case you are using this version, you can
use the latest source either from trunk or from the 2.1.6 branch
of this transformer.

Carsten 

> -----Original Message-----
> From: Bart Molenkamp [mailto:b.molenkamp@bizzdesign.nl] 
> Sent: Tuesday, August 03, 2004 3:40 PM
> To: dev@cocoon.apache.org
> Subject: Coplets, continuations and <a href=...>
> 
> Hello,
> 
> I want to use continuations inside coplets. The portal engine 
> samples shows how to do this. But link transformation only 
> seems to work where continuation URL's are used inside <form 
> action="...">. When I use a <a href="..."> it doesn't work; 
> the link get transformed by the HTMLEventLinkTransformer, but 
> when I click on it, I get back to the same page (the link 
> doesn't take me to the page where the original link points to).
> 
> I tried this. Replace in
> samples/blocks/portal/profiles/copletdata/profile.xml (the last coplet
> definition)
> cocoon://samples/flow/jxcalc/
> 
> With:
> cocoon://samples/blocks/apples/hanoi.flow
> (this tower-of-hanoi game uses <a href".."> links in 
> combination with continuations).
> 
> Is this a bug, or am I doing something wrong?
> 
> Thanks,
> Bart.
>