com.opensymphony.webwork.portlet.result
Class PortletResult
java.lang.Object
com.opensymphony.webwork.dispatcher.WebWorkResultSupport
com.opensymphony.webwork.portlet.result.PortletResult
- All Implemented Interfaces:
- WebWorkStatics, Result, Serializable
public class PortletResult - extends WebWorkResultSupport
Result type that includes a JSP to render.
- Version:
- $Revision: 2338 $
- Author:
- Nils-Helge Garli, Rainer Hermanns
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PortletResult
public PortletResult()
doExecute
public void doExecute(String finalLocation,
ActionInvocation actionInvocation)
throws Exception
- Execute the result. Obtains the
PortletRequestDispatcherfrom the
PortletActionContextand includes the JSP.
- Specified by:
doExecute in class WebWorkResultSupport
- Parameters:
finalLocation - the location (jsp page, action, etc) to go to.actionInvocation - the execution state of the action.
- Throws:
Exception - if an error occurs while executing the result.- See Also:
Result.execute(com.opensymphony.xwork.ActionInvocation)
executeActionResult
protected void executeActionResult(String finalLocation,
ActionInvocation invocation)
- Executes the action result.
- Parameters:
finalLocation - invocation -
convertQueryParamsToRenderParams
protected static void convertQueryParamsToRenderParams(javax.portlet.ActionResponse response,
String queryParams)
- Converts the query params to render params.
- Parameters:
response - queryParams -
executeRenderResult
protected void executeRenderResult(String finalLocation)
throws javax.portlet.PortletException,
IOException
- Executes the render result.
- Parameters:
finalLocation -
- Throws:
javax.portlet.PortletException
IOException
setContentType
public void setContentType(String contentType)
- Sets the content type.
- Parameters:
contentType - The content type to set.
setTitle
public void setTitle(String title)
- Sets the title.
- Parameters:
title - The title to set.
|