> You need both. createBinding with the binding file name tells the forms
> framework how to bind, load and save tells what to bind to.
>
> Joerg
Thank you Jeorg,
but it is still not clear since i don't use form.createBinding in my example
which is working. I just call load and save and the Sitemap tells the CForms
where the binding file is rigth? So why should I use
form.createBinding(binding.xml) ? My guess was that i dont have to declare this
in the Sitemap:
<map:call function="handleForm">
<map:parameter name="function" value="myBinding"/>
<map:parameter name="form-definition" value="form.xml"/>
<map:parameter name="bindingURI" value="binding.xml"/>
</map:call>
Otherwse "Binding.xml" woudld be declared twice? how would you handle the
binding for more than 1 form? Do i need several handeFrom sitemap entries as
above or could i put more bindingURI's and form-definitions as <map:parameter
... /> and do my case switch within the mybinding function?
Thanks again,
phil
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]