File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Portals and Portlets and the fly likes process action JSF Portlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "process action JSF Portlet" Watch "process action JSF Portlet" New topic

process action JSF Portlet

Ina Bumstein

Joined: Nov 10, 2007
Posts: 20
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
documentId=<item ID>
keywords=<search keywords>

Thank you in advance,
Ina Bumstein

Joined: Nov 10, 2007
Posts: 20

No one knows the answer???
Jonas X. Yuan
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):



SUN Facelets,



Books: Liferay Portal 6.1 Systems Development
Ina Bumstein

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 Bumstein

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("", "/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?
I agree. Here's the link:
subject: process action JSF Portlet
Similar Threads
Accessing Portlet Title in JSF
Configure Custom mode(Edit_Defaults) in Vignette Application Portal 7.3
Transfer data from Java beans to portlet
Struts + Portlets
navigation between the pages in different portlets using JSR286