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>
Comments:

Where exactly is jsf/portlet/components taglib found? How do I add it to my JSF 1.1 portlet? I don't see it in jsf-impl.jar or jsf-portlet.jar. When I add the taglib definition to my JSP (in Netbeans) it says it can't find the reference to it.

Posted by Michael Binette on August 13, 2006 at 06:13 PM IST #

Please check my blog on the announcement of jsfportletbridge being open sourced. In the sources you can find the taglib in jsf-portlet/src/java/com/sun/faces/portlet/jsf-portlet.tld

Posted by Deepak Gothe on August 14, 2006 at 05:41 PM IST #

Post a Comment:
  • HTML Syntax: NOT allowed

This blog copyright 2009 by deepakg