Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 42044 invoked by uid 500); 23 May 2002 07:50:17 -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 42025 invoked from network); 23 May 2002 07:50:16 -0000 Subject: RE: multiple values from a form To: cocoon-users@xml.apache.org X-Mailer: Lotus Notes Release 5.0.8 June 18, 2001 Message-ID: From: "Kai Bruns" Date: Thu, 23 May 2002 09:51:15 +0200 X-MIMETrack: Serialize by Router on Office/DialogRegio/DE(Release 5.07a |May 14, 2001) at 23/05/2002 09:51:15 MIME-Version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by aix.dialog.uni-oldenburg.de id KAA14810 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi Axel, > Dear Cocoon users! > >Could some kind soul please send me some sample code how to cope with >the result of with Cocoon 1.8.2? I >somehow seem to be unable to figure out myself... > I don't exactly know what does in Cocoon 1.8.x, but I guess it's a tag from a taglib that simply wraps request-object in a XSP-page. And I guess you have to use it with an attribute like "name" or something to specify the request parameter to use. >background: A form offers the user the choice to select several values >for a single attribute (each value encoded as a single char, e.g. "T", >"G", etc.). I'd like to concatenate all different chars into a single >string and save it into a database column. So far I've managed to >connect to the database and collect all the other form variables, but >this multiple value thing is driving me crazy... I've tried pure xslt, >combined with Java, pure Java (as I've found in some other example) -- >all to no avail. > I preferred using java-code directly in XSP. Try String[] values = request.getParameterValues("yourParameterName"); within an tag an use 'values' to build whatever you want ;-) >Any hint & tip would be very much appreciated! >Upgrading to Cocoon2 unfortunately is not an option. > >Thanx! >Axel > >-- >axel@globonaut.org http://www.globonaut.org > You are young once only but you can stay immature indefinitely. >PGP Fingerprint: 9AAB CEBC CB6C 7C20 BEBC 4B88 3E2E A5CA 57F4 D70B > > >--------------------------------------------------------------------- >Please check that your question has not already been answered in the >FAQ before posting. > >To unsubscribe, e-mail: >For additional commands, e-mail: Hope this helps, Kai Dipl.-Inform. Kai Bruns regio gmbh Institut f�r Regionalentwicklung und Informationssysteme an der Carl von Ossietzky Universit�t Oldenburg D-26111 Oldenburg Tel ++49 (0)441 798-2827 Fax ++49 (0)441 798-3002 eMail bruns@regio.uni-oldenburg.de http://www.regio.uni-oldenburg.de --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: