BEA Logo BEA WLCS Release 3.1.1

  Corporate Info  |  News  |  Solutions  |  Products  |  Partners  |  Services  |  Events  |  Download  |  How To Buy

 

   WLCS Doc Home   |   Personalization Server Developer's Guide   |   Previous Topic   |   Next Topic   |   Contents   |   Index

 

Welcome to the BEA WebLogic Personalization Server Developer's Guide!

This guide describes:


 

Overview of Personalization Development

Personalization Server Run-Time Architecture

Advisor

Portal Management

User Management

Content Management

Rules Management

Foundation Classes and Utilities

JSP Tags

Integration of External Components

Support for Native Types

 

Creating Personalized Applications with the Advisor

What Is the Advisor?

The Advisor Delivers Content to a Personalized Application

The Advisor Provides Information About User Classifications

You Can Use the Advisor in One of Two Ways

Creating Personalized Applications
with the Advisor JSP Tags

Classifying Users with the JSP <pz:div> Tag

Selecting Content with the <pz:contentQuery> JSP Tag

Matching Content to Users with the <pz:contentSelector> JSP Tag

Creating Personalized Applications with the Advisor Session Bean

Classifying Users with the Advisor Session Bean

Selecting Content with the Advisor Session Bean

Matching Content to Users with the Advisor Session Bean

 

Foundation Classes and Utilities

Flow Manager

Hot Deployment

Dynamic Flow Determination and Handling

How the FlowManager Works

Property Set Usage

destinationdeterminer Property

destinatationhandler Property

ttl (time to live) Property

Creating a New Property Set

Set Parameters for Your Portal or Application

Webflow

Accessing Your Application via the Flow Manager

Using Flow Manager with a Web Application

Using Flow Manager with a non-Web Application

Repository

HTTP Handling

Personalization Request Object

Default Request Property Set

Personalization Session Object

Default Session Property Set

Utilities

JspHelper

JspBase

P13NJSPHelper

P13NJspBase

ContentHelper

CommercePropertiesHelper

Utilities in commerce.util Package

ExpressionHelper

TypesHelper

 

Developing Portlets

Introduction

What is a portlet?

Creating a portlet application

Defining the Portlet JSP

Working Within the Portal Framework

Extending the PortalJspBase Class

Accessing Portal Session Information

Sending Requests Through the Flow Manager

Using URL Links in Your Portlet

HTML Form Processing

Retrieving the Home Page

Retrieving the Current Page

Setting the Request Destination

Tracking User Login Status

Loading Content from an External URL

Using example portlets

HTML Tables vs. HTML Frames

 

Building a Custom Portal Step-by-Step

Introduction

Terminology

How to Use This Chapter

Creating the Framework for Your Custom Portal

Installing WebLogic Personalization Server

Setting up the Portal Framework

Troubleshooting

Repository Directory

Simple Customizations

Project 1: Customizing the Acme Logos

Project 2: Customizing the Choice of Portlets

Project 3: Customizing the Layout of Portlets

Project 4: Describing Your Users

Writing Your Own Portlets

Project 5: Building a Static Portlet

welcome.html

Project 6: Building a Simple Dynamic Portlet

isloggedon.jsp

Project 7: Building a Second Dynamic Portlet

EmailList.jsp

Advanced Portlet Functionality

Project 8: Adding a Maximized URL

EmailListMax.jsp

Project 9: Changing the Look of a Maximized Portlet

EmailListMaxHeader.jsp

EmailListMaxFooter.jsp

Project 10: Inter-portlet Communication

UserIndex.jsp

UserIndexDetails.jsp

Using the HTTP request method to communicate between portlets

Parameter name collisions between portlets

Several sets of portlets using the HTTP request method at once

Other Customization Techniques

More Portlet Customization

Database Interaction

Java Beans Interaction

Personalization Advisor Functionality

Internationalization

Using Webflow

Commerce Functionality

Modifying the Portal Framework

Building Your Site Without the Portal Framework

Framework Files

 

Using the Catalog Application in a Portal

Deploying a Portal as a Webapp

Using e-Commerce Functionality Within a Portal

Using Webflow Within a Portal

Reusing Pieces of the Demo Catalog Application in a Portal

 

Creating Localized Applications with Internationalization Tags

What Is the I18N Framework?

Localizing Your JSP

<i18n:getMessage>

<i18n:localize>

The JspMessageBundle

How the localization Tag Works

Character Encoding

Displaying More than One Character Set on a Page

Default Character Encodings

Steps for Localizing Your Application

Localizing the BEA WebLogic Personalization Server

Static Text

Constructed Messages

Resource Bundles Used in the
WebLogic Personalization Server Tools

Localizing System Messages

 

WebLogic Personalization Server Schema

The Entity-Relationship Diagram

The Tables Comprising the WebLogic Personalization Server

The Schema Tables

The SQL Scripts Used to Create the Database

 

JSP Tag Library Reference

The Advisor

<pz:contentQuery>

<pz:contentSelector>

<pz:div>

Content Management

<cm:printDoc>

<cm:printProperty>

<cm:select>

<cm:selectById>

Flow Manager

<fm:getApplicationURI>

<fm:getCachedAttribute>

<fm:getSessionAttribute>

<fm:removeCachedAttribute>

<fm:removeSessionAttribute>

<fm:setCachedAttribute>

<fm:setSessionAttribute>

Internationalization

<i18n:localize>

<i18n:getMessage>

Portal Management

<esp:eval>

<esp:get>

<esp:getGroupsForPortal>

<esp:monitorSession>

<esp:portalManager>

<esp:portletManager>

<esp:props>

Property Sets

<ps:getPropertyNames>

<ps:getPropertySetNames>

User Management

Profile Management Tags

<um:getProfile>

<um:getProperty>

<um:getPropertyAsString>

<um:removeProperty>

<um:setProperty>

Group-User Management Tags

<um:addGroupToGroup>

<um:addUserToGroup>

<um:changeGroupName>

<um:createGroup>

<um:createUser>

<um:getChildGroupNames>

<um:getChildGroups>

<um:getGroupNamesForUser>

<um:getParentGroupName>

<um:getTopLevelGroups>

<um:getUsernames>

<um:getUsernamesForGroup>

<um:removeGroup>

<um:removeGroupFromGroup>

<um:removeUser>

<um:removeUserFromGroup>

Security Tags

<um:login>

<um:logout>

<um:setPassword>

Personalization Utilities

<es:counter>

<es:date>

<es:forEachInArray>

<es:isNull>

<es:monitorSession>

<es:notNull>

<es:preparedStatement>

<es:simpleReport>

<es:transposeArray>

<es:uriContent>

WebLogic Utilities

<wl:process>

<wl:repeat>