This class provides the implementation for JSPSingleContainerProvider
and extends JSPContainerProviderAdapter
Single Container simply displays a single leaf channel or a container.
It can just be a JSP Page that wraps a container/leaf channel.
See Also:com.sun.portal.providers.containers.JSPContainerProviderAdapter
getSelectedChannel(HttpServletRequest req) Gets the selected channel name.
This method gets the selected channel name by querying
the request for parameter .selectedChannel
and stores the selectedChannel name in session for future
requests.
getWindowState(String channelName) Gets the window state of the channel.
This method just returns ProviderWindowStates.NORMAL.
Parameters: channelName - channel for which the window state is requested.
public void
setWindowState(String channelName, int windowState) Sets the window state of a channel.
Gets the selected channel name.
This method gets the selected channel name by querying
the request for parameter .selectedChannel
and stores the selectedChannel name in session for future
requests. If selectedChannel cannot be obtained either from
the request or from session, then selectedChannel from a
call to getSelectedChannel() is returned.
Parameters: request - An HttpServletRequest that containsinformation related to this request . the selected channel name String. exception: ProviderException - if more than one selected channelis defined. See Also:com.sun.portal.providers.containers.jsp.single.JSPSingleContainerProvider.getSelectedChannel
Sets the window state of a channel.
This method currently has no effect and throws
UnsupportedWindowStateException if windowState passed is not
ProviderWindowStates#NORMAL.
Subclasses that wish to allow setting a WindowState should
override this method.
Parameters: channelName - channel for which the window state needs to be set Parameters: windowState - The new window state UnsupportedWindowStateException.
Methods inherited from com.sun.portal.providers.containers.JSPContainerProviderAdapter