Hi,
passing non-string objects via the bizData argument of sendPageAndWait()
in the flow-script did not work for me (see
http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=104133080428237&w=2)
Now I found out, that the javascript call
sendPageAndWait("user.xml", {"users":users});
Makes a string from the users object, whose methods become unavailable
to jpath by this.
If I use the following:
var map = new Packages.java.util.HashMap();
map.put("users", users);
sendPageAndWait("user.xml", map);
everything works as expected.
Best regards,
Johannes Hofmann
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>