Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 57047 invoked by uid 500); 8 Jan 2003 10:30:51 -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 Received: (qmail 57036 invoked from network); 8 Jan 2003 10:30:50 -0000 Date: Wed, 8 Jan 2003 11:30:29 +0100 To: cocoon-users@xml.apache.org Subject: Re: ESQL and JavaScript Message-ID: <20030108103029.GB1172@bremen.dvs1.informatik.tu-darmstadt.de> Reply-To: haul@informatik.tu-darmstadt.de References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i Organization: Databases and Distributed Systems Group, Darmstadt University of Technology From: Christian Haul X-MailScanner: Found to be clean X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On 08.Jan.2003 -- 10:53 AM, Johannes.Becker@o2.com wrote: > I have a Javascript-Function, which gets a parameter passed. I want this > parameter now in my ESQL-Statement. Is there a way to do this? Javascript (if client side) is completely unrelated to XSP and ESQL in particular. Server side Javascript (i.e. flow script) can pass parameters to the XSP. See examples (e.g. calculator) for this and in particular jpath.xsl. Passing values using request attributes is also possible. For dynamic queries with ESQL please see the docs. Starting with 2.0.4 there is a section dedicated to this on the ESQL page. http://xml.apache.org/cocoon/userdocs/xsp/esql.html Chris. Please follow up summarizing your problem and which suggested solution / information worked for you when you consider your problem solved. Add "SUMMARY: " to the subject line. This will make FAQ generation and searching the list easier. In addition, it makes helping you more fun. Thank you. -- C h r i s t i a n H a u l haul@informatik.tu-darmstadt.de fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08 --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: