org.apache.empire.struts2.jsp.tags
Class TextTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.tagext.BodyTagSupport
          extended by org.apache.struts2.views.jsp.StrutsBodyTagSupport
              extended by org.apache.struts2.views.jsp.ComponentTagSupport
                  extended by org.apache.empire.struts2.jsp.tags.EmpireTagSupport
                      extended by org.apache.empire.struts2.jsp.tags.TextTag
All Implemented Interfaces:
Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

public class TextTag
extends EmpireTagSupport

See Also:
Serialized Form

Field Summary
protected  String defValue
           
protected  String tag
           
static String TEXT_DEFAULT_VALUE
           
protected  Object value
           
 
Fields inherited from class org.apache.empire.struts2.jsp.tags.EmpireTagSupport
autoResetParams, cssClass, cssStyle, log
 
Fields inherited from class org.apache.struts2.views.jsp.ComponentTagSupport
component
 
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
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
TextTag()
           
 
Method Summary
 int doEndTag()
           
 int doStartTag()
           
 org.apache.struts2.components.Component getBean(com.opensymphony.xwork2.util.ValueStack stack, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
           
protected  void resetParams()
           
 void setDefault(String defValue)
           
 void setTag(String tag)
           
 void setValue(Object value)
           
 
Methods inherited from class org.apache.empire.struts2.jsp.tags.EmpireTagSupport
addStandardAttributes, checkAction, getAction, getActionItemPropertyName, getActionName, getActionURL, getAttribute, getBeanProperty, getBoolean, getId, getInt, getLocale, getObject, getObject, getPageAttribute, getPageName, getString, getString, getString, getTranslation, getTranslationFromKey, populateParams, putPageAttribute, release, removePageAttribute, setCssClass, setCssStyle, setId, str
 
Methods inherited from class org.apache.struts2.views.jsp.ComponentTagSupport
getComponent
 
Methods inherited from class org.apache.struts2.views.jsp.StrutsBodyTagSupport
findString, findValue, findValue, getBody, getStack, toString
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getParent, getValue, getValues, removeValue, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
 

Field Detail

TEXT_DEFAULT_VALUE

public static final String TEXT_DEFAULT_VALUE
See Also:
Constant Field Values

value

protected Object value

tag

protected String tag

defValue

protected String defValue
Constructor Detail

TextTag

public TextTag()
Method Detail

resetParams

protected void resetParams()
Overrides:
resetParams in class EmpireTagSupport

getBean

public org.apache.struts2.components.Component getBean(com.opensymphony.xwork2.util.ValueStack stack,
                                                       javax.servlet.http.HttpServletRequest req,
                                                       javax.servlet.http.HttpServletResponse res)
Specified by:
getBean in class org.apache.struts2.views.jsp.ComponentTagSupport

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class org.apache.struts2.views.jsp.ComponentTagSupport
Throws:
javax.servlet.jsp.JspException

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class EmpireTagSupport
Throws:
javax.servlet.jsp.JspException

setTag

public void setTag(String tag)

setValue

public void setValue(Object value)

setDefault

public void setDefault(String defValue)


Copyright © 2008–2014 Apache Software Foundation. All rights reserved.