Hi,
There is a patch here that will do what you require...
https://issues.apache.org/jira/browse/COCOON-1471
Regards,
Robin.
On 3 Apr 2007, at 15:54, ZongoZongo wrote:
Hi
I use CForms. The binding is delivered from a javaclass. I can pass a
w3cDocument or a String. I tried several thinks like:
var myClass = new Packages.MyClass();
form.createBinding(myClass.getBinding().getDocumentElement());
//getBinding() delivers a w3cDocument)
Doesnt work because createBinding expects a sourcepath.
or
var myClass = new Packages.MyClass();
var binding = myClass.getBinding()
form.createBinding("cocoon:/generate/from/string",
{"binding":binding});
//getBinding() delivers a String
matching pipeline:
<map:match pattern="generate/from/string">
<map:generate type="jx"
src="module:flow-attr:binding" />
<map:serialize type="xml"/>
</map:match>
The following error arises: The attribute: binding is empty
So please, could somebody help me?
THANX
kind regards,
Niclas
--
View this message in context: http://www.nabble.com/create-
FormBinding-from-w3cDocument-or-String-tf3513328.html#a9811543
Sent from the Cocoon - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]