org.apache.beehive.netui.tags.html
Class Content

Object
  extended by SimpleTagSupport
      extended by AbstractSimpleTag
          extended by Content
All Implemented Interfaces:
JspTag, SimpleTag, INetuiTag

public class Content
extends AbstractSimpleTag

The Content tag is used to display text, or the result of an expression, to the page.

Example
In this sample, the Content tag displays the Form Bean's lastName property.
 <netui:content value="{actionForm.lastName}" />

Constructor Summary
Content()
           
 
Method Summary
 void doTag()
          Render the content.
 String getTagName()
          Return the name of the Tag.
 void setDefaultValue(String defaultValue)
          Set the default value of this Content.
 void setValue(Object value)
          Set the value of this Content.
 
Methods inherited from class AbstractSimpleTag
getBufferBody, getHtmlTag, getIdForTagId, getInlineError, getPageContext, getScriptReporter, getUserLocale, hasErrors, registerTagError, registerTagError, reportErrors, rewriteName, setNonEmptyValueAttribute, setRequiredValueAttribute, write
 
Methods inherited from class SimpleTagSupport
findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParent
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Content

public Content()
Method Detail

getTagName

public String getTagName()
Return the name of the Tag.

Specified by:
getTagName in interface INetuiTag
Specified by:
getTagName in class AbstractSimpleTag
Returns:
the name of the tag.

setDefaultValue

public void setDefaultValue(String defaultValue)
                     throws JspException
Set the default value of this Content.

Parameters:
defaultValue - - the default value
Throws:
JspException

setValue

public void setValue(Object value)
Set the value of this Content.

Parameters:
value - - the Content value

doTag

public void doTag()
           throws JspException
Render the content.

Specified by:
doTag in interface SimpleTag
Overrides:
doTag in class SimpleTagSupport
Throws:
JspException - if a JSP exception has occurred