Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 54789 invoked by uid 500); 5 Jan 2003 00:17:36 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Delivered-To: moderator for cocoon-users@xml.apache.org Received: (qmail 66762 invoked from network); 4 Jan 2003 20:54:34 -0000 Date: Sat, 4 Jan 2003 21:59:07 +0100 From: Johannes Hofmann To: cocoon-users@xml.apache.org Cc: u.cei@cbim.it Subject: jpath problem (solved) Message-ID: <20030104205907.GA18844@p15107513> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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. To unsubscribe, e-mail: For additional commands, e-mail: