org.apache.myfaces.portlet
public interface DefaultViewSelector
null
to revert to
the default View Id specified in portlet.xml.
Version: $Revision: 169655 $ $Date: 2005-05-11 18:45:06 +0200 (Wed, 11 May 2005) $
Method Summary | |
---|---|
String | selectViewId(RenderRequest request, 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(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. |
Parameters: request The RenderRequest response The RenderResponse
Returns: a JSF View Id, or null
if the selector wishes to
revert to the default View Id specified in portlet.xml.
Throws: PortletException if a View Id can not be determined because of some underlying error.