• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

process action JSF Portlet

 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

No one knows the answer???
 
author
Posts: 108
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
reply
    Bookmark Topic Watch Topic
  • New Topic