org.bibeault.jrjournal.ccc
Class SetConstantTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.SimpleTagSupport
      extended byorg.bibeault.jrjournal.jsp.ScopedVarTagSupport
          extended byorg.bibeault.jrjournal.ccc.SetConstantTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.SimpleTag

public class SetConstantTag
extends ScopedVarTagSupport

Custom action handler for <ccc:setConstant> which establishes a scoped variable created from the named class constant.

Author:
Bear Bibeault

Nested Class Summary
static class SetConstantTag.ExtraInfo
          Extra info class for the <ccc:setConstant> custom action that checks to ensure that the scope name, if specified, is a valid one.
 
Constructor Summary
SetConstantTag()
           
 
Method Summary
 void doTag()
           
 void setConstant(java.lang.String value)
           
 
Methods inherited from class org.bibeault.jrjournal.jsp.ScopedVarTagSupport
getScopedContext, getScopeName, getVar, setScope, setScopedVariable, setVar, validateScope
 
Methods inherited from class javax.servlet.jsp.tagext.SimpleTagSupport
findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetConstantTag

public SetConstantTag()
Method Detail

setConstant

public void setConstant(java.lang.String value)

doTag

public void doTag()
           throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException