org.meshcms.taglib
Class ModuleTitle

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byorg.meshcms.taglib.AbstractTag
          extended byorg.meshcms.taglib.ModuleTitle
All Implemented Interfaces:
javax.servlet.jsp.tagext.IterationTag, com.opensymphony.module.sitemesh.RequestConstants, java.io.Serializable, javax.servlet.jsp.tagext.Tag

public class ModuleTitle
extends AbstractTag

This tag print the title of the specified module location, if that title has been set when editing the page.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.meshcms.taglib.AbstractTag
PAGE_MODULES, PARAM_REGEX
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface com.opensymphony.module.sitemesh.RequestConstants
DECORATOR, FILTER_APPLIED, PAGE, ROBOT, USING_STREAM
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
ModuleTitle()
           
 
Method Summary
 java.lang.String getLocation()
           
 java.lang.String getPost()
           
 java.lang.String getPre()
           
 void setLocation(java.lang.String location)
           
 void setPost(java.lang.String post)
           
 void setPre(java.lang.String pre)
           
 void writeTag()
          Writes the contents of the tag.
 
Methods inherited from class org.meshcms.taglib.AbstractTag
doStartTag, getHead, getMailFormAddress, getOut, getPage, getStartTagReturnValue, writeEditTag
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModuleTitle

public ModuleTitle()
Method Detail

setLocation

public void setLocation(java.lang.String location)

getLocation

public java.lang.String getLocation()

writeTag

public void writeTag()
              throws java.io.IOException
Description copied from class: AbstractTag
Writes the contents of the tag. Subclasses will use this method to write to the page.

Specified by:
writeTag in class AbstractTag
Throws:
java.io.IOException

getPre

public java.lang.String getPre()

setPre

public void setPre(java.lang.String pre)

getPost

public java.lang.String getPost()

setPost

public void setPost(java.lang.String post)