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!

template / html header

728493Nov 19 2009 — edited Nov 19 2009
Hi evryone,

I have a question about the #HEAD# substitution string in the templates. I am currently having problems in a case where there is existing javascript in the html header when an error page is loaded to catch an error.

Example :
In the page, in the HTML header, a javascript function on document ready set the cursor position on the interactive report on the page. If an error happens on this page and the error page i created loads, it gives an error because it cannot find the interactive report item, because its the error page and not the real


The problem is that when i include the #HEAD#, i get the html header of the page which i want to exclude in the error page case.
And if i dont incluse the #HEAD#, the apex libraries are not included in the page, and thats problematic.


Is there a workaround for this other than hardcoding the apex javascript libraries inclusion?
Like a substituion string which does not include the html header but includes the libraries ?

Thank you for your help

Fred
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 17 2009
Added on Nov 19 2009
3 comments
391 views