| Author |
process action JSF Portlet
|
Ina Bumstein
Greenhorn
Joined: Nov 10, 2007
Posts: 20
|
|
Hello, I'm developing the jsf portlet for IBM Webspera, and for several day I can't solve the problem with portlet communication. The first portlet wich is developed by the project partners sends the action with parameter. If a receive that event according parameter passed I should fill it with information from database. Maybe you could give me any suggestions? I should recieve portlet ACTION request with parameters action="DISPLAY_ITEM" documentId=<item ID> keywords=<search keywords> Thank you in advance, Ina
|
 |
Ina Bumstein
Greenhorn
Joined: Nov 10, 2007
Posts: 20
|
|
No one knows the answer???
|
 |
Jonas X. Yuan
author
Ranch Hand
Joined: May 18, 2008
Posts: 108
|
|
Hi Ina, It is very simple to have JSF portlet in Liferay. Here are examples (a lot of real examples): http://www.liferay.com/web/guest/downloads/official_plugins/-/software_catalog/products?_98_tabs1TabsScroll=&_98_keywords=jsf&_98_type=portlet MyFace, SUN JSP, SUN Facelets, ICEFace, etc.
|
Books: Liferay Portal 6.1 Systems Development
|
 |
Ina Bumstein
Greenhorn
Joined: Nov 10, 2007
Posts: 20
|
|
Thanks for reply Jonas, but I'm already using ibm portlet bridge and I only need to add the mentioned functionality to my portlet. I'm developing with IBM Rational application developer 7 for IBM Websphera 6. Ina
|
 |
Ina Bumstein
Greenhorn
Joined: Nov 10, 2007
Posts: 20
|
|
After hours of searching I achived that my portlet is catching the event, but the ridirect is not working correctly. I use request.getPortletSession().setAttribute("com.ibm.faces.portlet.page.view", "/FGITB/FGITBSavDetailView.jsp"); as sugested in IBM page, but no redirect. I also tried the PortletRequestDispatcher, but the my page is jsf, and I get lots of errors, like nullpointer exeption. Any suggestions?
|
 |
 |
|
|
subject: process action JSF Portlet
|
|
|