Discussions
Categories
- 196.9K All Categories
- 2.2K Data
- 239 Big Data Appliance
- 1.9K Data Science
- 450.3K Databases
- 221.7K General Database Discussions
- 3.8K Java and JavaScript in the Database
- 31 Multilingual Engine
- 550 MySQL Community Space
- 478 NoSQL Database
- 7.9K Oracle Database Express Edition (XE)
- 3K ORDS, SODA & JSON in the Database
- 545 SQLcl
- 4K SQL Developer Data Modeler
- 187K SQL & PL/SQL
- 21.3K SQL Developer
- 295.9K Development
- 17 Developer Projects
- 138 Programming Languages
- 292.6K Development Tools
- 107 DevOps
- 3.1K QA/Testing
- 646K Java
- 28 Java Learning Subscription
- 37K Database Connectivity
- 155 Java Community Process
- 105 Java 25
- 22.1K Java APIs
- 138.1K Java Development Tools
- 165.3K Java EE (Java Enterprise Edition)
- 18 Java Essentials
- 160 Java 8 Questions
- 86K Java Programming
- 80 Java Puzzle Ball
- 65.1K New To Java
- 1.7K Training / Learning / Certification
- 13.8K Java HotSpot Virtual Machine
- 94.3K Java SE
- 13.8K Java Security
- 204 Java User Groups
- 24 JavaScript - Nashorn
- Programs
- 439 LiveLabs
- 38 Workshops
- 10.2K Software
- 6.7K Berkeley DB Family
- 3.5K JHeadstart
- 5.7K Other Languages
- 2.3K Chinese
- 171 Deutsche Oracle Community
- 1.1K Español
- 1.9K Japanese
- 232 Portuguese
template / html header

728493
Member Posts: 4
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
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
Answers
-
Hi,
Copy your page template and modify it for your needs
Then go
Home>Application Builder>Application xxx>Shared Components>Themes>Edit Theme
And set error page template there as your new modified theme
Br, JAri -
Im not sure you understood what i meant,
The template is already set as the theme error page.
The problem is that i dont want to include the HTML HEALER of the page (page attribute) when the error page template loads.
Edited by: Rangrid on Nov 19, 2009 9:12 AM
Edited by: Rangrid on Nov 19, 2009 9:15 AM -
Hi,
Ok, sorry.
I thought that if you copy template to new name, remove #HEAD# from copy and use that copied template to your error page, would fix your problem.
That way you have different template to normal page and error page.
It may that I do not still understand,
Sorry
Br, Jari
Edited by: jarola on Nov 20, 2009 6:23 AM
This discussion has been closed.