org.openxava.web.portlets
Class XavaPortlet
java.lang.Object
GenericPortlet
org.openxava.web.portlets.XavaPortlet
public class XavaPortlet
- extends GenericPortlet
Allows define an OpenXava as a standard JSR-168 portlet.
You only need to define the OpenXava application and module.
In this way:
OpenXava application name
Application
MyApplication
OpenXava module name
Module
MyModule
- Author:
- Javier Paniza, Guy de Pourtales, Yerik Alarcón
|
Field Summary |
static java.lang.String |
PARAM_APPLICATION
Name of portlet preference for OpenXava application. |
static java.lang.String |
PARAM_MODULE
Name of portlet preference for OpenXava module. |
|
Method Summary |
void |
doView(RenderRequest request,
RenderResponse response)
Executes the OpenXava module as defined by the init parameters PARAM_APPLICATION
and PARAM_MODULE. |
void |
init(PortletConfig config)
|
void |
processAction(ActionRequest request,
ActionResponse response)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PARAM_APPLICATION
public static final java.lang.String PARAM_APPLICATION
- Name of portlet preference for OpenXava application.
- See Also:
- Constant Field Values
PARAM_MODULE
public static final java.lang.String PARAM_MODULE
- Name of portlet preference for OpenXava module.
- See Also:
- Constant Field Values
XavaPortlet
public XavaPortlet()
init
public void init(PortletConfig config)
throws PortletException
- Throws:
PortletException
doView
public void doView(RenderRequest request,
RenderResponse response)
throws PortletException,
java.io.IOException
- Executes the OpenXava module as defined by the init parameters PARAM_APPLICATION
and PARAM_MODULE.
- Throws:
PortletException
java.io.IOException
processAction
public void processAction(ActionRequest request,
ActionResponse response)
throws PortletException
- Throws:
PortletException