cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ugo Cei <u....@cbim.it>
Subject Re: [vote] forbidding flowscripts with no sendpage redirects (was Re: Saving pipeline output to a temp file...)
Date Wed, 12 Nov 2003 21:25:31 GMT
Tim Olson wrote:
> <map:match action="*/profile/edit">
>   <map:call function="dumpUserData"/>
>   <map:call function="dumpOrderData"/>
>   <map:call function="dumpNewsItems"/>
>   <map:generate src="cocoon://generate"/>
>   <map:transform src="homePage.xsl"/>
>   <map:serialize/>
> </map:match>

  <map:match pattern="*/profile/edit">
    <map:call function="dumpData"/>
  </map:match>

  <map:match pattern="view">
    <map:generate src="cocoon://generate"/>
    <map:transform src="homePage.xsl"/>
    <map:serialize/>
  </map:match>

function dumpData() {
   dumpUserData();
   dumpOrderData();
   dumpNewsItems();
   cocoon.sendPage("view");
}

      Ugo






Mime
View raw message