 |
|
Oracle Tips by Burleson |
Using
APP_ID and APP_PAGE_ID
When building page URL strings to navigate between
pages in an application, it is more efficient to not hard code the
APP_ID into the URL as shown:
f?p=103:1132:&SESSION.
It would be better to use the APP_ID substitution
string. This way when the application is deployed, the URL will keep
working regardless of the APP_ID.
f?p=:APP_ID:1132:&SESSION.
When building branches that redirect back to the
current page after submitting the page, it can be better to not use
the page ID directly in the branch. Instead, enter &APP_PAGE_ID. for
the target page ID.
The
above book excerpt is from:
Easy HTML-DB
Oracle Application Express
Create Dynamic
Web Pages with OAE
ISBN 0-9761573-1-4
Michael Cunningham & Kent Crotty
http://www.rampant-books.com/book_2005_2_html_db.htm
 |
For more details and scripts, see my new book "
Oracle
Tuning: The Definitive Reference", over 900 pages
of BC's favorite tuning tips & scripts.
You can buy it direct from the publisher for 30%-off and get
instant access to the code depot. |
|