Class ContextBean

  extended by org.apache.struts2.components.Component
      extended by org.apache.struts2.components.ContextBean
Direct Known Subclasses:
ActionComponent, AppendIterator, Bean, Date, IteratorComponent, MergeIterator, Set, Text, URL

public abstract class ContextBean
extends Component

Base class for control and data tags

Field Summary
protected  java.lang.String var
Fields inherited from class org.apache.struts2.components.Component
actionMapper, COMPONENT_STACK, parameters, stack, throwExceptionOnELFailure
Constructor Summary
ContextBean(ValueStack stack)
Method Summary
protected  java.lang.String getVar()
protected  void putInContext(java.lang.Object value)
 void setId(java.lang.String id)
          To keep backward compatibility TODO remove after 2.1
 void setVar(java.lang.String var)
Methods inherited from class org.apache.struts2.components.Component
addAllParameters, addParameter, altSyntax, altSyntax, completeExpressionIfAltSyntax, copyParams, determineActionURL, determineNamespace, end, end, fieldError, findAncestor, findString, findString, findStringIfAltSyntax, findValue, findValue, findValue, getComponentStack, getParameters, getStack, popComponentStack, setActionMapper, setThrowExceptionsOnELFailure, start, stripExpressionIfAltSyntax, stripExpressionIfAltSyntax, toString, usesBody
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail


protected java.lang.String var
Constructor Detail


public ContextBean(ValueStack stack)
Method Detail


protected void putInContext(java.lang.Object value)


public void setVar(java.lang.String var)


public void setId(java.lang.String id)
To keep backward compatibility TODO remove after 2.1


protected java.lang.String getVar()

Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.