Listing 1
Content Template:
<?xml version="1.0" encoding="UTF-8" ?>
< GeneralContent>
<title/>
<subtitle />
<summary />
<body />
<references />
</GeneralContent>

Rendition file:
<?xml version="1.0" ?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" indent="no" />
<xsl:template match="/">
<table border="0" cellspacing="0" cellpadding="5" align="left" valign="top">
<xsl:for-each select="GeneralContent">
<tr><td><xsl:value select="title"/></td></tr>
<tr><td><xsl:value select="subtitle"/></td></tr>
<tr><td><xsl:value select="summary"/></td></tr>
<tr><td><xsl:value select="body"/></td></tr>
<tr><td><xsl:value select="references"/></td></tr>
</xsl:for-each>
</table>

Rules file:
<?xml version="1.0" ?>
<rules>
<texttrigger tag_name="GeneralContent" label="General Content Form" />
<tagcontent tag_name="title">
<textline label="Title" required="N" />
</tagcontent>
<tagcontent tag_name="subtitle">
<textline label="Sub Title" required="N" />
</tagcontent>
<tagcontent tag_name="summary">
<textline label="Summary" required="N" />
</tagcontent>
<tagcontent tag_name="body">
<content label="Body" required="Y" lines="10" bold="Y"
italic="Y" fontSize="Y" indent="Y" orderedLists="Y"
unorderedLists="Y" align="Y" links="Y" symbols="Y"
spellcheck="Y" />
</tagcontent>
<tagcontent tag_name="references">
<textline label="References" required="N" />
</tagcontent>
</rules>

Listing 2
DCTM_HOME=/opt/projects/wldj/dctm_client
DB_CLASSPATH=$DB_CLASSPATH:$DCTM_HOME:
$DCTM_HOME/lib/dmjdbc.jar:
$DCTM_HOME/lib/dfc.jar:/opt/oracle/product/8.1.7/
jdbc/lib/classes12.zip
DMCL_CONFIG=$DCTM_HOME/dmcl.ini
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:
$DCTM_HOME/clients/unix/solaris
export DCTM_HOME DB_CLASSPATH DMCL_CONFIG
LD_LIBRARY_PATH

Listing 3
The Document Manager Configuration:
<DocumentManager
Name="WebCacheDocumentManager"
DocumentConnectionPoolName="WebCacheConnectionPool"
PropertyCase="none"
MetadataCaching="true"
MetadataCacheName="documentMetadataCache"
UserIdInCacheKey="false"
ContentCaching="true"
ContentCacheName="documentContentCache"
MaxCachedContentSize="32768">
</DocumentManager>
<DocumentConnectionPool
Name="WebCacheConnectionPool"
DriverName="com.bea.p13n.content.document.jdbc.Driver"
URL="jdbc:beasys:
docmgmt:com.documentum.vendor.beasys.
DctmDocumentProvider"
Properties="jdbc.dataSource=
Weblogic.jdbc.pool.commercePool;
docTypes=PROPDB_ORACLE_S;
jdbc.url=jdbc:Weblogic:pool:dctmWebCachePool;
jdbc.driver=com.bea.p13n.content.document.jdbc.Driver;
jdbc.isPooled=true;
DCTM_RESOURCE_FACTORY=
com.documentum.vendor.beasys.DctmWebCache
JDBCHelperFactory"
InitialCapacity="20"
MaxCapacity="20"
CapacityIncrement="increment_value"/>

The dctm webCache Connection Pool:
DriverName="com.documentum.oca.jdbc.Webcache.DjdbcDriver"
InitialCapacity="20" MaxCapacity="20"
Name="dctmWebCachePool"
Properties=""
Targets="portalServer" TestTableName="PROPDB_ORACLE_S"
URL="jdbc:documentum:oca:webcache"

Listing 4
<pz:contentQuery id="docs" contentHome=
"portal.BEA_personalization.WebCacheDocumentManager"
query="channelName == 'AboutUs'" />
<ul>
<es:forEachInArray array="<%=docs%>"
id="aDoc" type="com.bea.p13n.content.Content">
<li><a href=" /showarticle.jsp?contented=
<%= docs.getIdentifier()%>">
<cm:printProperty id="aDoc" name="Title" encode="html" /></a>
</es:forEachInArray>
</ul>