hippo.taglib.xml
<facelet-taglib>
<namespace>http://hippo.nl/jsf/taglib</namespace>
<tag>
<tag-name>content</tag-name>
<component>
<component-type>nl.hippo.Content</component-type>
<renderer-type>nl.hippo.Content</renderer-type>
</component>
</tag>
</facelet-taglib>
hippo.tld
<?xml version="1.0" encoding="UTF-8" ?>
<taglib xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd"
version="2.0">
<description>
Convenient Component Tags for usage in Hippo Repository based JSF applications
(Only needed with JSP view technology, not needed with Facelets!)
</description>
<tlib-version>1.0</tlib-version>
<short-name>hippo</short-name>
<uri>http://hippo.nl/jsf/taglib</uri>
<tag>
<description>
Write part of a repository document to the response.
</description>
<name>content</name>
<tag-class>nl.hippo.client.jsf.content.ContentTag</tag-class>
<body-content>empty</body-content>
<attribute>
<description>Name of the part that should be rendered to the response.</description>
<name>partName</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
</attribute>
<attribute>
<description>
Optional path of the document this part should be extracted from.
If no documentPath is defined the current request document is used.
</description>
<name>documentPath</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
</attribute>
</tag>
</taglib>
faces-config.xml
<faces-config>
<component>
<component-type>nl.hippo.Content</component-type>
<component-class>nl.hippo.client.jsf.content.ContentComponent</component-class>
</component>
<render-kit>
<render-kit-id>HTML_BASIC</render-kit-id>
<renderer>
<component-family>javax.faces.Output</component-family>
<renderer-type>nl.hippo.Content</renderer-type>
<renderer-class>nl.hippo.client.jsf.content.ContentRenderer</renderer-class>
</renderer>
</render-kit>
</faces-config>