This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Apr 21, 2011, 3:18 PM
12 Posts

Re: Output Script inside HEAD Tag

  • Category: Other
  • Platform: Windows
  • Release: 8.5.2
  • Role: Developer
  • Tags: xpages
  • Replies: 3
Are you just looking to include a library?
 
Adding the script library as a 'resource' will place it into the head tag.
  1. On your xpage, go to the resources tab>add>javascript library
  2. Change the radio button to "link to javascript library from a URL"
  3. Paste in your URL below.
 If it's a library stored within the database in the resources section, on step 2, leave the top radio utton selected and pick the library from the list below.
 
 
Apr 21, 2011, 3:25 PM
38 Posts
Re: Output Script inside HEAD Tag
Great!
 
But what about if I have some code written in Outscript Block and I want it to appear in  HEAD tag?
Apr 22, 2011, 7:53 AM
261 Posts
Re: Output Script inside HEAD Tag
You could add it to the XPage's onClientLoad event.
 

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal