Monday, April 16, 2007

CreatingJSFPortlets

clipped from wiki.apache.org

How to create a JSF Portlet using MyFaces:

CreatingJSFPortlets

Option 1: MyFacesGenericPortlet



  1. Make sure your JSF MyFaces application runs as a stand-alone servlet.


  2. Remove any redirects from your faces-config.xml. Portlets can not handle these.


  3. Create a Portlet WAR as per the instructions for your Portlet container. Make sure it contains everything that was included in step 1.


  4. Update your portlet.xml file as follows:

Option 2: Apache Portal Bridge
 powered by clipmarksblog it

0 comments: