OpenCms JSP standard taglib
Tag headincludes


This tag enables content-dependent dynamic inclusion of css/javascript resources on a containerpage.

It should be placed in the HTML head-section of a container page template.

If dynamic inclusion is enabled, resources required by a special formatter that are configured in its formatter_config, are included on demand.


Tag Information
Tag Classorg.opencms.jsp.CmsJspTagHeadIncludes
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
typetruetruejava.lang.StringThe type of resources that can be included dynamically.
The following values are supported:
css
Allow to include css styles, or links to style files, dynamically.
javascript
Allow to include javascript code, or links to script files, dynamically.
defaultsfalsetruejava.lang.StringA pipe ("|") separated list of css/javascript files that should be included by default.
closetagsfalsetruejava.lang.StringConfigure if the HTML tags generated by <cms:headincludes> should also be closed if closing is not mandatory.
The following values are supported:
false (default)
Generated tags are only closed if mandatory.
true
All generated tags are closed.
detailtypefalsetruejava.lang.StringType of the detail container.
Telling the type here will allow to load includes from the most suitable detail formatter if more than one detail formatter is present for a content type.

Use the same value as set for the type attribute an the detail container.
detailwidthfalsetruejava.lang.StringWidth of the detail container.
Telling the width here will allow to load includes from the most suitable detail formatter if more than one detail formatter is present for a content type.

Use the same value as set for the width attribute an the detail container.

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.