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  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  String getVar()
protected  void putInContext(Object value)
 void setId(String id)
          To keep backward compatibility TODO remove after 2.1
 void setVar(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 String var
Constructor Detail


public ContextBean(ValueStack stack)
Method Detail


protected void putInContext(Object value)


public void setVar(String var)


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


protected String getVar()

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