bea.com | products | dev2dev | support | askBEA |
![]() |
![]() |
|
![]() |
e-docs > WebLogic Platform > WebLogic Portal > Portlet Features and Functionality > The Web Page Portlets |
Portlet Features and Functionality
|
The Web Page Portlets
You can use the Web page portlets to look up various kinds of information. This topic contains information about the following portlets:
Dictionary Portlet
The Dictionary portlet allows you to look up the definition of a word by connecting to the Merriam-Webster Web site. It is a simple JavaServer Page (JSP) application.
Java source: none
JSP source: <BEA_HOME>/weblogic700/samples/portal/sampleportalDomain/beaApps/sampleportal/portlets/dictionary
Note: You do not need to log in to use this portlet.
Figure 4-1 Dictionary Portlet
Quote Portlet
The Quote portlet allows you to look up a stock information from the Yahoo! Finance Web site. It a simple JSP application.
Java source: none
JSP source: <BEA_HOME>/weblogic700/samples/portal/sampleportalDomain/beaApps/sampleportal/portlets/quote
Note: You do not need to log in to use this portlet.
Figure 4-3 Quote Portlet
WebSearch Portlet
The WebSearch portlet allows you to search the Web through Yahoo!, Excite, or Google. It is a simple JSP application.
Java source: none
JSP source: <BEA_HOME>/weblogic700/samples/portal/sampleportalDomain/beaApps/sampleportal/portlets/search
Note: You do not need to log in to use this portlet.
Figure 4-5 WebSearch Portlet
WorldNews Portlet
The WorldNews portlet links to various news agencies on the internet and displays the new stories they publish. It retrieves news stories based on user preference and displays them as links. This portlet demonstrates the use of the WebLogic Server Extensible Markup Language (XML) and Extensible Stylesheet Language (XSL) JSP tags.
Java Source: <BEA_HOME>/weblogic700/samples/portal/sampleportalDomain/beaApps/sampleportal/src/examples/sampleportal/worldnews
JSP Source: <BEA_HOME>/weblogic700/samples/portal/sampleportalDomain/beaApps/sampleportal/portlets/worldnews
To learn how to configure the WorldNews portlet, complete the following steps:
Figure 4-7 WorldNews Portlet—Not Configured
Figure 4-8 WorldNews Portlet—Editable
Figure 4-9 WorldNews Portlet—Configured
Figure 4-10 WorldNews Story Window
Bookmarks Portlet
The Bookmarks portlet provides a way for you to store the names and URLs of Web sites. After a bookmark is created, clicking the link opens the site in a new browser window. This portlet is implemented through Enterprise JavaBeans (EJB) 2.0 entity beans.
Java Source: <BEA_HOME>/weblogic700/samples/portal/sampleportalDomain/beaApps/sampleportal/src/examples/sampleportal/bookmark
JSP Source: <BEA_HOME>/weblogic700/samples/portal/sampleportalDomain/beaApps/sampleportal/portlets/bookmark
In this section, you will learn how to configure the Bookmarks portlet.
Figure 4-11 Bookmarks Portlet—No Saved Bookmarks
Figure 4-12 Bookmarks Portlet—Adding a Bookmark
Figure 4-13 Bookmarks Portlet—Bookmarks Added
Figure 4-14 Bookmarks Portlet—Saved Bookmarks
Figure 4-15 Bookmarks Window
![]() |
![]() |
![]() |
![]() |
||
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |