Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> pass a parameter/passer un parametre
Je suis étudiant en informatique, j'ai un projet de fin d'étude à faire
et je cherche un moyen de passer un paramètre d'une liste déroulante
d'une page WEB crée par une procédure pl/sql à une autre procédure.
I am a student in computer science and I have a project to do.
My problem is to pass a parameter to a procedure from a procedure that crate
a WEB page.
I have a list and I want to take the value of the user and pass it to the
next procedure.
Voici le bout de code de ma première procédure qui est important :
Here is the code :
cursor temp_cur is select * from lefebvpa.arc_serie;
serie temp_cur%rowtype;
. . . htp.p('<form name="classement">'); htp.p('<center>');
htp.p('<br>'); htp.p('<BR>'); htp.p('<table border=0>'); htp.p('<tr>'); htp.p(' <td>');
open temp_cur; htp.p('<SELECT NAME="rech1" onChange="selecteur(this.form);">'); htp.formSelectOption('Choisissez une série'); loop fetch temp_cur into serie; exit when temp_cur%NOTFOUND; **************************************************************************** ****************************************************prc_arc_classer2,
--c'est ici que je veux passer mon paramètre pour l'envoyer
--comme paramètre à une autre procédure--
**here is the place that I want to pass my parameter to
**I want to call the procedure prc_arc_classer2 with one or more parameters, I tried
**that without success : prc_arc_classer2(serie.no_serie) and I know this
**this is not the good way to do it.
--alors j'ai besoin d'explications claires car je suis assez
--nouveau avec ce langage--
--surtout pour ce qui est du fait d'aller chercher des données
--dans une page WEB--
**So I need some clean tricks to do that because I am to a king **with PL/SQL. Take data from a WEB page and pass it to another **procedure is really not obvious for me.
htp.p('<option value="prc_arc_classer2">'|| serie.no_serie ||'.'|| serie.nom_serie || '</option>');
end loop;
close temp_cur; htp.formSelectClose; htp.p(' </td>'); htp.p('</tr>');
. . .Received on Sat Jun 19 1999 - 09:57:57 CDT
![]() |
![]() |