You can create, configure, and display articles using the Web Content Display portlet. You can have more than one instance of this portlet on a page. The portlet displays all approved articles.
The portlet embeds Edit Web Content, Select Web Content, and Add Web Content icons.
Edit Web Content — Provides the interface to edit the article displayed using the portlet. The Edit Web Content icon is displayed only when an article is selected for display.
Select Web Content — Provides the interface to select an article for display.
You can enable a number of settings on the articles that are displayed, printing, comments, and comment ratings.
Add Web Content — Provides the interface to create a new article for display.
When you add web content using the Web Content Display portlet, you need to click Save and Approve for the web content (article) to be displayed by the Web Content Display portlet. If you just click Save or Save and Continue, you see a message on the portlet which reads, <Content-ID> is expired, is not approved, does not have any content, or no longer exists. For the web content to display, you need to edit the article by selecting it from the Web Content portlet, and do Save and Approve for the article.
Web Content Display portlet displays an article, when the article is approved.
Log in to Sun GlassFish Web Space Server as the admin User.
Choose Add Applications from the Welcome menu.
Add the Web Content Display portlet to your page.
Click the Select Article icon which is the same as the Configuration button.
Click Search Articles button.
All available articles are displayed.
Select an article for display.
Determine the Setup configuration.
The Setup tab provides the following options:
Show Available Locales - Displays all the locales that are available for the article.
Convert To - Supports converting the article to different document formats.
Enable Print - Enables printing of the article.
Enable Ratings - Enables rating of the article.
Enable Comments - Enables adding comments for the article.
Enable Comment Ratings - Enables rating the comments received for the article.
Determine display support for mobile devices:
Click the Return to Full Screen link.