cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jorg Heymans ...@domek.be>
Subject passing extra parameters to handleForm
Date Mon, 20 Sep 2004 14:33:06 GMT
Hi,

I want to pass extra parameters to the function that handles my form

Sitemap:

<map:match pattern="*.action">
  <map:call function="handleForm">
   <map:parameter name="function" value="myfunction"/>
   <map:parameter name="form-definition" value="forms/FormModel.xml"/>
   <map:parameter name="bindingURI" value="forms/FormBinding.xml"/>
<!-- below does not get passed to "myfunction" -->
  <map:parameter name="template" value="{1}"/>
</map:call>

then in flowscript

function myfunction(form, template) {
   //template is undefined here !!
}

is there another way going about this?

Regards
Jorg


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message