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: Frank van Bortel <fvanbortel_at_netscape.net>
Date: Tue, 12 Apr 2005 11:16:45 +0200
Message-ID: <d3g3fc$g42$3@news4.zwoll1.ov.home.nl>


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.

-- 
Regards,
Frank van Bortel
Received on Tue Apr 12 2005 - 04:16:45 CDT

Original text of this message

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