• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

process action JSF Portlet

 
Ina Bumstein
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

No one knows the answer???
 
Jonas X. Yuan
author
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ina Bumstein
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic