net.sourceforge.pebble.web.tagext
Class IsBlogAdminOrBlogOwnerTag

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

public class IsBlogAdminOrBlogOwnerTag
extends TagSupport

A custom tag that includes its body content if the current user belongs to the blog admin or blog owner roles for the blog.

Author:
Simon Brown

Constructor Summary
IsBlogAdminOrBlogOwnerTag()
           
 
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

IsBlogAdminOrBlogOwnerTag

public IsBlogAdminOrBlogOwnerTag()
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.