|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.struts2.dispatcher.StrutsResultSupport
org.apache.struts2.portlet.result.PortletResult
public class PortletResult
Result type that includes a JSP to render.
Field Summary |
---|
Fields inherited from class org.apache.struts2.dispatcher.StrutsResultSupport |
---|
DEFAULT_PARAM |
Fields inherited from interface org.apache.struts2.StrutsStatics |
---|
HTTP_REQUEST, HTTP_RESPONSE, PAGE_CONTEXT, SERVLET_CONTEXT, SERVLET_DISPATCHER, STRUTS_PORTLET_CONTEXT |
Constructor Summary | |
---|---|
PortletResult()
|
|
PortletResult(java.lang.String location)
|
Method Summary | |
---|---|
protected static void |
convertQueryParamsToRenderParams(javax.portlet.ActionResponse response,
java.lang.String queryParams)
Converts the query params to render params. |
void |
doExecute(java.lang.String finalLocation,
com.opensymphony.xwork2.ActionInvocation actionInvocation)
Execute the result. |
protected void |
executeActionResult(java.lang.String finalLocation,
com.opensymphony.xwork2.ActionInvocation invocation)
Executes the action result. |
protected void |
executeRenderResult(java.lang.String finalLocation)
Executes the render result. |
void |
setContentType(java.lang.String contentType)
Sets the content type. |
void |
setTitle(java.lang.String title)
Sets the title. |
Methods inherited from class org.apache.struts2.dispatcher.StrutsResultSupport |
---|
conditionalParse, execute, getLastFinalLocation, 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()
public PortletResult(java.lang.String location)
Method Detail |
---|
public void doExecute(java.lang.String finalLocation, com.opensymphony.xwork2.ActionInvocation actionInvocation) throws java.lang.Exception
PortletRequestDispatcher
from the
PortletActionContext
and includes the JSP.
doExecute
in class StrutsResultSupport
finalLocation
- the location (jsp page, action, etc) to go to.actionInvocation
- the execution state of the action.
java.lang.Exception
- if an error occurs while executing the result.Result.execute(com.opensymphony.xwork2.ActionInvocation)
protected void executeActionResult(java.lang.String finalLocation, com.opensymphony.xwork2.ActionInvocation invocation)
finalLocation
- invocation
- protected static void convertQueryParamsToRenderParams(javax.portlet.ActionResponse response, java.lang.String queryParams)
response
- queryParams
- protected void executeRenderResult(java.lang.String finalLocation) throws javax.portlet.PortletException, java.io.IOException
finalLocation
-
javax.portlet.PortletException
java.io.IOException
public void setContentType(java.lang.String contentType)
contentType
- The content type to set.public void setTitle(java.lang.String title)
title
- The title to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |