Bonjour,

Je cherche a remplir une liste déroulante d'une page web:
htp.tablerowopen(calign=>'LEFT',cattributes=>'bgcolor="'||Graphique.color_clair||'"');

..htp.tabledata (Graphique.print('Choix du type d''abonnement',taille=>'-1'));
..htp.tabledata ( htf.formSelectOpen ( cname => 'p_typeabo', cprompt => 'faite un choix: ', nsize => 4)||

....htf.formSelectOption( 'Station', cattributes => ' VALUE="10"') ||
....htf.formSelectOption( 'Localité', cattributes => ' VALUE="20"') ||

..htf.formSelectClose);

htp.tablerowclose;
Je voudrais donc remplacer:
....htf.formSelectOption( 'Station', cattributes => ' VALUE="10"') ||
....htf.formSelectOption( 'Localité', cattributes => ' VALUE="20"') ||
par un select dans une table, je penssait faire quelque chose comme ca:
htp.tabledata ( htf.formSelectOpen ( cname => 'p_typeabo', cprompt => 'faite un choix: ', nsize => 4)||)
FOR curs IN (SELECT * FROM installations)
LOOP

htp.tabledata (htf.formSelectOption( curs.refinstallation, cattributes => ' VALUE=curs.refinstallation') ||)

END LOOP;
htp.tabledata (htf.formSelectClose);
Mais malheureusement on ne peut pas... et je ne trouve pas la solution...
Quelqun pour m'orienter svp?