This recipe shows how to create a new order list portlet, like the one from Using portlet events in JSF 2, but using components from RichFaces 4.
The following are required for this recipe:
Apache Maven
An IDE of your choice
GateIn-3.2.0.Final-jbossas7-preview
Order-JSF project from Creating a JSF 2 portlet and Using portlet events in JSF 2
To create a RichFaces portlet for displaying the active orders:
Inside the project's
pom.xml
, add the following dependency management section:<dependencyManagement> <dependencies> <dependency> <groupId>org.richfaces</groupId> <artifactId>richfaces-bom</artifactId> <version>4.2.2.Final</version> <scope>import</scope> <type>pom</type> </dependency> </dependencies> </dependencyManagement>