Sun Java System Portal Server 7.1 Technical Reference

Chapter 29 JSPs in the enterprise_sample Directory

This chapter lists the subdirectories and the JSPs under the /var/opt/SUNWportal/portals/<portal_id>/desktop/enterprise_sample/ directory.

ASCTabContainer

The ASCTabContainer JSPs are located in the /var/opt/SUNWportal/portals/<portal_id>/desktop/enterprise_sample/ASCTabContainerProvider directory.

The ASCTabContainer is the Portal Desktop Parent Container for the Enterprise Sample. The ASCTabContainer JSPs are used to construct the Portal Desktop page.

The list of JSPs in the ASCTabContainer directory and their description are:

anonymous.jsp

This JSP displays the login form for the anonymous user.

body.jsp

This JSP displays the corporate logo and determines whether or not to display the anonymous user logged in the page. This JSP dynamically includes the anonymous.jsp and loggedIn.js.

loggedIn.jsp

This JSP displays the user information for the authenticated user and the logout link.

primaryContainer.jsp

This JSP displays the primary container or top level tabs.

secondaryContainer.jsp

This JSP displays the secondary containers or nested tabs for the current selected primary container.

tab.jsp

This JSP displays the tabs. This JSP dynamically includes the primaryContainer.jsp and the secondaryContainer.jsp.

user.jsp

This JSP determines whether the user is an anonymous user or not.

AccountPreferencesContainer

The AccountPreferencesContainer JSPs are located in the /var/opt/SUNWportal/portals/<portal_id>/desktop/enterprise_sample/AccountPreferencesContainer directory.

The AccountPreferencesContainer JSPs are used to maintain the users account preference settings for contact information, password, and timezone.

The list of JSPs in the AccountPreferencesContainer directory and their description are:

content.jsp

This JSP displays the appropriate page for contact information, password, or timezone settings.

process.jsp

This JSP processes the request for contact information, password, or timezone settings.

title.jsp

This JSP displays the title for Account Settings page.

The AccountPreferencesContainer contact information JSPs are located in the /var/opt/SUNWportal/portals/<portal_id>/desktop/enterprise_sample/AccountPreferencesContainer/contactinfo directory.

The AccountPreferencesContainer password JSPs are located in the /var/opt/SUNWportal/portals/<portal_id>/desktop/enterprise_sample/AccountPreferencesContainer/password directory.

The AccountPreferencesContainer timezone JSPs are located in the /var/opt/SUNWportal/portals/<portal_id>/desktop/enterprise_sample/AccountPreferencesContainer/timezone directory.

FullPageContainer

The FullPageContainer JSPs are located in the /var/opt/SUNWportal/portals/<portal_id>/desktop/enterprise_sample/FullPageContainer directory.

The FullPageContainer is used to display the channel content in a full page view.

The JSP available in the FullPageContainer directory and its description is:

content.jsp

This JSP displays the channel content in a full page view.

JSPEditContainer

The JSPEditContainer JSPs are located in the /var/opt/SUNWportal/portals/<portal_id>/desktop/enterprise_sample/JSPEditContainer directory.

The JSPs in the EditContainer are used when the Edit icon is selected in a channel title bar inside a JSP based container. The channels that have the editType defined as EDIT_SUBSET to use these JSPs. The difference between the EditContainer JSP and the default directory JSP is that the EditContainer JSP includes the Enterprise Sample style.

The list of JSPs in the JSPEditContainer directory and their description are:

edit.jsp

This JSP displays the Edit view of a channel and provides a wrapper around the actual Edit view for a given channel.

doedit.jsp

This JSP processes the edit request.

JSPTableContainerProvider

The JSPTableContainerProvider JSPs are located in the /var/opt/SUNWportal/portals/<portal_id>/desktop/enterprise_sample/JSPTableContainerProvider directory.

The list of JSPs in the JSPTableContainerProvider directory and their description are:

channel.jsp

This JSP wraps the channel to display the channel menubar and content view. This JSP dynamically includes the channelMenubar.jsp.

channelMenubar.jsp

This JSP displays the menubar in the channel.

column.jsp

This JSP is responsible for each column in the table layout and to retrieve the channel content.

launchPopup.jsp

This JSP detaches the channel into a separate window.

popupChannel.jsp

This JSP displays the content view of the detached channel.

popupChannelMenubar.jsp

This JSP displays the menubar of the detached channel.

table.jsp

This JSP is responsible for the table layout and displays the content view of the table container. This JSP dynamically includes the column.jsp.

tableFullWindow.jsp

This JSP displays the content view of the table container for single maximized channel.

OnlineHelpContainer

The OnlineHelpContainer JSPs are located in the /var/opt/SUNWportal/portals/<portal_id>/desktop/enterprise_sample/OnlineHelpContainer directory.

The list of JSPs in the OnlineHelpContainer directory and their description are:

content.jsp

This JSP displays the online help.

title.jsp

This JSP displays the title for online help page.

PagePreferencesContainer

The PagePreferencesContainer JSPs are located in the /var/opt/SUNWportal/portals/<portal_id>/desktop/enterprise_sample/PagePreferencesContainer directory.

The PagePreferencesContainer JSPs are used to maintain the users page preference settings for the currently selected tab. These JSPs allow the user to change the page channel content and channel layout.

The list of JSPs in the PagePreferencesContainer directory and their description are:

content.jsp

This JSP displays the appropriate page for contact information, password, or timezone settings.

process.jsp

This JSP processes the request for the content or layout page.

title.jsp

This JSP displays the title for the Page Preferences page.

The PagePreferencesContainer content JSPs are located in the /var/opt/SUNWportal/portals/<portal_id>/desktop/enterprise_sample/PagePreferencesContainer/content directory.

The PagePreferencesContainer layout JSPs are located in the /var/opt/SUNWportal/portals/<portal_id>/desktop/enterprise_sample/PagePreferencesContainer/layout directory.

JSPs Within the enterprise_sample Directory

The JSPs available within the enterprise_sample directory are located in the /var/opt/SUNWportal/portals/<portal_id>/desktop/enterprise_sample directory.

The list of JSPs within the enterprise_sample directory and their description are:

body.jsp

This JSP displays the corporate logo and determines whether to display the anonymous user in the logged in page. This JSP dynamically includes the anonymous.jsp or the loggedIn.jsp.

channelFullPageContent.jsp

This JSP displays channel content for a full page view.

header.jsp

This JSP displays the header information. This JSP dynamically includes the user.jsp, meta.jsp, title.jsp, script.jsp, and body.jsp.

loggedIn.jsp

This JSP displays the user information for the authenticated user and the logout link.

logout.jsp

This JSP displays the logout link.

meta.jsp

This JSP displays the HTML Meta information.

script.jsp

This JSP displays the JavaScript functions.

title.jsp

This JSP displays the page title.

user.jsp

This JSP determines whether the user is an anonymous user or not.