Ver Mensaje Individual
  #2 (permalink)  
Antiguo 29/05/2010, 08:24
camilop24
 
Fecha de Ingreso: febrero-2010
Ubicación: medellin colombia
Mensajes: 37
Antigüedad: 14 años, 1 mes
Puntos: 1
Respuesta: oracle sql developer

ya solucione el problema!, para el interesado use el siguiente codigo:
(aclarando que estoy trabajando la aplicacion web en oracle sql developer)

create or replace PROCEDURE actualizaroferta IS
CURSOR gmi_cur IS
SELECT *
FROM solicitud;

ProcName VARCHAR2(61) := 'feds_pkg.get_data';
HeadText VARCHAR2(2000) := 'Lista de solicitudes';
--FootText VARCHAR2(500) := 'Demo Page Footer';

BEGIN
htp.p(HeadText);
htp.p('<form method="POST"><left>');
htp.p('<table border="1" width="30%">');
FOR i IN gmi_cur LOOP
htp.p('<tr>');
--
htp.p('<td align="left">');
htp.p('<font face="Arial" color=#000000">');
htp.p('<input type=text size=10 maxlength=10 name="tid"');
htp.p('value = ' || i.cod_solicitud || '></font>');
htp.p('</td>');
--
htp.p('<td align="left">');
htp.p('<font face="Arial" color=#000000">');
htp.p('<input type=text size=10 maxlength=10 name="serial_no"');
htp.p('value = ' || i.nit_empresa || '></font>');
htp.p('</td>');
--
htp.p('<td align="left">');
htp.p('<font face="Arial" color=#000000">');
htp.p('<input type=text size=20 maxlength=20 name="serial_no"');
htp.p('value = ' || i.profesion || '></font>');
htp.p('</td>');
--
htp.p('<td align="left">');
htp.p('<font face="Arial" color=#000000">');
htp.p('<input type=text size=15 maxlength=15 name="serial_no"');
htp.p('value = ' || i.salario || '></font>');
htp.p('</td>');
--
htp.p('<td align="left">');
htp.p('<font face="Arial" color=#000000">');
htp.p('<input type=text size=6 maxlength=6 name="serial_no"');
htp.p('value = ' || i.anios_exper || '></font>');
htp.p('</td>');
--
htp.p('<td align="left">');
htp.p('<font face="Arial" color=#000000">');
htp.p('<input type=text size=20 maxlength=20 name="serial_no"');
htp.p('value = ' || i.desc_exper || '></font>');
htp.p('</td>');
--
htp.p('<td align="left">');
htp.p('<font face="Arial" color=#000000">');
htp.p('<a href="caremonda">Actualizar</a></font>');
htp.p('</td>');
--
htp.p('</tr>');
END LOOP;
htp.p('<p align=left>');
htp.p('<input type=submit name="Submit" value="Save"></p>');
htp.p('</form></left>');
htp.p('</table>');
--htp.p(FootText);
END actualizaroferta;