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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to