Probably you want to define a Transformer rather than an Action:

<map:match pattern="renderForm.html"> 
            <map:generate type="request"/> 
            <map:transform .../>

            <map:transform .../>

            <map:transform .../>
            <map:transform type="DoSomeCleanup"/> 
            <map:serialize/>
</map:match>

-----Original Message-----
From: jcplerm [mailto:[EMAIL PROTECTED]
Sent: Thursday, 18 September 2003 2:48 p.m.
To: [EMAIL PROTECTED]
Subject: Executing an action at the end of a series of transformers


Is it possible to execute an action immediately after a series of transformers?

This is an example:

<map:match pattern="renderForm.html"> 
            <map:generate type="request"/> 
            <map:transform .../>

            <map:transform .../>

            <map:transform .../>
            <map:serialize/>
            <map:act type="DoSomeCleanup"/> 
</map:match>

I need to execute "DoSomeCleanup" after the path from the "generate" to the 
"serialize"is complete.

But as above, it always executes first.

Thanks,

jcplerm

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to