Open Core
Tag pagecache


Custom tag providing ability to cache elements of the page usually from custom tags and then display them at later point when requested. The main purpose is to allow other tags to specify elements, such as css includes or javascript includes at one spot, e.g. using initialization tag. These elements will then be place on a specific places at the page using this tag. It also allows derived tags to cache their content and then other tags to fetch them and display at other places.

Example:
<core:pagecache id="js"/>


Tag Information
Tag Classorg.opensubsystems.core.www.PageElementCacheTag
TagExtraInfo ClassNone
Body Contentempty
Display Namepagecache

Attributes
NameRequiredRequest-timeTypeDescription
idtruetruejava.lang.StringId of the cached element to retrieve. Common values are css, js, script but you can define your own ones.
cacheasfalsetruejava.lang.StringIf this id is specified then the content will not be printed into output but instead will be cached under id specified in this attribute.

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.