JSF Portlet Tag Library

There is a tag library that contains tags for JavaServer Faces components used in Portal enviornment. These components are *not* part of the standard JavaServer Faces Specification. All JSF tags in a portlet should be embedded with this tag if multiple instances of the same portlet can exist within a portal page.

Usage:

<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://java.sun.com/jsf/portlet/components" prefix="p" %>

<%-- Embed JSF tags with in portletPage tag if you expect multiple instances of this portlet to exist within a portal page --%>
<f:view>
<p:portletPage>
.....................
.....................
</p:portletPage>
</f:view>


0 comments: