public interface DefaultViewSelector
null to revert to
the default View Id specified in portlet.xml.| Modifier and Type | Method and Description |
|---|---|
String |
selectViewId(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
This method allows a JSF application to specify which JSF view will be
when the incoming request does not provide a view id.
|
void |
setPortletContext(javax.portlet.PortletContext portletContext)
This method will be called by the MyFacesGenericPortlet in order to
give the selector an opportunity to store a reference to the
PortletContext.
|
void setPortletContext(javax.portlet.PortletContext portletContext)
String selectViewId(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response) throws javax.portlet.PortletException
request - The RenderRequestresponse - The RenderResponsenull if the selector wishes to
revert to the default View Id specified in portlet.xml.javax.portlet.PortletException - if a View Id can not be determined because of
some underlying error.Copyright © 2013 Apache Software Foundation. All Rights Reserved.