You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by en...@free.fr on 2004/04/15 15:30:14 UTC

post-serialization action

Hi, 

 is there any way to process some code right after a <map:serialize> ?

thanks

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


Re: post-serialization action

Posted by Reinhard Pötz <re...@apache.org>.
enrico.maccias@free.fr wrote:

>Hi, 
>
> is there any way to process some code right after a <map:serialize> 
>  
>

Using Flowscript may help here. See 
http://wiki.cocoondev.org/Wiki.jsp?page=RhinoWithContinuations for 
details - expecially the section containing catch(return) {...}

-- 
Reinhard


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


Re: post-serialization action

Posted by Jan Hoskens <jh...@schaubroeck.be>.
What are you trying to do exactly? Does it need the result from that
serializer?

If you just want to start some processing, you may accomplish that by
creating a thread in a piece of flowscript. I did something alike to start
processing data when a user confirms some page. When pressing the submit, I
call a thread in flowscript and the user gets an immediate response that
things are being handled. The thread does some stuff and sends an email with
results to that user.

Kind Regards,
Jan

----- Original Message ----- 
From: <en...@free.fr>
To: <us...@cocoon.apache.org>
Sent: Thursday, April 15, 2004 3:30 PM
Subject: post-serialization action


> Hi,
>
>  is there any way to process some code right after a <map:serialize> ?
>
> thanks
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>


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


Re: post-serialization action

Posted by Jorg Heymans <jh...@domek.be>.
enrico.maccias@free.fr wrote:

> Hi, 
> 
>  is there any way to process some code right after a <map:serialize> ?

IMO you could do this in a custom serializer, after you write to the 
outputstream you can still do some of your own processing.

hth
Jorg


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