Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: get parameter from a html-<select ... multiple> - tag

Re: get parameter from a html-<select ... multiple> - tag

From: Alexei VORONOV <alexei_voronov_at_yahoo.com>
Date: Tue, 23 Oct 2001 13:19:33 +0200
Message-ID: <9r3jkg$b4g$1@wanadoo.fr>


I'm not sure, may be this helps:

you may try to use table based type
DECLARE
TYPE VarList IS TABLE OF VARCHAR2(10);
or
TYPE VarList IS VARRAY(3) OF VARCHAR2(10);

and use this type as the parametre

procedure htp_mult (wert VarList)
as
...

"Rüdiger J. Schulz" <johannes.schulz_at_web.de> a écrit dans le message news: 3bd52f0e$1_at_netnews.web.de...
> how do I evaluate parameter from a <select...multipe>-html-tag in a
> pl/sql-procedure?
>
>
> here is the procedure:
>
>
> procedure htp_mult (wert varchar2 := '0')
> as
> begin
> if wert = '0' then
> htp.print('<form>');
> htp.print('<action="http://adress/pls/verk/htp_mult");
> htp.print('method="post">');
> htp.print('<select name="wert" size=3 multiple>');
> htp.print('<option>first');
> htp.print('<option>second');
> htp.print('<option>third');
> htp.print('</select>');
> htp.print('<br><br><input type="submit" value="Auswählen">');
> htp.print('</form>');
> else
> insert into test (erg, art) values (wert, 'option');
> commit;
> htp.print('Wert '||wert||' eingetragen!');
> htp.print('<br><br><a

href="http://adress/pls/verk/htp_mult">zurück</a>');
> end if;
> end;
>
>
> thanks in advance ...
> Rüdiger J. Schulz
> rjs_at_berlin.de
>
> --
> __________________________________________________________
> News suchen, lesen, schreiben mit http://newsgroups.web.de
Received on Tue Oct 23 2001 - 06:19:33 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US