FORUM PLAN UPDATE
Date revision: This forum will remain open to new posts and responses until December 1, 2018. (After that date, you will still be able to view and search the forum.) Also, we're taking a second look at the best place to host future conversation. For now, keep using this forum, and stay tuned for more news.



Oct 31, 2013, 5:37 AM
178 Posts

set head tags

  • Category: Server Side JavaScript
  • Platform: All
  • Release: 8.5.3
  • Role: Developer
  • Tags: head,setheader
  • Replies: 1

I have tried to add additional head tags via the setHeader() function e.g.

http://mnicklisch.wordpress.com/2011/11/08/xpages-header-setzen/

However, when I look at the source of my html xpage I do not see them.

If I set them via the page \ all properties \\ resources \\ metaData tag they appear in the source

Am I doing something wrong? I would like to use the setHeader approach rather than adding resources.

Oct 31, 2013, 6:27 AM
170 Posts
There is two different things

The code you are refering to will end up in the response header.

Not the page header.

Check with Firefox firebug or a network analysis and you will see the parameters added

 

/Fredrik

 


FORUM PLAN UPDATE
Date revision: This forum will remain open to new posts and responses until December 1, 2018. (After that date, you will still be able to view and search the forum.) Also, we're taking a second look at the best place to host future conversation. For now, keep using this forum, and stay tuned for more news.