com.opensymphony.webwork.components
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Field Summary | |
|---|---|
protected boolean |
executeResult
|
protected boolean |
flush
|
protected boolean |
ignoreContextParams
|
protected String |
name
|
protected String |
namespace
|
protected ActionProxy |
proxy
|
protected HttpServletRequest |
req
|
protected HttpServletResponse |
res
|
| Fields inherited from class com.opensymphony.webwork.components.Component |
|---|
COMPONENT_STACK, id, parameters, stack |
| Constructor Summary | |
|---|---|
ActionComponent(OgnlValueStack stack,
HttpServletRequest req,
HttpServletResponse res)
|
|
| Method Summary | |
|---|---|
boolean |
end(Writer writer,
String body)
Callback for the end tag of this component. |
ActionProxy |
getProxy()
|
void |
setExecuteResult(boolean executeResult)
whether the result of this action (probably a view) should be executed/rendered |
void |
setFlush(boolean flush)
whether the writer should be flush upon end of the action tag, default to true. |
void |
setId(String id)
the id (if speficied) to put the action under stack's context. |
void |
setIgnoreContextParams(boolean ignoreContextParams)
whether the request parameters are to be included when the action is invoked |
void |
setName(String name)
name of the action to be executed (without the extension suffix eg. |
void |
setNamespace(String namespace)
namespace for action to call |
| Methods inherited from class com.opensymphony.webwork.components.Component |
|---|
addAllParameters, addParameter, altSyntax, copyParams, determineActionURL, determineNamespace, end, fieldError, findAncestor, findString, findString, findValue, findValue, findValue, getComponentStack, getId, getParameters, getStack, popComponentStack, start, toString, usesBody |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected HttpServletResponse res
protected HttpServletRequest req
protected ActionProxy proxy
protected String name
protected String namespace
protected boolean executeResult
protected boolean ignoreContextParams
protected boolean flush
| Constructor Detail |
|---|
public ActionComponent(OgnlValueStack stack, HttpServletRequest req, HttpServletResponse res)
| Method Detail |
|---|
public boolean end(Writer writer, String body)
Component
writer - the output writer.body - the rendered body.
public ActionProxy getProxy()
public void setId(String id)
public void setName(String name)
public void setNamespace(String namespace)
public void setExecuteResult(boolean executeResult)
public void setIgnoreContextParams(boolean ignoreContextParams)
public void setFlush(boolean flush)
|
WebWork Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||