Home » Developer & Programmer » Application Express, ORDS & MOD_PLSQL » htp.formopen
htp.formopen [message #455679] Wed, 12 May 2010 08:46 Go to next message
Messages: 178
Registered: April 2007
Senior Member

i have two pages: PAGE 1 has button to go to PAGE 2, which opens a PAGE 2 in a new window which is fine.
PAGE 2 has PAGE 1, which when clicked should go back to PAGE 1. instead it opens a new window for PAGE 1.

I have tried using different attributes for ctarget, but either it opens in new window, or in the same i.e in PAGE 2 itself.
htp.formOpen('PAGE 1',ctarget=>'_self');

How or what attributes can i add to htp.formopen so that it goes back to PAGE 1 ?

thanks in advance,
Re: htp.formopen [message #455949 is a reply to message #455679] Thu, 13 May 2010 14:13 Go to previous messageGo to next message
andrew again
Messages: 2577
Registered: March 2000
Senior Member
My suggestion would be to make a simple HTML example that works the way you want it, then construct the HTML to achieve exactly what you want using htp.p rather than htp.formopen. htp.formopen doesn't do any magic - it just prints HTML snippets. If you are comfortable with HTML syntax, you might prefer using htp.p throughout for all HTML, javascript, CSS etc.
Re: htp.formopen [message #456240 is a reply to message #455679] Sun, 16 May 2010 07:32 Go to previous message
Messages: 540
Registered: February 2008
Senior Member
if you are in apex 3.2 this is not an issue at all
Previous Topic: Expire Page when back button is pressed
Next Topic: Report Printing problem
Goto Forum:

Current Time: Wed Mar 29 11:43:42 CDT 2023