|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.opensymphony.webwork.dispatcher.WebWorkResultSupport
com.opensymphony.webwork.portlet.result.PortletResult
public class PortletResult
Result type that includes a JSP to render.
Field Summary |
---|
Fields inherited from class com.opensymphony.webwork.dispatcher.WebWorkResultSupport |
---|
DEFAULT_PARAM, encode, location, parse |
Fields inherited from interface com.opensymphony.webwork.WebWorkStatics |
---|
HTTP_REQUEST, HTTP_RESPONSE, PAGE_CONTEXT, SERVLET_CONTEXT, SERVLET_DISPATCHER |
Constructor Summary | |
---|---|
PortletResult()
|
Method Summary | |
---|---|
protected static void |
convertQueryParamsToRenderParams(javax.portlet.ActionResponse response,
String queryParams)
Converts the query params to render params. |
void |
doExecute(String finalLocation,
ActionInvocation actionInvocation)
Execute the result. |
protected void |
executeActionResult(String finalLocation,
ActionInvocation invocation)
Executes the action result. |
protected void |
executeRenderResult(String finalLocation)
Executes the render result. |
void |
setContentType(String contentType)
Sets the content type. |
void |
setTitle(String title)
Sets the title. |
Methods inherited from class com.opensymphony.webwork.dispatcher.WebWorkResultSupport |
---|
conditionalParse, execute, setEncode, setLocation, setParse |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PortletResult()
Method Detail |
---|
public void doExecute(String finalLocation, ActionInvocation actionInvocation) throws Exception
PortletRequestDispatcher
from the
PortletActionContext
and includes the JSP.
doExecute
in class WebWorkResultSupport
finalLocation
- the location (jsp page, action, etc) to go to.actionInvocation
- the execution state of the action.
Exception
- if an error occurs while executing the result.Result.execute(com.opensymphony.xwork.ActionInvocation)
protected void executeActionResult(String finalLocation, ActionInvocation invocation)
finalLocation
- invocation
- protected static void convertQueryParamsToRenderParams(javax.portlet.ActionResponse response, String queryParams)
response
- queryParams
- protected void executeRenderResult(String finalLocation) throws javax.portlet.PortletException, IOException
finalLocation
-
javax.portlet.PortletException
IOException
public void setContentType(String contentType)
contentType
- The content type to set.public void setTitle(String title)
title
- The title to set.
|
WebWork Project Page | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |