The moose likes Portals and Portlets and the fly likes JSF 2.0 portlet development Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "JSF 2.0 portlet development" Watch "JSF 2.0 portlet development" New topic

JSF 2.0 portlet development

Henri Nicolas

Joined: Nov 17, 2010
Posts: 2
Hi fellows of the ranch,

I'm new in the world of J2EE and I'm trying to develop JSF 2.0 portlets to run on JBoss Portal 2.7.

Unfortunately no JSF 2.0 portlet bridge standard exists (only for JSF 1.2), JBoss Portlet bridge still only supports JSF 1.2 and I didn't find any tutorial to make even a "Hello World" JSF 2.0 portlet.

The only thing I found is the project portletfaces, a JSF 2.0 portlet bridge, but it can only make it work on Liferay (for wich it is optimized), not on JBoss Portal (or even GateIn). Unfortunately for my project I absolutely need to use JBoss Portal...

Can anyone help me? Is it mandatory to use a portlet bridge for JSF 2.0 portlet development? Am I screwed?

Thanks a lot!

Ashish Sarin
Ranch Hand

Joined: Nov 20, 2000
Posts: 432
Hi Nicolas,

Yes, its required to use a Portlet Bridge to develop portlets that make use of JSF 2.0 or any other web framework. The difference between portlet environment (consisting of render and action phases) and the web application environment is bridged by the portlet bridge component, therefore, its required.


Author of
Getting started with Spring Framework
Portlets in Action
Spring Roo 1.1 Cookbook
Portlets blogSpring Roo blog
Henri Nicolas

Joined: Nov 17, 2010
Posts: 2

thank you for your answer.

I agree. Here's the link:
subject: JSF 2.0 portlet development
It's not a secret anymore!