bea.com | products | dev2dev | support | askBEA
 Download Docs   Site Map   Glossary 
Search

Portlet Features and Functionality

 Previous Next Contents Index View as PDF  

Newsletter Portlets

The Newsletter portlets show an example of collaborative Content Management. The particular Newsletter portlet displayed depends on the visitor's group membership and role. These portlets provide the ability for financial advisors to create newsletters that can then be approved and delivered by a manager (Approver) to the appropriate visitor based on personalization. The Newsletter portlets use the BEA Content Management reference implementation and native Content Management capabilities. For more information, see "Portal Content Management" in the Development Guide at http://download.oracle.com/docs/cd/E13218_01/wlp/docs70/dev/conmgmt.htm.

The three types of Newsletter portlets are listed below:

 


Newsletters Portlet (for Investors)

Visitors 4-7 belong to the Avitek group as investors. The Newsletter portlet for investors contains a list of newsletters created by the particular visitor's financial advisor. This portlet demonstrates providing customized content through Service Provider Interface (SPI) implementation and Content Selectors. For more information about Content Selectors, see "Personalization and Interaction Management" in the Administration Guide at http://download.oracle.com/docs/cd/E13218_01/wlp/docs70/admin/p13n.htm.

Java source: <BEA_HOME>/weblogic700/samples/portal/sampleportalDomain/beaApps/sampleportal/src/examples/sampleportal/newsletter

JSP source: <BEA_HOME>/weblogic700/samples/portal/sampleportalDomain/beaApps/sampleportal/portlets/newsletter

To learn more about the Newsletters portlet, complete the following steps:

  1. Log in as "visitor7".

  2. Click one of the newsletters, as shown in Figure  6-1.

    Figure 6-1 Newsletters Portlet (Investor, Visitor  7)


     

    The portlet expands to show the content of the select newsletter, as shown in Figure  6-2.

    Figure 6-2 Newsletters Portlet—Review Newsletter (Investor, Visitor  7)


     

  3. To return the portlet to its original size, click the Unmaximize button.

  4. Log out as Visitor  7.

Note: Different investors receive access to different newsletters based on their assigned financial advisor. If you wish to see this, log in as "visitor4" and view the Newsletters portlet.

 


MyNewsletters Portlet (for Financial Advisors)

The MyNewsletters portlet is available to Visitors  2 and 3. This portlet contains a list of newsletters created by a financial advisor. It demonstrates providing customized content through SPI implementation and Content Management tags.

Java source: <BEA_HOME>/weblogic700/samples/portal/sampleportalDomain/beaApps/sampleportal/src/examples/sampleportal/newsletter

JSP source: <BEA_HOME>/weblogic700/samples/portal/sampleportalDomain/beaApps/sampleportal/portlets/newsletter

To learn about the MyNewsletters portlet, take the following steps:

  1. Log in as "visitor2". The MyNewsletters portlet contains a list of newsletters created by Visitor  2, as shown in Figure  6-3.

    Figure 6-3 MyNewsletters Portlet (Financial Advisor, Visitor  2)


     

  2. Click the Create Newsletter link. The portlet expands so that you can create a new newsletter, as shown in Figure  6-4.

    Figure 6-4 MyNewsletters—New Newsletter (Financial Advisor, Visitor  2)


     

  3. Enter text in the Title, Summary, and Commentary fields; select the language and audience from the corresponding drop lists; and then click the Create button. The newsletter is added to the list, as shown in Figure  6-5.

    Figure 6-5 MyNewsletters—New Newsletter Created (Financial Advisor, Visitor  2)


     

    The new newsletter is now ready to be reviewed by the approver.

  4. To return the portlet to its original size, click the Finished button.

 


ReviewNewsletters Portlet (for Approvers)

The ReviewNewsletters portlet is only available to Visitor  1. This portlet contains a list of newsletters created by the financial advisors. With this portlet, you can approve, reject, or remove newsletters. This portlet demonstrates providing customized content through SPI implementation and Content Selectors.

Java source: <BEA_HOME>/weblogic700/samples/portal/sampleportalDomain/beaApps/sampleportal/src/examples/sampleportal/newsletter

JSP source: <BEA_HOME>/weblogic700/samples/portal/sampleportalDomain/beaApps/sampleportal/portlets/newsletter

To learn more about the ReviewNewsletters portlet, complete the following steps:

  1. Log in as "visitor1". The ReviewNewsletters portlet for the approver contains a list of newsletters created by the financial advisors, as shown in Figure  6-6

    Figure 6-6 ReviewNewsletters Portlet (Approver, Visitor  1)


     

  2. Click a newsletter link with an In Review status. The portlet expands so that you can read the newsletter and change its status, as shown in Figure  6-7.

    Figure 6-7 ReviewNewsletters Portlet—Edit (Approver, Visitor  1)


     

  3. Change the status of the newsletter to approved, and then click the Apply button. The list on the left side of the portlet updates, as shown in Figure  6-8

    Figure 6-8 ReviewNewsletters Portlet—Edited (Approver, Visitor  1)


     

  4. To return the portlet to its original size, click the Unmaximize button.

  5. Log out as Visitor  1.

  6. To see the result, log in as "visitor2" and view the MyNewsletters portlet. Figure  6-9 shows the change.

    Figure 6-9 MyNewsletters—New Newsletter (Investor, Visitor  2)


     

  7. Log out as Visitor  2.

 

Back to Top Previous Next