Common Tags
Tag headincludes


This tag allows JavaScript and Style Sheet include information to be added to a specific point in the Head element of an HTML page, as required by the XHTML specification. If a .js or .css file is marked for inclusion multiple times, it will only be included once in the Head element. JavaScript generated by tags will also be included here. If no headincludes tag is present, it will be included at the bottom of the Head element, or a Head element will be inserted if there is none.

Example:
Main page HTML:
<head>
  <script type="text/javascript" src="http://test.com/main.js"></script>
  <pt:common.headincludes/>
</head>

Pagelet HTML:
<pt:common.includeinhead>
  <script type="text/javascript"><!-- JavaScript --></script>
  <script type="text/javascript" src="http://test.com/test.js"></script>
  <link type="text/css" rel="stylesheet" href="http://test.com/test.css"></link>
</pt:common.includeinhead>


Tag Information
Tag Nameheadincludes

Attributes
No Attributes Defined.


Copyright 2005 Plumtree Software, Inc.