Sun Java System Portal Server 7.2 Technical Reference

Part IV Desktop Java Server Pages

Chapter 30 Overview of Desktop JavaServer Pages

This chapter contains the following sections:

Introduction

To generate the rendered Desktop user interface (what the industry refers to as the “presentation”), the Sun Java System Portal Server software makes use of either JSPs or template files. JSPs are preferred because they enable a much easier customization process without having to change the provider Java classes. JSPs also provide a way to enable a strict separation of business and presentation logic. Specifically, this means having the business logic in the provider classes and presentation logic in JSPs.

Installation Location

The default set of JSPs are installed in /var/opt/SUNWportal/portals/<portal_id>/desktop/default directory. The developer sample JSPs are installed in /var/opt/SUNWportal/portals/<portal_id>/desktop/developer_sample and /var/opt/SUNWportal/portals/<portal_id>/desktop/developer_anonymous_sample directories.

Files in the /var/opt/SUNWportal/portals/<portal_id>/desktop/developer_anonymous_sample directory are specific to the developer sample Anonymous Desktop.

The Desktop and JavaServer Pages

The JSPProvider class reads in the JSP, compiles it, and runs it to produce the channel content.

The JSPProvider class reads three JSPs, one for content, one for the Edit page, and one to process the form submission from the Edit page. All other JSPs used in a JSP-based channel are referenced from one of those JSPs, either by an include or a forward statement.

A simple JSP-based channel can have just one JSP. Multiple JSPs are useful when a single part of the Desktop has to be replicated in several places. For example, consider a channel that has several display modes based on links clicked in that channel. Further, assume that the channel has a banner that must be displayed in all modes but one. You could construct a JSP to reference a banner.jsp file that captures common formatting that is used in multiple branches of the logic. If you didn’t use this method, you would need to duplicate the content from the banner.jsp file, which is more difficult to maintain if that content needs to be changed.

File Lookup Scenario

The Portal Server software uses the lookup scenario outlined in this section to find the JSPs it needs. Use this order to decide the final location of your own JSPs.


Example 30–1 JSP Lookup Scenario


            
desktoptype_
            locale/
            channelname/
            clientPath

            desktoptype_
            locale/
            provider/
            clientPath

            desktoptype_
            locale/
            channelname

            desktoptype_
            locale/
            provider

            desktoptype_
            locale/
            clientPath

            desktoptype_
            locale

            desktoptype/
            channelname/
            clientPath

            desktoptype/
            provider/
            clientPath

            desktoptype/
            channelname

            desktoptype/
            provider

            desktoptype/
            clientPath

            desktoptype
default_
            locale/
            channelname/
            clientPath
default_
            locale/
            provider/
            clientPath
default_
            locale/channelname
default_
            locale/
            provider
default_
            locale/
            clientPath
default_
            locale
default/
            channelname/
            clientPath
default/
            provider/
            clientPath
default/
            channelname
default/
            provider
default/
            clientPath
default

            templateroot

If there is no clientPath specified, then the directory search order is as follows:


Example 30–2 JSP Lookup Scenario (no clientPath)


            
desktoptype_
            locale/
            channelname

            desktoptype_
            locale/
            provider

            desktoptype_
            locale

            desktoptype/
            channelname

            desktoptype/
            provider

            desktoptype
default_
            locale/
            channelname
default_
            locale/
            provider
default_
            locale
default/
            channelname
default/
            provider
default

            templateroot

The lookup scenario relies on the following parameters:

desktoptype

For example default (set in the administration console). Note that desktop type is now a comma separated string list and so the look up will be based on the desktop type(s) that are defined in the desktoptype attribute.

locale

Preferred locale is the user’s locale. For example, en_US (set by users through the administration console in the “User” setting)

clientPath

This is an optional file-path containing client-specific templates; for example, html (set through the administration console Client Detection service)

channelname

This is the name of the channel; for example, newSingleContainer (set in the display profile)

provider

This is the provider name; for example, JSPSingleContainerProvider (set in the display profile)

templateroot

This is defined in the desktopconfig.properties file. The root of the search directory (default value of /var/opt/SUNWportal/portals/<portal_id>/config/) can be changed by modifying the templateBaseDir property in the desktopconfig.properties file.

Chapter 31 JSPs in the default Directory

This chapter lists all the JSPs available in the JSP sub directories under the default directory installed in the Sun Java System Portal Server 7.2. The following sections are the names of the sub directories under the default directory. These sections list the JSPs available in each sub directory and their description.

CommunityDiscussionProvider

The CommunityDiscussionProvider JSPs are located in /var/opt/SUNWportal/portals/<portal_id>/desktop/default/CommunityDiscussionProvider directory.

The JSPs available in the CommunityDiscussionProvider sub directory and their functionality are:

declare.jsp

Displays the declare section.

discussionContent.jsp

Displays the discussion content.

discussionDoEdit.jsp

Displays the discussion do edit.

discussionEdit.jsp

Displays the discussion edit.

error.jsp

Error message used when community discussion connection fails.

feedback.jsp

Displays the feedback section.

feedbackDisplay.jsp

Displays the feedback display.

feedbackForm.jsp

Displays the feedback form.

feedbackProcess.jsp

Displays the feedback process.

fullDiscussion.jsp

Displays the full discussion section.

fullDiscussionDisplay.jsp

Displays the full discussion display.

pageFooter.jsp

Displays the page footer.

portal.jsp

Displays the portal.

query.jsp

Displays the query.

rating.jsp

Displays the rating.

ratingProcess.jsp

Displays the rating process.

searchUI.jsp

Displays the search UI.

viewDiscussion.jsp

Displays the view discussion.

viewDiscussionBar.jsp

Displays the view discussion bar.

viewDiscussionDisplay.jsp

Display the view discussion display.

viewDiscussionHeader.jsp

Displays the view discussion header.

viewDiscussionNavigation.jsp

Displays the view discussion navigation.

CommunitySearchProvider

The CommunitySearchProvider JSPs are located in /var/opt/SUNWportal/portals/<portal_id>/desktop/default/CommunitySearchProvider directory.

The JSPs available in the CommunitySearchProvider sub directory and their functionality are:

advQuery.jsp

Displays the advance query.

advancedSearch.jsp

Displays the advanced search.

basicSearch.jsp

Displays the basic search.

browseHeader.jsp

Displays the browse header.

browseOnly.jsp

Displays the browse only section.

browseResults.jsp

Displays browse results.

browseSearch.jsp

Displays browse search.

browseSearchResults.jsp

Displays browse search results.

catMenu.jsp

Displays cat menu.

dbMenu.jsp

Displays database menu.

descMenu.jsp

Displays description menu.

error.jsp

Error message used when community search connection fails.

pageFooter.jsp

Displays page footer.

processRating.jsp

Displays process rating.

psSearch.jsp

Displays ps search.

rating.jsp

Displays rating section.

results.jsp

Displays results.

score.jsp

Displays score section,

searchContent.jsp

Displays search content.

searchDoEdit.jsp

Displays search do edit.

searchEdit.jsp

Displays search edit.

searchMenu.jsp

Displays search menu.

searchOnly.jsp

Displays search only.

CommunitySubscriptionsProvider

The CommunitySubscriptionsProvider JSPs are located in /var/opt/SUNWportal/portals/<portal_id>/desktop/default/CommunitySubscriptionsProvider directory.

The JSPs available in the CommunitySubscriptionsProvider sub directory and their functionality are:

profilerContent.jsp

Displays profiler content.

subscontent.jsp

Displays subscription content.

subsdoedit.jsp

Displays subscription do edit.

subsedit.jsp

Displays subscription edit.

DefaultChannel

The DefaultChannel JSPs are located in /var/opt/SUNWportal/portals/<portal_id>/desktop/default/DefaultChannel directory.

The JSPs available in the DefaultChannel sub directory and their functionality are:

content.jsp

Retrieves default channel session.

menubar.jsp

The menubar for the Default Channel.

DiscussionLite

The DiscussionLite channel JSPs are located in /var/opt/SUNWportal/portals/<portal_id>/desktop/default/DiscussionLite directory.

The JSPs available in the DiscussionLite sub directory and their functionality are:

discussionLiteContent.jsp

Content JSP. This JSP gets portal display profile properties and invokes search using query.jsp and the user interface is in display.jsp.

display.jsp

Displays results mostly in HTML.

error.jsp

Error page.

query.jsp

Sets search parameters and executes search.

DiscussionProvider

The DiscussionProvider JSPs are located in /var/opt/SUNWportal/portals/<portal_id>/desktop/default/DiscussionProvider directory.

The JSPs available in the DiscussionProvider sub directory and their functionality are:

declare.jsp

Declares all portal properties.

discussionContent.jsp

Content page. This JSP routes the request to full if display mode is set to full (or dmode=full), or if vl is set to viewDiscussion.jsp, or cmt is set to feedback.jsp, or if rtg is set to ratingProcess.jsp.

discussionDoEdit.jsp

Process edit page.

discussionEdit.jsp

Edit page.

error.jsp

Error page.

feedback.jsp

Request is handled by feedback.jsp when the dmode (discussions mode) value is equal to cmt. Routes the request to feedbackForm.jsp.

feedbackDisplay.jsp

Displays feedback.

feedbackForm.jsp

Displays the post reply and start a new discussion form.

feedbackProcess.jsp

Comment submission is handled by this JSP. The JSP retrieves all the input parameters, builds the search result and submits the search result to the search database. This JSP consists of scriptlets.

fullDiscussion.jsp

Sets search parameters, executes search, and displays results.

fullDiscussionDisplay.jsp

Displays main discussions with description inline based on showDesc property.

pageFooter.jsp

Displays pagination on list discussions page.

portal.jsp

General portal Desktop page. Retrieves all portal provider properties.

query.jsp

Executes search. Used by all pages to execute a search.

rating.jsp

Displays the selection menu for ratings. Included in viewDiscusisonDisplay.jsp and viewDiscussionHeader.jsp.

ratingProcess.jsp

Request is handled by ratingProcess.jsp when dmode=rtg. Handles rating submission. Consists mostly of scriptlets.

searchUI.jsp

Displays the search box on the list discussions page.

viewDiscussion.jsp

Request is handled by viewDiscussion.jsp when dmode=vl. Controls the View A Discussion subtree page.

viewDiscussionBar.jsp

Displays the separator bar with the filter, threshold, view menus and the search discussion text field.

viewDiscussionDisplay.jsp

Displays the discussion subtree below the separator bar.

viewDiscussionHeader.jsp

Displays the detailed view of the discussion. Displayed above the separator bar.

viewDiscussionNavigation.jsp

Displays the Navigation links shown above and below the discussion header. Navigation links consist of links for All Discussions, To parent, To Discussion, Reference, Post Reply.

IFrameProvider

The IFrameProvider JSPs are located in /var/opt/SUNWportal/portals/<portal_id>/desktop/default/IFrameProvider directory.

The JSPs available in the IFrameProvider sub directory and their functionality are:

iframe.jsp

Displays the iframe.

IMProvider

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

The JSPs available in the IMProvider sub directory and their functionality are:

IMArchiveDisplay.jsp

Controls searching through archived instant messaging content.

IMContent.jsp

Controls the content in the channel.

IMEdit.jsp

Controls the content for the edit page of the channel.

invite.jsp

Controls the content in the popup window that is displayed when a user is invited to a conference is an instant messaging client that is already running.

jnlpLaunch.jsp

Controls the messages that are in the Java Web Start window that is used to start the instant messaging client.

pluginLaunch.jsp

Controls the content of the popup window that is used to run the IM client.

JSPContentContainer

The JSPContentContainer JSPs are located in the /var/opt/SUNWportal/portals/<portal_id>/desktop/default/JSPContentContainer directory. These JSPs are used for the content view when the Content link is selected in a JSP-based table container.

The JSPs available in the JSPContentContainer sub directory and their functionality are:

contentdoedit.jsp

Processes the result from the Content Edit page.

contentedit.jsp

Displays the content Edit page.

JSPDynamicSingleContainer

The JSPDynamicSingleContainer JSPs are located in the /var/opt/SUNWportal/portals/<portal_id>/desktop/default/JSPDynamicSingleContainer directory. This container is used by the search form in the header on the Desktop front page.

The JSPs available in the JSPDynamicSingleContainer sub directory and their functionality are:

dynamicSingle.jsp

Used by the DynamicSingleContainer to display the channel specified in the request parameter.

JSPEditContainer

JSPEditContainer JSPs are located in the /var/opt/SUNWportal/portals/<portal_id>/desktop/default/JSPEditContainer directory. These JSPs are used when the Edit icon is selected in a channel title bar inside a JSP- based container. Channels that have the editType defined as EDIT_SUBSET use these JSPs.

The JSPs available in the JSPEditContainer sub directory and their functionality are:

doedit.jsp

Processes the result from the Edit page.

edit.jsp

Displays the Edit view of a channel. Also provides a wrapper around the actual Edit view for a given channel.

JSPFrameCustomTableContainerProvider

JSPFrameCustomTableContainerProvider JSPs are located in the /var/opt/SUNWportal/portals/<portal_id>/desktop/default/JSPFrameCustomTableContainerProvider directory.

JSPFrameCustomTableContainerProvider JSPs are used when the user creates a new page from Scratch in the sections page.

The JSPs available in the JSPFrameCustomTableContainerProvider sub directory and their functionality are:

framecustomtable.jsp

Displays the content for the newly created page (table container) from the Sections page.

launchPopup.jsp

This JSP is used to determine the channels that are in detached mode and invoke the detached windows for these channels.

leafWrapper.jsp

Displays the channel title bar and border.

popup.jsp

This JSP is used to draw the content in the detached window for the channel in the detached mode.

popupMenubar.jsp

This JSP is used to draw the menubar in the detached window for a detached channel.

providerCommands.jsp

Displays the channel command buttons and links, such as Remove, Minimize/Maximize, Edit, and Help.

providerWrapper.jsp

This JSP is used to draw the wrapper containing the attach, edit, and help links around the channel displayed in the detached window.

tablecolumn.jsp

Handles the left, center and right columns of a table. (Dynamically included.)

tablemaximized.jsp

Handles the channel in the maximized state on the Desktop front page. This JSP is used to draw the HTML around the channel displayed in the maximized state.

tabletopbottom.jsp

Handles the top and bottom channels of a table. (Dynamically included.)

JSPLayoutContainer

JSPLayoutContainer JSPs are located in the /var/opt/SUNWportal/portals/<portal_id>/desktop/default/JSPLayoutContainer directory. These JSPs are used to display the Layout view when the Layout link is selected in a JSP-based table container.

The JSPs available in the JSPLayoutContainer sub directory and their functionality are:

layout1.jsp

Displays the thin-wide layout view.

layout2.jsp

Displays the wide-thin layout view.

layout3.jsp

Displays the thin-wide-thin layout view.

layoutdoedit.jsp

Processes the result from the Layout Edit page.

layoutedit.jsp

Displays the Layout Edit page.

selectLayout.jsp

Displays the three layout images and the select radio buttons.

JSPMenuContainerProvider

This container is responsible for displaying menu or tab items. The JSPMenuContainerProvider JSPs are located in /var/opt/SUNWportal/portals/<portal_id>/desktop/default/JSPMenuContainerProvider directory.

The JSPs available in the JSPMenuContainerProvider sub directory and their functionality are:

channels.jsp

Displays the channels.

header.jsp

Displays the header.

menu.jsp

Displays the vertical menu.

menubar.jsp

The menubar for the Default Channel.

menuedit.jsp

This is the entry point into this container in edit mode.

menulist.jsp

The menubar for the Default Channel.

menumain.jsp

This is the entry point into this container in content mode.

menuoption.jsp

The menubar for the Default Channel.

selectedchannels.jsp

The menubar for the Default Channel.

JSPNativeContainer

The JSPNativeContainer JSPs are located in /var/opt/SUNWportal/portals/<portal_id>/desktop/default/JSPNativeContainer/aml/chtml directory.

The JSPs available in the chtml sub directory under JSPNativeContainer and their functionality are:

channelMenuSection.jsp

Displays the channel menu section.

channelsContent.jsp

The menubar for the Default Channel.

header.jsp

Displays the header.

nonInlineChannelMenuSection.jsp

The menubar for the Default Channel.

wireless.jsp

Displays the wireless section.

JSPProvider

JSP Provider is used to create a channel using jsp file. JSPProvider JSPs are located in the /var/opt/SUNWportal/portals/<portal_id>/desktop/default/JSPProvider directory. This directory contains default set of JSPs that are used by the JSP channels.

The JSPs available in the JSPProvider sub directory and their functionality are:

samplecontent.jsp

Displays the contents of the JSP channels.

sampledoedit.jsp

Invoked when the user completes processing the Edit page of the JSP channels.

sampleedit.jsp

Invoked when the user clicks the Edit button of the JSP channels.

JSPRenderingContainerProvider

The JSPRenderingContainerProvider JSPs are located in /var/opt/SUNWportal/portals/<portal_id>/desktop/default/JSPRenderingContainerProvider/aml directory.

The JSPs available in the aml sub directory under JSPRenderingContainerProvider and their functionality are:

channelMenuSection.jsp

Displays the channel menu section.

channelsCards.jsp

The menubar for the Default Channel.

desktop.jsp

Displays the desktop.

dtSetup.jsp

The menubar for the Default Channel.

minimizedChannelMenuSection.jsp

Displays the minimized channel menu section.

optionsCard.jsp

Displays the options card.

JSPRenderingContentChannel

The JSPRenderingContentChannel JSPs are located in /var/opt/SUNWportal/portals/<portal_id>/desktop/default/JSPRenderingContentChannel/aml directory.

The JSPs available in the aml sub directory under JSPRenderingContentChannel and their functionality are:

contentSetup.jsp

Displays the content setup.

contentdoedit.jsp

The menubar for the Default Channel.

contentedit.jsp

Displays the content edit.

JSPRenderingEditContainer

The JSPRenderingEditContainer JSPs are located in /var/opt/SUNWportal/portals/<portal_id>/desktop/default/JSPRenderingEditContainer/aml directory.

The JSPs available in the aml sub directory under JSPRenderingEditContainer and their functionality are:

doedit.jsp

Displays the do edit.

edit.jsp

Allows user to edit preferences.

JSPRenderingErrorChannel

The JSPRenderingErrorChannel JSPs are located in /var/opt/SUNWportal/portals/<portal_id>/desktop/default/JSPRenderingErrorChannel/aml directory.

The JSPs available in the aml sub directory under JSPRenderingErrorChannel and their functionality are:

errorPage.jsp

Displays the error page.

JSPRenderingLayoutChannel

The JSPRenderingLayoutChannel JSPs are located in /var/opt/SUNWportal/portals/<portal_id>/desktop/default/JSPRenderingLayoutChannel/aml directory.

The JSPs available in the aml sub directory under JSPRenderingLayoutChannel and their functionality are:

layoutSetup.jsp

Displays the layout setup.

layoutdoedit.jsp

Displays the layout do edit.

layoutedit.jsp

Displays the layout edit.

JSPRenderingProvider

The JSPRenderingProvider JSPs are located in /var/opt/SUNWportal/portals/<portal_id>/desktop/default/JSPRenderingProvider/aml directory.

The JSPs available in the aml sub directory under JSPRenderingProvider and their functionality are:

samplecontent.jsp

Displays the sample content.

JSPSingleContainerProvider

JSPSingleContainerProvider JSPs are located in the /var/opt/SUNWportal/portals/<portal_id>/desktop/default/JSPSingleContainerProvider directory.

The JSPs available in the JSPSingleContainerProvider sub directory and their functionality are:

header.jsp

Displays the product banner that is used by the Single Container page.

menubar.jsp

Displays the menubar that has the Home, Theme, Help, and Logout links.

single.jsp

Displays the content for JSPSingleContainerProvider.

JSPSingleRenderingContainerProvider

The JSPSingleRenderingContainerProvider JSPs are located in /var/opt/SUNWportal/portals/<portal_id>/desktop/default/JSPSingleRenderingContainerProvider/aml directory.

The JSPs available in the aml sub directory under JSPSingleRenderingContainerProvider and their functionality are:

header.jsp

Displays the header.

single.jsp

Displays the single section.

JSPTabContainerProvider

JSPTabContainerProvider JSPs are located in the /var/opt/SUNWportal/portals/<portal_id>/desktop/default/JSPTabContainerProvider directory. These JSPs are used as the default set of JSPs for a new channel based on JSPTabContainerProvider.

The JSPs available in the JSPTabContainerProvider sub directory and their functionality are:

availableTabs.jsp

Displays the tabs and the URLs associated with each tab for activating them on the front page.

header.jsp

Displays the header bar for the Tab Container page. (Dynamically included.)

makeNewTab.jsp

Provides the content for the Make New Tab page of the tab container.

makeTopic.jsp

Provides the content for each of the tab topics in the Make New Tab page.

menubar.jsp

Displays the menubar that has the Home, Tabs, Theme, Help, and Logout links. (Dynamically included.)

remove.jsp

Displays the remove, rename, and start links for each of the selected pages of the JSP tab container in the Current Tab Settings page.

removeRenameTab.jsp

Displays the remove and rename part of the Edit page for the tab container.

selectedTab.jsp

Displays the tab image for the current selected tab in the tab container.

tab.jsp

Is the main JSP for the tab container. It draws the content page for the tab container. (Dynamically includes header.jsp and menubar.jsp.)

tabedit.jsp

Displays the Edit page for the tab container where new pages can be added, removed, or renamed.

tabs.jsp

Displays the available tabs and the links for them to be activated on the Desktop.

JSPTabCustomTableContainerProvider

JSPTabCustomTableContainerProvider JSPs are located in the /var/opt/SUNWportal/portals/<portal_id>/desktop/default/JSPTabCustomTableContainerProvider directory. JSPTabCustomTableContainerProvider JSPs are used when the user creates a new tab from scratch in the tabs page.

The JSPs available in the JSPTabCustomTableContainerProvider sub directory and their functionality are:

launchPopup.jsp

Displays the windows that are detached from the table container. (Dynamically included.)

leafWrapper.jsp

Displays the content view for each channel inside the table container.

popup.jsp

This JSP is used to draw the content in the detached window for the channel in the detached mode.

popupMenubar.jsp

This JSP is used to draw the menubar in the detached window for a detached channel.

providerCommands.jsp

Displays the provider command bar for each channel inside the table container.

providerWrapper.jsp

This JSP is used to draw the wrapper containing the attach, edit, and help links around the channel displayed in the detached window.

tabcustomtable.jsp

Displays the table container’s content view.

tablecolumn.jsp

Handles the left, center and right columns of a table. (Dynamically included.)

tablemaximized.jsp

Handles the channel in the maximized state on the Desktop front page. This JSP is used to draw the HTML around the channel displayed in the maximized state.

tabletopbottom.jsp

Handles the top and bottom channels of a table. (Dynamically included.)

JSPTableContainerProvider

Files under this directory are used to layout the portal page. This container can display channels at FULL TOP, LEFT, CENTER, RIGHT, and FULL BOTTOM locations. JSPTableContainerProvider JSPs are located in the /var/opt/SUNWportal/portals/<portal_id>/desktop/default/JSPTableContainerProvider directory. JSPTableContainerProvider JSPs are the default JSPs that are used by the JSPTableContainerProvider channels.

The JSPs available in the JSPTableContainerProvider sub directory and their functionality are:

header.jsp

Displays the product banner that includes the user reference links for the table container.

launchPopup.jsp

Displays the detached windows that are detached from the table container. (Dynamically included.)

leafWraper.jsp

Displays the content view for each channel inside the table container.

menubar.jsp

Displays the menubar that has the Home, Tabs, Theme, Help, and Logout links.

popup.jsp

This JSP is used to draw the content in the detached window for the channel in the detached mode.

popupMenubar.jsp

This JSP is used to draw the menubar in the detached window for a detached channel.

providerCommands.jsp

This JSP is included by leafWrapper.jsp. This JSP is responsible to display the maximize, minimize, detach, and delete buttons. Displays the provider command bar for each channel inside the table container.

providerWrapper.jsp

This JSP is used to draw the wrapper containing the attach, edit, and help links around the channel displayed in the detached window.

table.jsp

This is the entry point into this container for content mode. Displays the table container’s content view, which is used by the table container inside a frame tab container. (Dynamically includes launchPopup.jsp, tablecolumn.jsp, and tabletopbottom.jsp.)

tablecolumn.jsp

Displays the LEFT, CENTER, and RIGHT channels of a table. (Dynamically included.)

tablemaximized.jsp

Handles the channel in the maximized state on the Desktop front page. This JSP is used to draw the HTML around the channel displayed in the maximized state.

tabletopbottom.jsp

Displays the FULL TOP and FULL BOTTOM channels of a table. (Dynamically included.)

tabtable.jsp

Displays the table container’s content view, which is used by the table container inside a tab container. (Dynamically includes launchPopup.jsp, tablecolumn.jsp, and tabletopbottom.jsp.)

toptable.jsp

Displays the table container’s content view, which is used by the table container that is the top most container in the Desktop. (Dynamically includes launchPopup.jsp, tablecolumn.jsp, and tabletopbottom.jsp.)

JSPs Within the default Directory

The JSPs listed below are located within the /var/opt/SUNWportal/portals/<portal_id>/desktop/default directory. These JSPs are used by more than one channel, and are also used as a default if the named JSP is not found in the provider or channel sub directory.

The JSPs available within the /default directory and their functionality are:

defaultHeader.jsp

Displays the default product banner that includes the user reference links.

defaultMenubar.jsp

Displays the default menubar that includes the user reference links.

launchPopup.jsp

Displays the detached windows that are detached from the table containers. (Dynamically included.)

PortletBanner.jsp

This JSP is used to draw the banner on the edit page of a JSR (Java Specification Request) 168 portlet when the edit button is clicked on the portlet.

PortletEdit.jsp

This JSP is used to draw the edit page of a JSR 168 portlet when the edit button is clicked on the portlet.

PortletHelp.jsp

This JSP is used as a wrapper for the portlet’s help content on the help page of a JSR 168 portlet when the help button is clicked on the portlet.

PortletMenubar.jsp

This JSP is used to draw the menubar on the edit page of a JSR 168 portlet when the edit button is clicked on the portlet.

providerCommands.jsp

Displays the minimize, maximize, help, edit, detach, remove links in the channel title bar.

searchbox.jsp

Displays the search box that are used in the desktop header area.

singlePreferenceHeader.jsp

Displays the product banner that is used by the single containers.

singlePreferenceMenubar.jsp

Displays the menubar that is used by the single containers.

tablePreferenceHeader.jsp

Displays the product banner that is used by the table containers.

tablePreferenceMenubar.jsp

Displays the menubar that is used by the table containers.

tabPreferenceHeader.jsp

Displays the product banner that is used by the tab containers.

tabPreferenceMenubar.jsp

Displays the menubar that is used by the tab containers.

RenderingWrappingProvider

The RenderingWrappingProvider JSPs are located in /var/opt/SUNWportal/portals/<portal_id>/desktop/default/RenderingWrappingProvider/aml directory.

The JSPs available in the aml sub directory under RenderingWrappingProvider and their functionality are:

contentWrapper.jsp

Displays the content wrapper.

SampleSimpleWebService

SampleSimpleWebService JSPs are located in the /var/opt/SUNWportal/portals/<portal_id>/desktop/default/SampleSimpleWebService directory.

The JSPs available in the SampleSimpleWebService sub directory and their functionality are:

CurrencyExchangeService.wsdl

Displays the WSDL file for the current exchange web service.

webserviceContent.jsp

Displays the Content view of the simple web service channels.

webserviceInputEdit.jsp

Displays the Edit view of the simple web service channels.

SampleSimpleWebServiceConfigurable

SampleSimpleWebServiceConfigurable JSPs are located in the /var/opt/SUNWportal/portals/<portal_id>/desktop/default/SampleSimpleWebServiceConfigurable directory.

The JSPs available in the SampleSimpleWebServiceConfigurable sub directory and their functionality are:

CurrencyExchangeService.wsdl

Displays the WSDL file for the current exchange web service.

webserviceContent.jsp

Displays the Content view of the simple web service configurable channels.

webserviceWsdlEdit.jsp

Displays the Edit view of the simple web service configurable channels.

SearchProvider

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

The JSPs available in the SearchProvider sub directory and their functionality are:

advQuery.jsp

Converts the advanced query to the list format. This JSP consists mostly of Java code, which is exposed so that the advanced search query list can be customized according to the schema changes.

advancedSearch.jsp

Displays the interface to perform an advanced search, including the description menu. This JSP uses the SearchRequestBean to store request parameters and display the form values. The bean reduces Java scriptlets in the JSP.

You use this JSP to enable changes to the advanced search interface, removal for search fields, and addition of fields.

browseHeader.jsp

Contains the browse-related code that shows up in the browse interface. Includes the category tree Home link and the Search in all categories, and Search within a category radio buttons.

basicSearch.jsp

Displays the interface to perform a basic search.

browseOnly.jsp

Sets and executes the parameters for category browsing using the search tag library. This JSP sets all the parameters required to browse and executes the search and includes the browseResults.jsp page.

browseResults.jsp

Displays category tree in the browse section. (It consists of many Java scriptlets, so modifying this JSP requires good Java proficiency.)

browseSearch.jsp

Sets and executes the parameters for searching and browsing within categories using the Search tag library. The JSP sets the RDMType to rd-request and query language to search, and sets other search parameters. It includes the browseSearchResults.jsp page to display the category matches.

browseSearchResults.jsp

Displays the number of category matches found and the links to matching categories. (It consists of many Java scriptlets, so modifying this JSP requires good Java proficiency.)

catMenu.jsp

Displays category list.

dbMenu.jsp

Displays database list.

descMenu.jsp

Contains the description menu, that is, the Full, Brief, and Title menus. This menu is included in the basic, advanced, and browse interfaces.

error.jsp

Displays error messages.

pageFooter.jsp

Displays the list of pages, Next, and Previous links.

psSearch.jsp

Is the portal server related JSP file. The user profile property values are retrieved from the portal server. The customer can substitute this file if the values can be retrieved from other data stores.

results.jsp

Specifies the number of matches found and displays document results, score, title, description for each document. (Consists of some Java scriptlets.)

score.jsp

Computes the scale that displays the document match relevance.

searchContent.jsp

Displays the Content view of the Search channel, and delegates the request to other search JSPs, based on the request type. The basic search, advanced search, or browse interfaces are displayed based on the requested mode. The search results are displayed based on the request type.

This JSP includes the advancedSearch.jsp or basicSearch.jsp based on user selection. The browseSearch.jsp and searchOnly.jsp files are included only if the user has specified a query; otherwise the category tree (no search) is displayed from browseOnly.jsp. The pageFooter.jsp file is included to display the pagination bar in the Search channel.

searchDoEdit.jsp

Invoked when the user completes processing the Edit page of the Search channel.

searchEdit.jsp

Invoked when the user clicks the Edit button of the Search channel.

searchMenu.jsp

Contains the HTML ribbon for Basic, Advanced, and Browse links.

searchOnly.jsp

Sets and executes the parameters for search using the search tag library. The advQuery.jsp is included, if it is an advanced search. This JSP includes the results.jsp to display the document matches.

SimpleWebServiceConfigurableProvider

SimpleWebServiceConfigurableProvider JSPs are located in the /var/opt/SUNWportal/portals/<portal_id>/desktop/default/SimpleWebServiceConfigurableProvider directory. These JSPs are the default JSPs that are used by the SimpleWebServiceConfigurableProvider channels.

The JSPs available in the SimpleWebServiceConfigurableProvider sub directory and their functionality are:

webserviceContent.jsp

Displays the Content view of the simple web service configurable channels.

webserviceWsdlEdit.jsp

Displays the Edit view of the simple web service configurable channels.

SimpleWebServiceProvider

SimpleWebServiceProvider JSPs are located in the /var/opt/SUNWportal/portals/<portal_id>/desktop/default/SimpleWebServiceProvider directory. These JSPs are default JSPs that are used by the SimpleWebServiceProvider channels.

The JSPs available in the SimpleWebServiceProvider sub directory and their functionality are:

webserviceContent.jsp

Displays the Content view of the simple web service configurable channels.

webserviceInputEdit.jsp

Displays the Edit view of the simple web service channels.

SubscriptionsProvider

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

The JSPs available in the SubscriptionsProvider sub directory and their functionality are:

profilerContent.jsp

Displays the profiler content.

subscontent.jsp

Displays the list of subscriptions per type of subscriptions (such as category subscriptions, discussions subscriptions, saved search subscriptions). For each, the list of user’s subscriptions labels and associated document hit link are displayed. The hit link, points the end user to display a detailed view of the information matching their subscription.

subsdoedit.jsp

Used to manage (such as delete/update) existing subscriptions, or adding new subscriptions when the user clicks on subscribe to links from the search or discussion channel.

This JSP segments the subscriptions into three types: category subscriptions, discussions subscriptions, saved search subscriptions.

subsedit.jsp

This JSP is triggered to handle the subscriptions changes made by the end user in the page presented by subsedit.jsp. The role of this JSP is to update the Sun Java System Access Manager subscriptions service attributes holding the subscription information.

TabJSPEditContainer

TabJSPEditContainer JSPs are located in the /var/opt/SUNWportal/portals/<portal_id>/desktop/default/TabJSPEditContainer directory.

The JSPs available in the TabJSPEditContainer sub directory and their functionality are:

contentLayoutBar.jsp

Displays the Edit page for channels in JSPTabContainer.

doedit.jsp

Is the process page for TabJSPEditContainer.

tabedit.jsp

Displays the Content and Layout links and the current selected tab on the Edit page.

UWCAddressBookJSPProvider

The UWCAddressBookJSPProvider JSPs are located in /var/opt/SUNWportal/portals/<portal_id>/desktop/default/UWCAddressBookJSPProvider/html directory.

The JSPs available in the html sub directory under UWCAddressBookJSPProvider and their functionality are:

content.jsp

Displays UWC address book entries.

contentJSFunctions.jsp

JavaScript functions used by channel (included by content.jsp).

contentNavigation.jsp

Displays navigation links in channel (included by content.jsp).

contentNavigationMenu.jsp

Displays navigation pull-down menu in channel (included in content.jsp).

contentStateAttrs.jsp

Controls state of channel (included by content.jsp).

edit.jsp

Allows editing of channel preferences.

error.jsp

Displays error message in channel.

process.jsp

Persists changes to channel preferences.

UWCCalendarJSPProvider

The UWCCalendarJSPProvider JSPs are located in /var/opt/SUNWportal/portals/<portal_id>/desktop/default/UWCCalendarJSPProvider directory.

UWCMailJSPProvider

The UWCMailJSPProvider JSPs are located in /var/opt/SUNWportal/portals/<portal_id>/desktop/default/UWCMailJSPProvider/html directory.

The JSPs available in the html sub directory under UWCMailJSPProvider and their functionality are:

content.jsp

Displays a list of email headers.

edit.jsp

Allows editing of channel preferences.

error.jsp

Displays error message when channel connection fails.

process.jsp

Persists changes to the user preferences.

WirelessJSPClientConfigContainer

The WirelessJSPClientConfigContainer JSPs are located in /var/opt/SUNWportal/portals/<portal_id>/desktop/default/WirelessJSPClientConfigContainer/html directory.

The JSPs available in the html sub directory under WirelessJSPClientConfigContainer and their functionality are:

clientconfig.jsp

Displays the client configuration.

clientconfigSetup.jsp

Displays the client configuration setup.

clientconfigprocess.jsp

Displays the client configuration process.

WirelessJSPContentChannel

The WirelessJSPContentChannel JSPs are located in /var/opt/SUNWportal/portals/<portal_id>/desktop/default/WirelessJSPContentChannel directory. Under this directory, you can find the contentSetup.jsp.

contentSetup.jsp

Displays the content setup.

The JSPs available in the /var/opt/SUNWportal/portals/<portal_id>/desktop/default/WirelessJSPContentChannel/aml/chtml directory and their functionality are:

contentdoedit.jsp

Displays the content do edit.

contentedit.jsp

Displays the content edit.

The JSPs available in the /var/opt/SUNWportal/portals/<portal_id>/desktop/default/WirelessJSPContentChannel/html directory and their functionality are:

contentSetup.jsp

Displays the content setup.

contentdoedit.jsp

Displays the content do edit.

contentedit.jsp

Displays the content edit.

The JSPs available in the /var/opt/SUNWportal/portals/<portal_id>/desktop/default/WirelessJSPContentChannel/wml directory and their functionality are:

adjustChannelList.jsp

Displays the adjust channel list.

contentdoedit.jsp

Displays the content do edit.

contentedit.jsp

Displays the content edit.

The JSPs available in the /var/opt/SUNWportal/portals/<portal_id>/desktop/default/WirelessJSPContentChannel/vxml directory and their functionality are:

adjustChannelList.jsp

Displays the adjust channel list.

contentdoedit.jsp

Displays the content do edit.

contentedit.jsp

Displays the content edit.

voiceSetup.jsp

Displays the voice setup.

WirelessJSPDesktopProvider

The WirelessJSPDesktopProvider JSPs are located in /var/opt/SUNWportal/portals/<portal_id>/desktop/default/WirelessJSPDesktopProvider directory. Under this directory, you can find the dtSetup.jsp.

dtSetup.jsp

Displays the dtsetup.

The JSPs available in the /var/opt/SUNWportal/portals/<portal_id>/desktop/default/WirelessJSPDesktopProvider/aml/chtml directory and their functionality are:

channelMenuSection.jsp

Displays the channel menu section.

channelsContent.jsp

Displays the channels content.

nonInlineChannelMenuSection.jsp

Displays the non inline channel menu section.

wireless.jsp

Displays the wireless section.

The JSPs available in the /var/opt/SUNWportal/portals/<portal_id>/desktop/default/WirelessJSPDesktopProvider/vxml directory and their functionality are:

desktop.jsp

Displays the desktop.

voiceSetup.jsp

Displays the voice setup.

The JSPs available in the /var/opt/SUNWportal/portals/<portal_id>/desktop/default/WirelessJSPContentChannel/wml directory and their functionality are:

channelMenuSection.jsp

Displays the channel menu section.

channelsCards.jsp

Displays the channel cards.

minimizedChannelMenuSection.jsp

Displays the minimized channel menu section.

optionsCard.jsp

Displays the options card.

wireless.jsp

Displays the wireless section.

WirelessJSPLayoutChannel

The WirelessJSPLayoutChannel JSPs are located in /var/opt/SUNWportal/portals/<portal_id>/desktop/default/WirelessJSPLayoutChannel directory. Under this directory, you can find the following JSPs.

layoutSetup.jsp

Displays the layout setup.

layoutdoedit.jsp

Displays the layout do edit.

The JSP available in the /var/opt/SUNWportal/portals/<portal_id>/desktop/default/WirelessJSPLayoutChannel/aml/chtml directory and its functionality is:

layoutedit.jsp

Displays the layout edit.

The JSPs available in the /var/opt/SUNWportal/portals/<portal_id>/desktop/default/WirelessJSPLayoutChannel/html directory and their functionality are:

layoutSetup.jsp

Displays the layout setup.

layoutdoedit.jsp

Displays the layout do edit.

layoutedit.jsp

Displays the layout edit.

The JSPs available in the /var/opt/SUNWportal/portals/<portal_id>/desktop/default/WirelessJSPLayoutChannel/wml directory and their functionality are:

layoutdoedit.jsp

Displays the layout do edit.

layoutedit.jsp

Displays the layout edit.

vxml

The vxml JSPs are located in /var/opt/SUNWportal/portals/<portal_id>/desktop/default/vxml directory. Under this directory, you can find the following JSP.

docTypeDeclaration.jsp

Displays the do type declaration.

Chapter 32 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.

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.

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:

channelFullPageContent.jsp

This JSP displays channel content for a full page view.

user.jsp

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

Delegated Admin or Task Admin JSPs

This section lists the JSPs installed in the channels such as ChannelCreator, CreateWSRPChannelAdmin, DeleteChannelAdmin, DeleteTabAdmin, TabConfigurator, TabCreator, and URLScraperAdmin under the enterprise_sample/AdminTabPanelContainer directory.

ChannelCreator

The ChannelCreator JSPs are used by the ChannelCreator admin channel located in the /var/opt/SUNWportal/portals/<portal_id>/desktop/enterprise_sample/AdminTabPanelContainer/ChannelCreator directory.

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

addChannel.jsp

This JSP displays the content for channel addition to a tab.

createChannel.jsp

This JSP displays the content for channel creation.

createChannelAdmin.jsp

This is the main content page JSP for ChannelCreator admin channel.

createChannelAdminEdit.jsp

This is the edit page JSP for ChannelCreator admin channel.

doAddChannel.jsp

This is the process page JSP for processing the channel addition to a tab.

doCreateChannel.jsp

This is the process page JSP for processing the channel creation.

doCreateChannelAdmin.jsp

This is the main process page JSP for ChannelCreator channel

doCreateChannelAdminEdit.jsp

This is the Process page JSP for ChannelCreator edit page.

doSetProperties.jsp

This is the process page JSP for setting the properties for a newly created channel.

doShowMessage.jsp

This JSP processes the error message.

setProperties.jsp

This JSP displays the properties page in the channel creation process.

showMessage.jsp

This JSP displays the error message.

trim.js

This javascript trims empty spaces in text fields.

CreateWSRPChannelAdmin

The CreateWSRPChannelAdmin JSPs are used by the CreateWSRPChannelAdmin admin channel located in the /var/opt/SUNWportal/portals/<portal_id>/desktop/enterprise_sample/AdminTabPanelContainer/CreateWSRPChannelAdmin directory.

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

addChannel.jsp

This JSP displays the content for channel addition to a tab.

createWSRPChannel.jsp

This JSP displays the content for channel creation.

createWSRPChannelAdmin.jsp

This is the main content page JSP for CreateWSRPChannelAdmin admin channel.

createWSRPChannelAdminEdit.jsp

This is the edit page JSP for CreateWSRPChannelAdmin admin channel.

doAddChannel.jsp

This is the process page JSP for channel addition to a tab.

doCreateWSRPChannel.jsp

This is the process page JSP for WSRP channel creation.

doCreateWSRPChannelAdmin.jsp

This is the main process page JSP for CreateWSRPChannelAdmin channel

doCreateWSRPChannelAdminEdit.jsp

This is the Process page JSP for edit page of CreateWSRPChannelAdmin edit page.

doSetProperties.jsp

This is the process page JSP that processes and sets the newly created channel properties.

doShowMessage.jsp

This is the process page JSP for error message display.

selectProducer.jsp

This JSP displays the drop down of available producers.

setProperties.jsp

This JSP displays the properties page for the newly created channel.

showMessage.jsp

This JSP displays the error messages.

trim.js

This javascript file contains the script for trimming white spaces of text field values.

DeleteChannelAdmin

The DeleteChannelAdmin JSPs are used by the DeleteChannelAdmin admin channel located in the /var/opt/SUNWportal/portals/<portal_id>/desktop/enterprise_sample/AdminTabPanelContainer/DeleteChannelAdmin directory.

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

deleteChannel.jsp

This JSP displays the drop down of all the channels available for deletion.

deleteChannelAdmin.jsp

This is the main content page JSP for DeleteChannelAdmin channel.

deleteChannelAdminEdit.jsp

This is the edit page JSP for DeleteChannelAdmin channel.

doDeleteChannel.jsp

This JSP processes the channel deletion.

doDeleteChannelAdmin.jsp

This is the main process page JSP for DeleteChannelAdmin.

doDeleteChannelAdminEdit.jsp

This JSP processes the edit page for DeleteChannelAdmin.

showMessage.jsp

This JSP displays the error and confirmation messages, if any.

DeleteTabAdmin

The DeleteTabAdmin JSPs are used by the DeleteTabAdmin admin channel located in the /var/opt/SUNWportal/portals/<portal_id>/desktop/enterprise_sample/AdminTabPanelContainer/DeleteTabAdmin directory.

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

deleteTab.jsp

This JSP displays the drop down of tabs that are available for deletion.

deleteTabAdmin.jsp

This is the main content page JSP for DeleteTabAdmin channel.

deleteTabAdminEdit.jsp

This JSP displays the edit page for DeleteTabAdmin channel.

doDeleteTab.jsp

This JSP processes the tab deletion.

doDeleteTabAdmin.jsp

This JSP processes is the main process page JSP for DeleteChannelAdmin channel.

doDeleteTabAdminEdit.jsp

This JSP processes the edit page changes for DeleteTabAdmin channel.

showMessage.jsp

This JSP displays the error and confirmation messages, if any.

TabConfigurator

The TabConfigurator JSPs are used by the TabConfigurator admin channel located in the /var/opt/SUNWportal/portals/<portal_id>/desktop/enterprise_sample/AdminTabPanelContainer/TabConfigurator directory.

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

arrangeChannels.jsp

This JSP displays the layout page for TabConfigurator channel.

arrangeProvider.js

This javascript is used for moving the channels around in a layout.

detectCheckedRadioButton.js

This is the javascript file for detecting the channel selection.

doArrangeChannels.jsp

This JSP processes the layout changes for TabConfigurator channel.

doSetChannels.jsp

This JSP processes the available and selected channel selection.

doTabConfiguratorAdmin.jsp

This is the main process page JSP for TabConfigurator channel.

doTabConfiguratorAdminEdit.jsp

This JSP processes the edit page for TabConfigurator admin channel.

layout.jsp

This JSP displays different layouts for TabConfigurator channel.

performColumnSubstitution.js

This is the javascript file for arranging the channels in a layout.

performSubstitution.js

This is the javascript file for arranging the channels in a layout.

selectAll.js

This is the javascript file for selecting all the channels in the list.

selectChannel.jsp

This JSP displays the drop down of available tabs for configuration.

selectLayout.jsp

This JSP displays the available layouts for selection.

setChannels.jsp

This JSP displays the available and selected channels for a tab.

switchColumns.js

This is the javascript file for moving the channels between columns.

tabConfiguratorAdmin.jsp

This is the main content page JSP for TabConfigurator admin channel.

tabConfiguratorAdminEdit.jsp

This JSP displays the edit page for TabConfigurator admin channel.

TabCreator

The TabCreator JSPs are used by the TabCreator admin channel located in the /var/opt/SUNWportal/portals/<portal_id>/desktop/enterprise_sample/AdminTabPanelContainer/TabCreator directory.

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

addChannels.jsp

This JSP displays the content page for adding channels to a tab.

doAddChannels.jsp

This JSP processes the list of channels added to a newly created tab.

doTabCreator.jsp

This JSP processes the tab creation.

doTabCreatorAdmin.jsp

This is the main process page JSP for TabCreator admin channel.

doTabCreatorAdminEdit.jsp

This JSP processes the edit page changes for TabCreator channel.

tabCreator.jsp

This JSP is the content page for tab creation.

tabCreatorAdmin.jsp

This is the main content page JSP for tabCreator admin channel.

tabCreatorAdminEdit.jsp

This JSP displays the edit page for tabCreator admin channel.

URLScraperAdminChannel

The URLScraperAdminChannel JSPs are used by the URLScraperAdminChannel admin channel located in the /var/opt/SUNWportal/portals/<portal_id>/desktop/enterprise_sample/AdminTabPanelContainer/URLScraperAdminChannel directory.

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

doScraperAdmin.jsp

This JSP is the main process page for URLScraperAdmin channel.

doScraperAdminEdit.jsp

This JSP processes the edit page changes for URLScraperAdmin channel.

doSetChannelURL.jsp

This page processes the channel URL setting for URLScraperAdmin channel.

scraperAdmin.jsp

This is the content page JSP for URLScraperAdmin channel.

scraperAdminEdit.jsp

This JSP is the edit page for URLScraperAdmin channel.

selectChannel.jsp

This JSP displays the drop down of all URLScraper and XML channels.

setChannelURL.jsp

This JSP displays the content for setting the channel URL.

Bookmarks

The Bookmarks JSPs are used by the Bookmarks channel located in the /var/opt/SUNWportal/portals/<portal_id>/desktop/enterprise_sample/Bookmarks directory.

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

process.jsp

This JSP processes the edit page.

content.jsp

This JSP displays the channel content page.

edit.jsp

This JSP displays the edit page.

NextTourPoll

The NextTourPoll JSPs are used by the NextTourPoll channel located in the /var/opt/SUNWportal/portals/<portal_id>/desktop/enterprise_sample/NewsContainer/NextTourPoll directory.

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

contentLoggedIn.jsp

This JSP displays content for an authenticated user.

content.jsp

This JSP displays the channel content page.

contentAnonymous.jsp

This JSP displays content for a non-authenticated user.

contentVoteRecorded.jsp

This JSP displays the vote recorded content page.

CustomerFavorites

The CustomerFavorites JSPs are used by the CustomerFavorites channel located in the /var/opt/SUNWportal/portals/<portal_id>/desktop/enterprise_sample/NewsContainer/CustomerFavorites directory.

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

content.jsp

This JSP displays the channel content page.

TourRecipes

The TourRecipes JSPs are used by the TourRecipes channel located in the /var/opt/SUNWportal/portals/<portal_id>/desktop/enterprise_sample/NewsContainer/TourRecipes directory.

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

content.jsp

This JSP displays the channel content page.

Milestones

The Milestones JSPs are used by the Milestones channel located in the /var/opt/SUNWportal/portals/<portal_id>/desktop/enterprise_sample/ProjectsContainer/Milestones directory.

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

content.jsp

This JSP displays the channel content page.

Members

The Members JSPs are used by the Members channel located in the /var/opt/SUNWportal/portals/<portal_id>/desktop/enterprise_sample/ProjectsContainer/Members directory.

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

content.jsp

This JSP displays the channel content page.

ProjectsList

The ProjectsList JSPs are used by the ProjectsList channel located in the /var/opt/SUNWportal/portals/<portal_id>/desktop/enterprise_sample/ProjectsContainer/ProjectsList directory.

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

content.jsp

This JSP displays the channel content page.

Documents

The Documents JSPs are used by the Documents channel located in the /var/opt/SUNWportal/portals/<portal_id>/desktop/enterprise_sample/ProjectsContainer/Documents directory.

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

content.jsp

This JSP displays the channel content page.

YahooTraffic

The YahooTraffic JSPs are used by the YahooTraffic channel located in the /var/opt/SUNWportal/portals/<portal_id>/desktop/enterprise_sample/YahooTraffic directory.

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

content.jsp

This JSP displays the channel content page.

Login

The Login channel is located in the /var/opt/SUNWportal/portals/<portal_id>/desktop/enterprise_sample/Login directory.

The template used by the Login channel that is in the Login directory and its description is:

display.template

This template displays the channel content page.

UserInfo

The UserInfo channel is located in the /var/opt/SUNWportal/portals/<portal_id>/desktop/enterprise_sample/UserInfo directory.

The template used by the UserInfo channel that is in the UserInfo directory and its description is:

content.template

This template displays the channel content page.

Flickr

The Flickr JSPs are used by the Flickr channel located in the /var/opt/SUNWportal/portals/<portal_id>/desktop/enterprise_sample/Flickr directory.

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

content.jsp

This JSP displays the channel content page.

tld

The TLDs used by the Enterprise Sample are located in the /var/opt/SUNWportal/portals/<portal_id>/desktop/enterprise_sample/tld directory.

The TLD that is available in the tld directory and its description is:

portletSetupTags.tld

This TLD is used by the theme in the Sun Java Web User Interface Components.

xml

The XML and XSL files used by channels based on the XMLPortlet are located in the /var/opt/SUNWportal/portals/<portal_id>/desktop/enterprise_sample/xml directory.

The list of XML and XSL files available in the xml directory are:

Chapter 33 JSPs in the welcome_sample Directory

This chapter lists the subdirectory and the JSPs under the welcome_sample directory.

RedirectChannel

RedirectChannel is the subdirectory under the /var/opt/SUNWportal/portals/<portal_id>/desktop/welcome_sample/ directory. There are three other subdirectories such as aml, chtml, and wml under RedirectChannel. All these subdirectories contain the content.jsp.

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

content.jsp

This JSP redirects the user to the Portal welcome page.