Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Problem Javascript / PLSQL

Re: Problem Javascript / PLSQL

From: Fabiano Pallonetto <fp.soft_at_tiscali.it>
Date: Tue, 12 Apr 2005 09:49:27 GMT
Message-ID: <HQM6e.768261$b5.34382215@news3.tin.it>


Hi,
the version of Oracle is 9.2.0.1
and the file is a psp file.
thank you again

Fabiano
Frank van Bortel ha scritto:

> Fabiano Pallonetto wrote:
> 

>>Hi to everybody,
>>should be a really simple thing but I cannot see my error.
>>I have to pass a string from PL/SQL to Javascript in my application
>>but it doesn't work, here there is an example:
>>the problem is here ********
>>
>><%@ page language="PL/SQL" %>
>><%@ plsql parameter="NomeProc" %>
>>
>><HTML>
>><HEAD><TITLE>Mostra Procedura</TITLE></HEAD>
>><BODY>
>><H1>SourceCode </H1>
>><H2>From <I>sourceproc.psp</I> </H2>
>><I><font size=+1> Procedure name=<%= NomeProc %></font></I> </TD>
>><TABLE>
>><% for codice in
>> (select line, text from User_source u where u.name like NomeProc)
>> loop %>
>><TR> <TD><%= codice.line %></TD><TD><script>****** document.write('<%=
>>codice.text %>')********</script> </TD> </TR>
>><% end loop; %>
>></TABLE>
>></BODY>
>></HTML>
>>
>>if I put the PLSQL istruction <%= codice.text %> in the middle of the
>>javascript it doesn't work and I cannot understand why.
>>Thank you so much for your help.
>>Fabiano
> 
> 
> Would this be PSP as in PL/SQL Server Pages?
> If so, please state the version of the application server.


-- 
Fabiano Pallonetto

Computer Science Major
http://www.pallonetto.it/fabiano/

University of Pisa
http://www.di.unipi.it
Received on Tue Apr 12 2005 - 04:49:27 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US