|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwebwork.util.ValueStack
webwork.util.ServletValueStack
Value stack implementation for a servlet based scenario.
Nested Class Summary |
Nested classes inherited from class webwork.util.ValueStack |
ValueStack.ValueHolder |
Field Summary |
Fields inherited from class webwork.util.ValueStack |
classes, STACK_NAME |
Constructor Summary | |
ServletValueStack()
|
Method Summary | |
protected java.lang.Object |
findAttribute(java.lang.String id)
Mimic the behaviour of the findAttribute method in the PageContext This method is used when there is no pageContext set for this stack and the findInContext method is called. |
protected java.lang.Object |
findInContext(java.lang.String id)
Find a value by id. |
protected java.lang.Object |
getParameter(java.lang.String aName)
Get parameter directly from request |
static ServletValueStack |
getStack(javax.servlet.jsp.PageContext context)
Get the value stack for a given page context. |
static ServletValueStack |
getStack(javax.servlet.ServletRequest request)
Get the value stack for a given request. |
void |
setContext(javax.servlet.jsp.PageContext context)
Set the page context that should be associated with this stack. |
Methods inherited from class webwork.util.ValueStack |
clearMethods, findMethod, findValue, findValue, getMethod, isEmpty, iterator, popValue, pushValue, size, test, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ServletValueStack()
Method Detail |
public static ServletValueStack getStack(javax.servlet.ServletRequest request)
request
- the request for which a stack shall be returned
public static ServletValueStack getStack(javax.servlet.jsp.PageContext context)
context
- the page context to associate with the stack
public void setContext(javax.servlet.jsp.PageContext context)
protected java.lang.Object findInContext(java.lang.String id)
ValueStack
findInContext
in class ValueStack
protected java.lang.Object findAttribute(java.lang.String id)
protected java.lang.Object getParameter(java.lang.String aName)
getParameter
in class ValueStack
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |