Sun Java System Portal Server 7.1 Technical Reference

Chapter 28 JSPs in the community_sample Directory

This chapter contains the following sections:

AccountPreferencesContainer

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

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

AccountPreferencesContainer/content.jsp

The Account Preferences link in the Masthead calls the AccountPreferencesContainer. The content.jsp in this container provides initial content by including the content.jsp in sub directories such as timezone, password, and contactinfo for changing the respective account preferences.

AccountPreferencesContainer/process.jsp

This JSP processes account preferences by forwarding request to process.jsp in sub directories for timezone, password, and contactinfo.

AccountPreferencesContainer/timezone/error.jspAccountPreferencesContainer/timezone/content.jspAccountPreferencesContainer/timezone/process.jspAccountPreferencesContainer/timezone/complete.jspAccountPreferencesContainer/timezone/contentFormValidation.jsp

These JSPs handle time zone preferences display (content.jsp), processing changes (process.jsp), handling process errors (error.jsp), the process completion messages (complete.jsp), and the client side form validation process (clientFormValidation.jsp).

AccountPreferencesContainer/password/contentFormValidation.jspAccountPreferencesContainer/password/complete.jspAccountPreferencesContainer/password/content.jspAccountPreferencesContainer/password/process.jspAccountPreferencesContainer/password/error.jsp

These JSPs handle password preferences display (content.jsp), processing changes (process.jsp), handling process errors (error.jsp), the process completion messages (complete.jsp), and the client side form validation process (clientFormValidation.jsp).

AccountPreferencesContainer/contactinfo/process.jspAccountPreferencesContainer/contactinfo/complete.jspAccountPreferencesContainer/contactinfo/contentFormValidation.jspAccountPreferencesContainer/contactinfo/error.jspAccountPreferencesContainer/contactinfo/content.jsp

These JSPs handle contactinfo preferences display (content.jsp), processing changes (process.jsp), handling process errors (error.jsp), the process completion messages (complete.jsp), and the client side form validation process (clientFormValidation.jsp).

SearchProvider

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

The list of JSPs in SearchProvider directory and their description are:

SearchProvider/results.jspSearchProvider/pageFooter.jspSearchProvider/browseSearch.jspSearchProvider/browseHeader.jspSearchProvider/searchDoEdit.jspSearchProvider/descMenu.jspSearchProvider/browseSearchResults.jspSearchProvider/searchEdit.jspSearchProvider/basicSearch.jspSearchProvider/browseOnly.jspSearchProvider/searchMenu.jspSearchProvider/psSearch.jspSearchProvider/processRating.jspSearchProvider/searchOnly.jspSearchProvider/searchContent.jspSearchProvider/catMenu.jspSearchProvider/browseResults.jspSearchProvider/dbMenu.jspSearchProvider/rating.jspSearchProvider/score.jspSearchProvider/error.jspSearchProvider/advancedSearch.jspSearchProvider/advQuery.jsp

These JSPs handle search provider functionality in the community sample.

DiscussionProvider

The Discussion Provider JSPs are located in the /var/opt/SUNWportal/portals/<portal_id>/desktop/community_sample/DiscussionProvider directory.

The list of JSPs in DiscussionProvider directory and their description are:

DiscussionProvider/viewDiscussionNavigation.jspDiscussionProvider/discussiondoEdit.jspDiscussionProvider/viewDiscussionDisplay.jspDiscussionProvider/rating.jspDiscussionProvider/error.jspDiscussionProvider/viewDiscussionBar.jspDiscussionProvider/fullDiscussion.jspDiscussionProvider/viewDiscussion.jspDiscussionProvider/pageFooter.jspDiscussionProvider/viewDiscussionHeader.jspDiscussionProvider/declare.jspDiscussionProvider/fullDiscussionDisplay.jspDiscussionProvider/ratingProcess.jspDiscussionProvider/feedbackProcess.jspDiscussionProvider/searchUI.jspDiscussionProvider/feedback.jspSearchProvider/feedbackForm.jspSearchProvider/discussionEdit.jspDiscussionProvider/query.jspDiscussionProvider/portal.jspDiscussionProvider/feedbackDisplay.jspDiscussionProvider/discussionContent.jsp

These JSPs handle discussion provider functionality in the community sample.

PagePreferencesContainer

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

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

PagePreferencesContainer/process.jsp

This JSP controls the PagePreferencesContainer process. This JSP processes functionality by forwarding request to sub directories such as content and layout process jsps.

PagePreferencesContainer/content.jsp

This JSP controls the PagePreferencesContainer content display by including content from sub directories such as content and layout content jsps.

PagePreferencesContainer/content/process.jspPagePreferencesContainer/content/complete.jspPagePreferencesContainer/content/contentFormValidation.jspPagePreferencesContainer/content/error.jspPagePreferencesContainer/content/content.jsp

These jsps handle content display (content.jsp), processing changes (process.jsp), handling process errors (error.jsp), the process completion messages (complete.jsp), and the client side form validation process (clientFormValidation.jsp).

PagePreferencesContainer/layout/content.jspPagePreferencesContainer/layout/complete.jspPagePreferencesContainer/layout/contentFormValidation.jspPagePreferencesContainer/layout/process.jspPagePreferencesContainer/layout/tableContent.jspPagePreferencesContainer/layout/layout3.jspPagePreferencesContainer/layout/layout2.jspPagePreferencesContainer/layout/error.jspPagePreferencesContainer/layout/menuContent.jspPagePreferencesContainer/layout/layout1.jsp

These JSPs handle layout display (content.jsp), processing changes (process.jsp), handling process errors (error.jsp), the process completion messages (complete.jsp), and the client side form validation process (clientFormValidation.jsp). These JSPs also include display of channels in supported containers (menuContent.jsp) and (tableContent.jsp) with supported layouts for tableContent including layout1.jsp, layout2.jsp, and layout3.jsp.

JSPTableContainerProvider

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

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

JSPTableContainerProviderProvider/popupChannelMenubar.jsp

This is the JSP for menu in channel titlebar area when the channel is detached.

JSPTableContainerProviderProvider/ChannelMenubar.jsp

This is the JSP for menu in channel titlebar area.

JSPTableContainerProviderProvider/Channel.jsp

This is the JSP for a channel.

JSPTableContainerProviderProvider/column.jsp

This is the JSP for a table container column of channels.

JSPTableContainerProviderProvider/popupChannel.jsp

This is the JSP processes the channel content if a channel is detached.

JSPTableContainerProviderProvider/table.jsp

This is the controlling JSP for a table container in the community sample.

JSPTableContainerProviderProvider/tableFullWindow.jsp

This is the JSP for when one of the channels in the container is maximized.

JSPTableContainerProviderProvider/launchPopup.jsp

This JSP includes JavaScript, which allows for a channel to be detached.

JSPEditContainer

Developer Sample Anonymous Desktop JSPs for the JSPEditContainer are located in the /var/opt/SUNWportal/portals/<portal_id>/desktop/community_sample/JSPEditContainer directory.

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

JSPEditContainer/edit.jsp

This JSP is the wrapper for channel edit functionality.

JSPEditContainer/doedit.jsp

This JSP handles processing of edited channel preferences by forwarding request to a channel.

JSPMenuContainerProvider

Developer Sample Anonymous Desktop JSPs for the JSPMenuContainerProvider are located in the /var/opt/SUNWportal/portals/<portal_id>/desktop/community_sample/JSPMenuContainerProvider directory.

The list of JSPs in JSPMenuContainerProvider directory and their description are:

JSPMenuContainerProvider/menumain.jsp

This is the controlling JSP for menu container with left side navigation and right side selected provider or Portlet content.

JSPMenuContainerProvider/menu.jsp

This JSP is the left side navigation for menu container.

JSPs Within the community_sample Directory

The JSPs available within the Community Sample Directory are:

singlePreferenceHeader.jsp

This JSP is available in the /var/opt/SUNWportal/portals/<portal_id>/desktop/community_sample/singlePreferenceHeader.jsp. This JSP is the masthead included with the JSPDynamicSingleContainer/dynamicSingle.jsp.

singlePreferenceMenubar.jsp

This JSP is available in the /var/opt/SUNWportal/portals/<portal_id>/desktop/community_sample/singlePreferenceMenubar.jsp. This JSP is the menubar included with the JSPDynamicSingleContainer/dynamicSingle.jsp.

PortletEdit.jsp

This JSP is available in the /var/opt/SUNWportal/portals/<portal_id>/desktop/community_sample/PortletEdit.jsp. This JSP is the wrapper for Portlet edit functionality.

datetime.jsp

This JSP is available in the /var/opt/SUNWportal/portals/<portal_id>/desktop/community_sample/datetime.jsp. This JSP is included in the masthead for current date/time.

breadcrumb.jsp

This JSP is available in the /var/opt/SUNWportal/portals/<portal_id>/desktop/community_sample/breadcrumb.jsp. This JSP is included in the Masthead for breadcrumb functionality.

header.jsp

This JSP is available in the /var/opt/SUNWportal/portals/<portal_id>/desktop/community_sample/header.jsp. This JSP is the Masthead for all Community Sample Containers.

JSPDynamicSingleContainer/dynamicSingle.jsp

This JSP is available in the /var/opt/SUNWportal/portals/<portal_id>/desktop/community_sample/JAPDynamicSingleContainer/dynamicSingle.jsp. This JSP is the clone of CommunityParentContainer/single.jsp for search and discussion providers.

Login/content.jsp

This JSP is available in the /var/opt/SUNWportal/portals/<portal_id>/desktop/community_sample/Login/content.jsp. This JSP is the channel content for login form.

CommunityParentContainer/single.jsp

This JSP is available in the /var/opt/SUNWportal/portals/<portal_id>/desktop/community_sample/CommunityParentContainer/single.jsp. This is the controlling JSP for community sample. This JSP includes masthead (header.jsp), content for selected community, and static footer (footer.html).