Return-Path: Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 54559 invoked from network); 25 Sep 2000 14:39:18 -0000 Received: from midgard.darkcanvas.com (root@206.66.49.212) by locus.apache.org with SMTP; 25 Sep 2000 14:39:18 -0000 Received: from snorlax.webslingerZ.com (IDENT:root@[216.27.72.105]) by midgard.darkcanvas.com (8.9.3/8.8.7) with ESMTP id KAA21370 for ; Mon, 25 Sep 2000 10:16:55 -0400 Received: from localhost (IDENT:kevin@localhost [127.0.0.1]) by snorlax.webslingerZ.com (8.9.3/8.8.7) with ESMTP id KAA03126 for ; Mon, 25 Sep 2000 10:33:17 -0400 Date: Mon, 25 Sep 2000 10:33:16 -0400 (EDT) From: Kevin Sonney To: cocoon-dev@xml.apache.org Subject: esql with Vars, or esql diff of the moment... Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N After Donald pointed out the thread less than safety issue of last week's patch for global vars, I had to rethink how I was goin to pass dunamic java variables to esql queries. The answer turned out to be quite simple. Why not pass the esql:query string to the method, instead of "hard-coding" it into the _esql_session? So I did just that. The diff, as it were is below. Now, this is the warning - the testing on this patch is *VERY* rudimentary - I havemn't tried it with esql queries within esql results. Yet. Anyone have any feedback on this one? Donald? -- +-------------------------------------------+ | Kevin Sonney kevin@webslingerZ.com | | Systems Programmer www.webslingerZ.com | +-------------------------------------------+