cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tony Culshaw" <t...@cultech.com.au>
Subject Re: Executing an action at the end of a series of transformers
Date Thu, 18 Sep 2003 21:01:22 GMT
Actions are executed FIRST because, along with matchers and selectors, they are responsible
for constructing the pipeline. Once the pipeline is assembled as in generator->transformer->...->transfomer->serializer,
it is then executed.



  ----- Original Message ----- 
  From: jcplerm 
  To: users@cocoon.apache.org 
  Sent: Wednesday, September 17, 2003 7:48 PM
  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
Mime
View raw message