Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 35324 invoked from network); 18 Feb 2004 18:19:19 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 18 Feb 2004 18:19:19 -0000 Received: (qmail 41236 invoked by uid 500); 18 Feb 2004 18:19:01 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 41222 invoked by uid 500); 18 Feb 2004 18:19:01 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: users@cocoon.apache.org Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 41201 invoked from network); 18 Feb 2004 18:19:01 -0000 Received: from unknown (HELO gyge.telenet-ops.be) (195.130.132.48) by daedalus.apache.org with SMTP; 18 Feb 2004 18:19:01 -0000 Received: from localhost (astra.telenet-ops.be [195.130.132.58]) by gyge.telenet-ops.be (Postfix) with SMTP id 7FBB737E5B for ; Wed, 18 Feb 2004 19:19:04 +0100 (MET) Received: from yum.ot (D5774E46.kabel.telenet.be [213.119.78.70]) by astra.telenet-ops.be (Postfix) with ESMTP id 3A70537EF5 for ; Wed, 18 Feb 2004 19:19:04 +0100 (MET) Subject: Re: woody and xsp / esql tags for default values From: Bruno Dumon To: users@cocoon.apache.org In-Reply-To: <40339E03.2000300@expertisefreelance.com> References: <40332DB7.50405@expertisefreelance.com> <1077122312.2402.12.camel@yum.ot> <40339E03.2000300@expertisefreelance.com> Content-Type: text/plain; charset=ISO-8859-1 Organization: Outerthought Message-Id: <1077128294.2158.7.camel@yum.ot> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Wed, 18 Feb 2004 19:18:15 +0100 Content-Transfer-Encoding: 8bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Wed, 2004-02-18 at 18:16, Anthony Herv� wrote: > Hello Bruno, > > I do not really understand what you mean. What do you mean by > just call a pipeline (i.e. use cocoon:/ in the > src attribute) that starts with an XSP. > I just want to display by default a value from my database for a field > in my form (example phone number), how can I do ? Then why did you include the whole story about the selection lists? That's what got me confused. If you want to set a value in a field, you have to write some code which does that before displaying the form, either in Java or flowscript. I don't think ESQL will be very helpful in that case, though you could e.g. generate some XML using ESQL and then use the binding framework to load the data from the XML into the form. -- Bruno Dumon http://outerthought.org/ Outerthought - Open Source, Java & XML Competence Support Center bruno@outerthought.org bruno@apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org