Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Liferay 6.x : Seam 3 Modules !
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
Thanks,
Manoj
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.
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.
Thanks Neil.
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
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
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
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