How to add the checksum in a link online?

Hello world.
I have a small problem... I am building an app and all pages have the Access Protection Page = 'Arguments must have checksum.
APEX automatically adds the checksum to the URLS in each BRANCH to point and generates a link.
When I build a link within a procedure, I use APEX_UTIL. Function PREPARE_URL to add this checksum.
But when I build a link online, I don't know how to add this checksum. Maybe it's just a java thing, but I'm new to javascript so I'm here guys ask for help.
There are 2 situations where I use the links online:

As a value of element that displays a link:
href = "f? p = & APP_ID.:22: & SESSION. : & DEBUG. : P22_TABID:9 "> history

And in a target URL that opens a pop-up window, some like this:
JavaScript:popUp2('f?p=&APP_ID.:22:&session.::&Debug.::P22_TABID:9',500,400)

How to add totals to control here?
Thanks in advance
Oscar

Published by: user10712087 on 01/31/2009 14:29

Published by: user10712087 on 01/31/2009 14:32

Hello

Just for you (and the other) know, the APEX_UTIL. Function PREPARE_URL, Scott has done you, adds a parameter - & cs = - f originally? p URL. When using JavaScript, as in your example, you must escape the ampersand (and other element values, that may contain special characters). You can learn more on this topic in here - http://download.oracle.com/docs/cd/E10513_01/doc/apirefs.310/e12855/apex_util.htm#CDEIBCJD.

Kind regards
Arie.

Tags: Database

Similar Questions

Maybe you are looking for