Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Create Printer Friendly Link - BUG Found

PaulPNov 10 2009 — edited Dec 1 2009
I'm using APEX V3.2.1

From what I've read on the forum, the standard way of putting a page in printer friendly mode is:
1) Create a button (in a region position) called Printer Friendly
2) Set Optional URL direct on button to "URL"
3) in URL Target put
f?p=&APP_ID.:&APP_PAGE_ID.:&APP_SESSION.::::::YES
where YES at the end means "Put target page in Printer Friendly mode".
4) click on the button and, **presto** the page in is PF mode
5) For some real nice extra bells and whistles see http://atulley.wordpress.com/2007/05/17/return-and-print-links-on-printer-friendly-pages/

Now here's the bug...
When you revisit the URL definiton on the button, the code has disappeared and the definition on the button has been rewritten into the optional URL target fields instead i.e. Page = &APP_PAGE_ID.
but now where is the Printer Friendly flag?? How do you turn it off? The only way is to drop the button.
It is impossible for other programmers who may visit your button to see how you have implemented the Printer Friendly mode URL.

The same thing happens if you write step 3 above in a branch instead which is called when the button is pressed. BTW what ever happened to the check box on branches that put the target page into Printer Friendly mode???
regards
Paul P
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 29 2009
Added on Nov 10 2009
3 comments
731 views