Maybe I did not understand your problem... but if you want to do something after <map:serialize>, then you can do that in a different pipeline. Like this:

Use a wrapper, to call the pipeline with your primary generator.
<map:match pattern="{1}.whatever">
<map:generate src=""> <map:act type="foo" />
<map:serialize/>
</map:match>

<map:match pattern="{1}.dothisfirst">
Action: create Collection from SQL
jx-Generator: create XML from that collection
transformer: sort result and do it HTML
serializer.
</map:match>


Hans

On 9/15/05, Joose Vettenranta <[EMAIL PROTECTED]> wrote:
Hi again =)

This works in flow like this:

function example() {
  dao.begin();
  cocoon.sendPage("mypage");
  dao.commit();
}

but it would be nice to be able to do that simple thing in sitemap..

Also that "executing actions after serializer is done" would be
usefull to do thins like "log that everything worked OK". It would be
useful in some pay per click or something services, or whatever you
want to do after you are sure document was processed without errors.

Thanks,

Joose

Reply via email to