![]() |
![]() |
|
|
Campaigns and Portlets
The Avitek Financial Sample Portal contains five marketing campaigns, which are listed below:
The portlets used in the campaigns are located on the Home page. They are discussed in the following sections:
Quick Links Portlet
The Quick Links portlet provides various kinds of information and useful links, such as group membership, login and logout, and risk rating. It invokes the security Webflow and sets the portfolio portlet into edit mode. For more information about Webflow, see the Guide to Managing Presentation and Business Logic: Using Webflow and Pipeline. For more information about security, see the Security Guide.
Java Source: sampleportal/sampleportal/WEB-INF/src/examples/sampleportal/navigation/ip
JSP Source: sampleportal/navigation
The contents of the portlet depend on the visitor's group membership. Figure 5-1 shows an example of the Quick Links portlet for different visitors.
Figure 5-1 Quick Links Portlet—Group Membership Differences
The Quick Links portlet is part of the Welcome campaign. This campaign sends an email message welcoming new users. To see how the Welcome campaign works, complete the following instructions:
Figure 5-2 Quick Links Portlet—Default
Caution: Be sure to enter a valid email address; otherwise you will not receive the Welcome email.
Figure 5-3 Open a New Account Page
Figure 5-4 Quick Links Portlet—New User
Figure 5-5 Welcome Email Message
Note: For more information about email campaigns, see "Setting Up and Sending E-mail for Campaigns" in the Guide to Developing Campaign Infrastructure.
Portfolio Portlet
The Portfolio portlet displays selected stock symbols, number of shares, and share value. Changes in this portlet help fulfill one of the conditions necessary to invoke the Avitek Credit Card campaign: the purchase of $25,000 in stock. The Portfolio portlet is an EJB 2.0 implementation that use Pipelines. The information in this sample portlet is stored in a database, which can be extended to retrieve information from a real-time service. For more information about Pipelines, see the Guide to Managing Presentation and Business Logic: Using Webflow and Pipeline.
Java Source: sampleportal/sampleportal/WEB-INF/src/examples/sampleportal/portfolio/ip
JSP Source: sampleportal/sampleportal/portlets/portfolio
To learn about this portlet and fulfill one of the requirements of the Avitek Credit Card campaign, complete the following instructions:
Figure 5-6 Portfolio Portlet—Original (Visitor 4)
The portlet expands, as shown in Figure 5-7. Figure 5-7 Portfolio Portlet—Expanded (Visitor 4)
Figure 5-8 Portfolio Portlet—Confirm Stock Purchase Window (Visitor 4)
Figure 5-9 Portfolio Portlet—One Stock Purchased (Visitor 4)
Figure 5-10 Portfolio Portlet—$25,000 Stocks Purchased (Visitor 4)
Figure 5-11 Portfolio Portlet—Original Size (Visitor 4)
You have now fulfilled the one of the requirement for invoking the Avitek Credit Card campaign.
Company Profiles Portlet
The Company Profiles portlet displays profiles for specific companies. This portlet is involved in two different campaigns: the Personal Investment Advisor campaign and the Avitek Credit Card campaign. These campaigns are invoked when a visitor's risk tolerance increases to 5.0 or greater. Everyone starts off as a conservative investor with a low-risk tolerance. When you click on the high-risk companies in this portlet (Juniper Networks and Micron Technology), your risk tolerance increases. The increase in risk tolerance is triggers the Personal Investment Advisor campaign. The Avitek Credit Card campaign is triggered when the increased risk tolerance is 5.0 or greater and the purchase of at least $25,000 in stock.
The Company Profiles Portlet demonstrates Content Query tags.
Java Source: none
JSP Source: sampleportal/sampleportal/portlets/profile
Figure 5-12 Company Profiles Portlet (Visitor 4)
The portlets expands, as shown in Figure 5-13.
Figure 5-13 Company Profiles Portlet—Juniper Networks (Visitor 4)
Note: If you have not purchased $25,000 in stock, you will not see the Avitek Credit Card ad.
Figure 5-14 Personal Investment Advisor and Avitek Credit Card Campaigns
Figure 5-15 College Fund and Avitek IRA Campaigns
![]() |
![]() |
![]() |
|
Copyright © 2001 BEA Systems, Inc. All rights reserved.
|