Hi Axel,
> Dear Cocoon users! > >Could some kind soul please send me some sample code how to cope with >the result of <xsp-request:get-parameter-values/> with Cocoon 1.8.2? I >somehow seem to be unable to figure out myself... > I don't exactly know what <xsp-request:get-parameter-values/> 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 <xsp:logic> 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 > >-- >[EMAIL PROTECTED] 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. <http://xml.apache.org/cocoon/faqs.html> > >To unsubscribe, e-mail: <[EMAIL PROTECTED]> >For additional commands, e-mail: <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED] http://www.regio.uni-oldenburg.de --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>