Combination View Flat View Tree View
Threads [ Previous | Next ]
Manoj Pardeshi
Liferay faces Bridge + JSF +Seam 3
May 8, 2012 1:20 PM
Answer

Manoj Pardeshi

Rank: New Member

Posts: 7

Join Date: April 26, 2012

Recent Posts

Is it possible to use Seam 3 in JSF 2 portlet ? If yes please tell me how to use Seam3 in Liferay portal?

Thanks,
Manoj
Neil Griffin
RE: Liferay faces Bridge + JSF +Seam 3
May 8, 2012 3:07 PM
Answer

Neil Griffin

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2349

Join Date: July 26, 2005

Recent Posts

Before considering using Seam 3, we need to make sure that CDI (Weld) is compatible with portlet environments. Recently WELD-510 was fixed so I spent some time today testing JSF2 + CDI (Weld 1.1.7) in Liferay 6.1.0. Unfortunately it didn't work in Tomcat 7 or GlassFish 3.1.1. I was only able to get it working in JBoss AS 7.1.1. Since Liferay Portal currently only comes bundled JBoss AS 7.0.2, I had to install the Liferay Portal WAR into JBoss AS 7.1.1 manually. Although the portlet worked with @Inject on the initial render, I wasn't able to navigate from one Facelet view to another without getting an exception thrown by Weld.

Also, if you want to use JSF2 @ViewScoped in combination with Weld, you would need to add the Seam Faces module. Unfortunately SEAMFACES-222 is not yet fixed (as of the time I'm writing this) and so Seam Faces isn't yet working in portlet environments.

So until CDI (Weld) and Seam Faces module are working, the full blown Seam 3 framework can't be used either. emoticon
Neil Griffin
RE: Liferay faces Bridge + JSF +Seam 3
May 8, 2012 3:28 PM
Answer

Neil Griffin

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2349

Join Date: July 26, 2005

Recent Posts

For more information on compatibility with CDI/Weld/SeamFaces, please refer to FACES-1211.
Manoj Pardeshi
RE: Liferay faces Bridge + JSF +Seam 3
May 9, 2012 7:15 AM
Answer

Manoj Pardeshi

Rank: New Member

Posts: 7

Join Date: April 26, 2012

Recent Posts

Thanks Neil.
Prathamesh Gaddam
Liferay 6.x : Seam 3 Modules !
June 4, 2012 11:49 PM
Answer

Prathamesh Gaddam

Rank: New Member

Posts: 7

Join Date: November 7, 2011

Recent Posts

Hi Neil,

Please update !

Further, which all Seam 3 modules are supported in Liferay 6.x. Towards, Seam 3: Module's support with Liferay 6.X and Seam 3: Forge.

Regret any inconvenience caused because of cross-posting.

Regards
Neil Griffin
RE: Liferay 6.x : Seam 3 Modules !
June 6, 2012 9:03 AM
Answer

Neil Griffin

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2349

Join Date: July 26, 2005

Recent Posts

Hi Prathamesh,

I updated FACES-1211 with the latest news. Unfortunately the issue is blocked right now -- please "watch" the issue for future updates.

Kind Regards,

Neil