Home » Developer & Programmer » Forms » Pass parameters from Oracle Form to HTML
Pass parameters from Oracle Form to HTML [message #81624] Thu, 06 March 2003 13:26 Go to next message
rose
Messages: 7
Registered: October 2001
Junior Member
Hello,

I have an application that requires me to take data from an oracle web form and pass many fields as parameters into an html table.

Is this possible?
Re: Pass parameters from Oracle Form to HTML [message #81626 is a reply to message #81624] Thu, 06 March 2003 13:50 Go to previous message
Julie
Messages: 98
Registered: February 2002
Member
I've called a html page and passed it an argument from a form. I did it like this:

declare
v_url := 'http://pathtopage/myhtml.html?myargument';
begin
web.show_document(v_url)
end;

Then I prefaced my html page with some javascript that read the argument and stored it in a variable in the html page.

var argtext = document.location.href;
if (argtext.indexOf('?') != -1)
htmlarg = argtext.substring((argtext.indexOf('?')+1),argtext.length);

You'll need to adjust this to work for multiple arguments delimited by some character.

Hope this helps.
Previous Topic: Help Plzz
Next Topic: 11i Financials Accelerators
Goto Forum:
  


Current Time: Fri Apr 26 18:15:42 CDT 2024