JBoss Community Archive (Read Only)

Portlet Bridge 3.0

Getting Started

Installing JBoss Portlet Bridge

Prerequisites

There are no specific requirements to use JBoss Portlet Bridge in a JSF portlet, but it does need to be a JSF2 portlet for this version of the JBoss Portlet Bridge to function as expected.

Maven

To add JBoss Portlet Bridge to an existing Maven project, simply add the following dependencies into your pom.xml:

JBoss Portlet Bridge Maven Artifacts
<dependency>
    <groupId>org.jboss.portletbridge</groupId>
    <artifactId>portletbridge-api</artifactId>
    <version>3.0.0.Final</version>
</dependency>
<dependency>
    <groupId>org.jboss.portletbridge</groupId>
    <artifactId>portletbridge-impl</artifactId>
    <version>3.0.0.Final</version>
    <scope>runtime</scope>
</dependency>

Examples

JBoss Portlet Bridge provides the following example JSF2 portlets to assist in including the framework into your own portlets, as well as demonstrating the functionality available. Currently the following examples are available:

  • JSF2 Portlet: basic JSF2 portlet showing f:ajax functionality

  • RichFaces4 Demo: RichFaces 4 demo application, ported from their codebase

Ideas for future JBoss Portlet Bridge examples include a JSF2 portlet that utilizes CDI to inject Beans. If you have other ideas of example portlets, please let us know in the forums.

JBoss.org Content Archive (Read Only), exported from JBoss Community Documentation Editor at 2020-03-11 12:26:00 UTC, last content change 2012-07-30 20:48:03 UTC.