Sun Java System Portal Server 7.1 Technical Reference

DiscussionProvider

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

The JSPs available in the DiscussionProvider subdirectory 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’.