|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.portlet.GenericPortlet
org.apache.portals.bridges.common.GenericServletPortlet
org.apache.portals.bridges.jsf.FacesPortlet
FacesPortlet utilizes Java Server Faces to create the user interface in a portlet environment.
| Field Summary | |
static java.lang.String |
ACTION_REQUEST
Action request. |
static java.lang.String |
CUSTOM_REQUEST
Custom request. |
static java.lang.String |
EDIT_REQUEST
Edit request. |
static java.lang.String |
HELP_REQUEST
Help request. |
static java.lang.String |
JSF_CUSTOM_ID
|
static java.lang.String |
JSF_EDIT_ID
|
static java.lang.String |
JSF_HELP_ID
|
static java.lang.String |
JSF_VIEW_ID
The JSF_VIEW_ID used to maintain the state of the view action. |
static java.lang.String |
PARAM_ACTION_PAGE
Name of portlet preference for Action page. |
static java.lang.String |
PARAM_CUSTOM_PAGE
Name of portlet preference for Custom page. |
static java.lang.String |
PARAM_EDIT_PAGE
Name of portlet preference for Edit page. |
static java.lang.String |
PARAM_HELP_PAGE
Name of portlet preference for Edit page |
static java.lang.String |
PARAM_VIEW_PAGE
Name of portlet preference for View page |
static java.lang.String |
REQUEST_SERVLET_PATH
The REQUEST_SERVLET_PATH used for externalContext.getRequestServletPath(). |
static java.lang.String |
VIEW_REQUEST
View request. |
static java.lang.String |
VIEW_ROOT
The VIEW_ROOT used to keep track of action between the action request and the render request. |
| Fields inherited from class org.apache.portals.bridges.common.GenericServletPortlet |
PARAM_ALLOW_PREFERENCES, PARAM_MAX_PAGE |
| Constructor Summary | |
FacesPortlet()
|
|
| Method Summary | |
void |
destroy()
Release all resources acquired at startup time. |
void |
doCustom(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
|
void |
doEdit(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
|
void |
doHelp(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
|
void |
doView(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
|
javax.faces.context.FacesContextFactory |
getFacesContextFactory()
Gets the FacesContextFactory. |
javax.faces.lifecycle.Lifecycle |
getLifecycle()
Get the faces life cycle. |
void |
init(javax.portlet.PortletConfig portletConfig)
Acquire the factory instance we will require. |
protected void |
preProcessFaces(javax.faces.context.FacesContext context)
|
void |
processAction(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response)
|
| Methods inherited from class org.apache.portals.bridges.common.GenericServletPortlet |
getDefaultActionPage, getDefaultCustomPage, getDefaultEditPage, getDefaultHelpPage, getDefaultViewPage, processPreferencesAction, setDefaultActionPage, setDefaultCustomPage, setDefaultEditPage, setDefaultHelpPage, setDefaultViewPage |
| Methods inherited from class javax.portlet.GenericPortlet |
doDispatch, getInitParameter, getInitParameterNames, getPortletConfig, getPortletContext, getPortletName, getResourceBundle, getTitle, init, render |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String VIEW_ROOT
public static final java.lang.String REQUEST_SERVLET_PATH
public static final java.lang.String JSF_VIEW_ID
public static final java.lang.String JSF_EDIT_ID
public static final java.lang.String JSF_HELP_ID
public static final java.lang.String JSF_CUSTOM_ID
public static final java.lang.String PARAM_ACTION_PAGE
public static final java.lang.String PARAM_CUSTOM_PAGE
public static final java.lang.String PARAM_EDIT_PAGE
public static final java.lang.String PARAM_HELP_PAGE
public static final java.lang.String PARAM_VIEW_PAGE
public static final java.lang.String ACTION_REQUEST
public static final java.lang.String VIEW_REQUEST
public static final java.lang.String CUSTOM_REQUEST
public static final java.lang.String EDIT_REQUEST
public static final java.lang.String HELP_REQUEST
| Constructor Detail |
public FacesPortlet()
| Method Detail |
public void destroy()
Release all resources acquired at startup time.
public void init(javax.portlet.PortletConfig portletConfig)
throws javax.portlet.PortletException
Acquire the factory instance we will require.
javax.portlet.PortletException - if, for any reason, the startp of this Faces
application failed. This includes errors in the config
file that is parsed before or during the processing of
this init() method.
public void doEdit(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
throws javax.portlet.PortletException,
java.io.IOException
javax.portlet.PortletException
java.io.IOExceptionGenericPortlet.doEdit(javax.portlet.RenderRequest,
javax.portlet.RenderResponse)
public void doHelp(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
throws javax.portlet.PortletException,
java.io.IOException
javax.portlet.PortletException
java.io.IOExceptionGenericPortlet.doHelp(javax.portlet.RenderRequest,
javax.portlet.RenderResponse)
public void doCustom(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
throws javax.portlet.PortletException,
java.io.IOException
request - The RenderRequest.response - The RenderResponse.
javax.portlet.PortletException - Throws a PortletException.
java.io.IOException - Throws a IOException.
public void doView(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
throws javax.portlet.PortletException,
java.io.IOException
javax.portlet.PortletException
java.io.IOExceptionGenericPortlet.doView(javax.portlet.RenderRequest,
javax.portlet.RenderResponse)
public void processAction(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response)
throws javax.portlet.PortletException,
java.io.IOException
javax.portlet.PortletException
java.io.IOExceptionPortlet.processAction(javax.portlet.ActionRequest,
javax.portlet.ActionResponse)
public javax.faces.context.FacesContextFactory getFacesContextFactory()
throws javax.portlet.PortletException
Gets the FacesContextFactory.
FacesContextFactory.
javax.portlet.PortletException - Throws a PortletException.
public javax.faces.lifecycle.Lifecycle getLifecycle()
throws javax.portlet.PortletException
Get the faces life cycle.
Lifecycle.
javax.portlet.PortletException - Throws a PortletException.protected void preProcessFaces(javax.faces.context.FacesContext context)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||