Carlos Martínez wrote:
var xmlFavoritsRes = new java.io.ByteArrayOutputStream();
cocoon.processPipelineTo("myurl.xml", {"a": Bis1 } , xmlFavoritsRes);
It should be:
cocoon.processPipelineTo("myurl.xml", {a: Bis1 } , xmlFavoritsRes);
(note the missing quotes around 'a').
Think of "{a: Bis1 }" as an object specification, i.e. a compact way of
defining a list of object property-property value pairs, not as a mere
mapping between property names and their values.
The attribute: a is empty
I don't know why is the attribute empty...
Because you did not set it ;)
Regards,
--------------------
Luca Morandini
www.lucamorandini.it
--------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]