com.endeca.infront.web.tags
Class PageHead

java.lang.Object
  extended by javax.servlet.jsp.tagext.SimpleTagSupport
      extended by com.endeca.infront.web.tags.PageHead
All Implemented Interfaces:
javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.SimpleTag

public class PageHead
extends javax.servlet.jsp.tagext.SimpleTagSupport

Tag for enabling Workbench preview functionality; each <head> tag must contain a reference to the PageHead tag. This tag inserts paths to the preview JavaScript and CSS files. It also adds content location information.


Constructor Summary
PageHead()
           
 
Method Summary
 void doTag()
          
 void setRootContentItem(ContentItem contentItem)
          Sets the root content item for obtaining the configuration information.
 
Methods inherited from class javax.servlet.jsp.tagext.SimpleTagSupport
findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PageHead

public PageHead()
Method Detail

setRootContentItem

public void setRootContentItem(ContentItem contentItem)
Sets the root content item for obtaining the configuration information.

Parameters:
contentItem - cannot be null

doTag

public void doTag()
           throws javax.servlet.jsp.JspException,
                  IOException

Specified by:
doTag in interface javax.servlet.jsp.tagext.SimpleTag
Overrides:
doTag in class javax.servlet.jsp.tagext.SimpleTagSupport
Throws:
javax.servlet.jsp.JspException
IOException


Copyright © 2012, Oracle and/or its affiliates. All rights reserved.