(wrong string) ètre
Date: Sat, 19 Jun 1999 14:41:52 GMT
Message-ID: <Q_Na3.11301$U4.579956_at_carnaval.risq.qc.ca>
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('<font size=+1>');
htp.p('<img
src="http://www.uqtr.uquebec.ca/~lefebvpa/archives/classement/Image/titre_cl assement.gif" border=0>');
htp.p('<br>'); htp.p('<BR>'); htp.p('<table border=0>'); htp.p('<tr>'); htp.p(' <td>');
- Requete PL/SQL pour afficher tout les séries dans une liste déroulante--
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
- je veux appeler la procédure prc_arc_classer2 avec un ou des
--paramètres, j'ai essayé la chose suivante :
prc_arc_classer2(serie.no_serie)
--et ça n'a pas fonctionné et je sais que ce n'est pas la bonne
façon de faire --
**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>');
htp.p('</table></td>');
htp.p('</form>');
. . .Received on Sat Jun 19 1999 - 16:41:52 CEST