Re: select boxes inside html table:web server 2.0

From: Thomas J. Kyte <tkyte_at_us.oracle.com>
Date: 1996/11/03
Message-ID: <327c0332.4390473_at_dcsun4>#1/1


I wish they would put in an htp.tableDataOpen, htp.tableDataClose (like there are open and close functions for everything else). As it is, the easiest way to do what you want is to drop back to printing out the tags themselves, eg:

htp.p('<td>');
htp.formSelectOpen(....);
for x in ( select * from t ) loop

   htp.formSelectOption( ... .);
end loop
htp.formSelectClose;
htp.p('</td>');

Also, check out http://govt.us.oracle.com, follow link to tech center/downloadable utlities. Getting the OWA Extensions, you can reduce the above to:

htp.p( '<td>' );
owa_sql.list_from_query( 'p_supplier_part', 'select * from t' ); htp.p( '</td>');

On Fri, 1 Nov 1996 11:29:39, syarla_at_pt4064.pto.ford.com (Suresh Yarlagadda) wrote:

>
>Hi,
>
> I want to put select boxes ( values will be loaded from cursors ) inside
>tables. I can create select boxes and display it in the web browser bot not
>inside tables.
>
>example: it is working
> htp.formSelectOpen('P_supplier_part','SUPPLIER PART#','1');
> htp.formSelectOption(' ');
> htp.formSelectOption('Suresh1');
> htp.formSelectOption('Suresh2');
> htp.formSelectOption('Suresh3');
> htp.formSelectClose;
> htp.p;
>
>
>Please help me how to use the same functions inside htp.tabledata procedures
>
>htp.tableopen;
>htp.tablerowopen;
>htp.tabledata(htf.formselectopen(' ') --- ???
>htp.formselectoption(' '); --- ???
>htp.tablerowclose;
>htp.tableclose;
>
>
>bye
>
>Suresh Yarlagadda
>Ford Motors

Thomas Kyte
Oracle Government
tkyte_at_us.oracle.com                          

http://govt.us.oracle.com

  • Check out Oracle Governments web site! ----- Follow the link to "Tech Center" and then downloadable Utilities for some free software...

statements and opinions are mine and do not necessarily reflect the opinions of Oracle Corporation Received on Sun Nov 03 1996 - 00:00:00 CET

Original text of this message