cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Job van Ommen" <>
Subject how: XMLbinding using Cform in cocoon 2.2?
Date Mon, 29 Sep 2008 17:39:08 GMT
Ok, so I am new to the whole cform thing. It seems like a good way to
implement forms...BUT

I can't get it to work. I've gone through the 2.2 and 2.1 documentation but
I can't get it to work.

Let's keep it simple and use the sample:

The sample from't use
What If i wanted to add binding and save the results to a file?

I've noticed the "simplebinding" and found the following flowscript on the
web somewhere, but It doesn't work...

Please, somebody tell me how it should be done?

-what should be in the sitemap?
-what should be in the binding xml?
-should the template or the definition als contain something that points to
the binding.xml ?


function registration() {
    var form = new

    var viewData = { "username" : form.getChild("name").getValue() }*

    cocoon.sendPage("registration-success-pipeline", viewData);

View raw message