net.sourceforge.pebble.web.tagext
Class IsBlogAdminTag

java.lang.Object
  extended by TagSupport
      extended by net.sourceforge.pebble.web.tagext.IsBlogAdminTag

public class IsBlogAdminTag
extends TagSupport

A custom tag that includes its body content if the current user belongs to the "pebble admin" role for the blog.

Author:
Simon Brown

Constructor Summary
IsBlogAdminTag()
           
 
Method Summary
 int doStartTag()
          Implementation from the Tag interface - this is called when the opening tag is encountered.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IsBlogAdminTag

public IsBlogAdminTag()
Method Detail

doStartTag

public int doStartTag()
               throws JspException
Implementation from the Tag interface - this is called when the opening tag is encountered.

Returns:
an integer specifying what to do afterwards
Throws:
javax.servlet.jsp.JspException - if something goes wrong
JspException


Copyright © 2003-2006, Simon Brown. All Rights Reserved.