cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <sylv...@apache.org>
Subject Re: Rationalising CForms Flowscript Params
Date Fri, 01 Apr 2005 17:32:01 GMT
beatejung wrote:

>hi, 
>i really agree with jeremy ... 
>maybe my opinion is not so important here because i do not made too many 
>experiences with cocoon yet, but i really like the parameters with 
>
><map:call function="handleForm"> ...
>
>it is nice to use wild cards * and {1} and so on in the pipeline to create the 
>filenames and other pilelines i need. i like the flexibility i get.
>
>in some cases i was so keen and added some other parameters just for my own 
>purposes like
>
> <map:match pattern="form3-*-*.flow">
>....
>        <map:parameter name="templateURI" value="form3-d-pipeline-{1}-{2}"/>
>	<map:parameter name="successURI" value="form3-s-pipeline"/>
>....
>  
>

You can access any parameter you want in the flowscript using 
"cocoon.parameter.blah", so you do not really /need/ the handleForm 
function. But we can consider keeping it (with more consistent names) as 
a convenience for a common need.

Sylvain

-- 
Sylvain Wallez                        Anyware Technologies
http://apache.org/~sylvain            http://anyware-tech.com
Apache Software Foundation Member     Research & Technology Director


Mime
View raw message