This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I require to convert the JSF application to portlets.
Can someone provide some links / docs which talks about how to convert the same.
I am using the following tech :
RAD v6.0 (ide) websphere portal server v5.0
Thanks in advance,
Joined: Jun 17, 2003
Was successfully able to do it, its pretty simple. Here are the steps :
1. Export the JSF project as WAR, including the source files. 2. Using RAD, create the new faces portlet (in my case 168) project. 3. Now, import the JSF App (.war) into Portlet Project. 4. Changes to be done in the following files a. faces-config.xml - Add <factory> <faces-context-factory>com.ibm.faces.context.PortletFacesContextFactoryImpl</faces-context-factory> </factory> and <variable-resolver>com.ibm.faces.application.PortletVariableResolver</variable-resolver> b. Web.xml - Remove the reference to FacesServlet. c. Add taglib reference for portlets - http://java.sun.com/portlet for URL and /WEB-INF/tld/std-portlet.tld for location d. Portlet.xml - Change the value of init param of �com.ibm.faces.portlet.page.view� to �/xyz.jsp� (entry point of App) e. JSP files - add the following the tags and Remove HTML, Body, Head tags