You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Arsen A. Gutsal" <ar...@softsky.com.ua> on 2005/05/05 17:24:35 UTC

Accessing flow document. Please, help me!

Hello.

I have generator which generate 
<status>
<success/>
</status>
on success
and
<status>
<error>error Message</error>
</status> 
on error.

I can't set session variables in this generator or do something else.

My question was. HOW TO ACCESS document produced by generator from
sitemap using selector or matcher and perform some actions if success
was generated or do not perform if error was.

--
Arsen A. Gutsal 
http://www.softsky.biz


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


Re: Accessing flow document. Please, help me!

Posted by Askild Aaberg Olsen <as...@xangeli.com>.
Arsen A. Gutsal wrote:

>Hello.
>
>I have generator which generate 
><status>
><success/>
></status>
>on success
>and
><status>
><error>error Message</error>
></status> 
>on error.
>
>I can't set session variables in this generator or do something else.
>
>My question was. HOW TO ACCESS document produced by generator from
>sitemap using selector or matcher and perform some actions if success
>was generated or do not perform if error was.
>  
>
You can't, the selectors and actions are executed before the generation 
even starts. You could either retrieve these values directly from flow, 
passing them to the sitemap, or use a combination of different 
pipelines, xslt and the cinclude transformer.

Askild
-

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


RE: Accessing flow document. Please, help me!

Posted by Fab Psycho <ps...@hotmail.com>.
Hi,

     You need some bean in order to keep track of such informations.You can 
take a look at petstore sample in cocoon standard distribution.

Regards,
Fab

>From: "Arsen A. Gutsal" <ar...@softsky.com.ua>
>Reply-To: users@cocoon.apache.org
>To: users@cocoon.apache.org
>Subject: Accessing flow document. Please, help me!
>Date: Thu, 05 May 2005 18:24:35 +0300
>
>Hello.
>
>I have generator which generate
><status>
><success/>
></status>
>on success
>and
><status>
><error>error Message</error>
></status>
>on error.
>
>I can't set session variables in this generator or do something else.
>
>My question was. HOW TO ACCESS document produced by generator from
>sitemap using selector or matcher and perform some actions if success
>was generated or do not perform if error was.
>
>--
>Arsen A. Gutsal
>http://www.softsky.biz
>
>
>---------------------------------------------------------------------
>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