railo.runtime.tag
Class HtmlHead

java.lang.Object
  extended by railo.runtime.ext.tag.TagImpl
      extended by railo.runtime.tag.HtmlHead
All Implemented Interfaces:
javax.servlet.jsp.tagext.Tag

public final class HtmlHead
extends TagImpl

Writes the text specified in the text attribute to the 'head' section of a generated HTML page. The cfhtmlhead tag can be useful for embedding JavaScript code, or placing other HTML tags such, as META, LINK, TITLE, or BASE in an HTML page header.


Field Summary
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
HtmlHead()
           
 
Method Summary
 void actionAppend()
           
 void actionRead()
           
 void actionReset()
           
 void actionWrite()
           
 int doEndTag()
           
 int doStartTag()
           
 void release()
           
 void setAction(String action)
           
 void setText(String text)
          set the value text The text to add to the 'head' area of an HTML page.
 void setVariable(String variable)
           
 
Methods inherited from class railo.runtime.ext.tag.TagImpl
getParent, required, required, required, required, setPageContext, setPageContext, setParent
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HtmlHead

public HtmlHead()
Method Detail

release

public void release()
Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class TagImpl
See Also:
Tag.release()

setVariable

public void setVariable(String variable)
Parameters:
variable - the variable to set

setAction

public void setAction(String action)
Parameters:
action - the action to set

setText

public void setText(String text)
set the value text The text to add to the 'head' area of an HTML page. Everything inside the quotation marks is placed in the 'head' section

Parameters:
text - value to set

doStartTag

public int doStartTag()
               throws PageException
Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class TagImpl
Throws:
PageException
See Also:
Tag.doStartTag()

actionAppend

public void actionAppend()
                  throws IOException,
                         ApplicationException
Throws:
IOException
ApplicationException

actionWrite

public void actionWrite()
                 throws IOException,
                        ApplicationException
Throws:
IOException
ApplicationException

actionReset

public void actionReset()
                 throws IOException
Throws:
IOException

actionRead

public void actionRead()
                throws PageException,
                       IOException
Throws:
PageException
IOException

doEndTag

public int doEndTag()
Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class TagImpl
See Also:
Tag.doEndTag()


Copyright © 2012 Railo