com.nurelm.nucontent.controller
Class TagEditorOnly

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended bycom.nurelm.nucontent.controller.TagEditorOnly
All Implemented Interfaces:
javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

public class TagEditorOnly
extends javax.servlet.jsp.tagext.TagSupport

Makes a section of a page inaccessible to those who aren't editors. To-do: rename categories to category and allow a check for only one or change to group

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
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
TagEditorOnly()
           
 
Method Summary
 int doEndTag()
          DOCUMENT ME!
 int doStartTag()
          DOCUMENT ME!
 java.lang.String getCategories()
          DOCUMENT ME!
 void setCategories(java.lang.String categories)
          DOCUMENT ME!
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, 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

TagEditorOnly

public TagEditorOnly()
Method Detail

setCategories

public void setCategories(java.lang.String categories)
DOCUMENT ME!

Parameters:
categories - DOCUMENT ME!

getCategories

public java.lang.String getCategories()
DOCUMENT ME!

Returns:
DOCUMENT ME!

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
DOCUMENT ME!

Returns:
DOCUMENT ME!
Throws:
javax.servlet.jsp.JspException - DOCUMENT ME!

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspTagException
DOCUMENT ME!

Returns:
DOCUMENT ME!
Throws:
javax.servlet.jsp.JspTagException - DOCUMENT ME!