Fórum
IceFaces and Liferay Context
Marsin Alexandre, modificado 13 Anos atrás.
IceFaces and Liferay Context
New Member Postagens: 13 Data de Entrada: 10/03/10 Postagens Recentes
Hi,
I've followed this tutorial for creating an iceFaces portlet for Liferay :
http://jsfportelts.blogspot.com/2009/10/introduction-icefaces-jsf-portlets-in.html
It works fine, but now I want to use Liferay API (UserServiceLocaleUtil, etc ...)
It seems that I don't have the Liferay Context since I got this exception when I use a *Service in a simple Managed Bean:
Is there a way to have a working *Service with IceFaces ?
Thanks for you help
I've followed this tutorial for creating an iceFaces portlet for Liferay :
http://jsfportelts.blogspot.com/2009/10/introduction-icefaces-jsf-portlets-in.html
It works fine, but now I want to use Liferay API (UserServiceLocaleUtil, etc ...)
It seems that I don't have the Liferay Context since I got this exception when I use a *Service in a simple Managed Bean:
Caused by: java.lang.RuntimeException: UserLocalService is not set
at com.liferay.portal.service.UserLocalServiceUtil.getService(UserLocalServiceUtil.java:891)
...
Is there a way to have a working *Service with IceFaces ?
Thanks for you help
Chris Tophe, modificado 13 Anos atrás.
RE: IceFaces and Liferay Context
New Member Postagens: 16 Data de Entrada: 11/01/10 Postagens Recentes
Hey marsin, i have exactly the same issue and i can't get through ...
Neil Griffin, modificado 13 Anos atrás.
RE: IceFaces and Liferay Context
Liferay Legend Postagens: 2655 Data de Entrada: 27/07/05 Postagens Recentes
Try putting the call to the Liferay Service in the constructor of a request scoped managed bean.