Fóruns

Início » Liferay Portal » English » 3. Development

Visualização combinada Visão plana Exibição em árvore
Tópicos [ Anterior | Próximo ]
Marsin Alexandre
IceFaces and Liferay Context
24 de Junho de 2010 01:19
Resposta

Marsin Alexandre

Ranking: New Member

Mensagens: 13

Data de entrada: 10 de Março de 2010

Mensagens 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:

1
2Caused by: java.lang.RuntimeException: UserLocalService is not set
3        at com.liferay.portal.service.UserLocalServiceUtil.getService(UserLocalServiceUtil.java:891)
4...


Is there a way to have a working *Service with IceFaces ?

Thanks for you help
Chris Tophe
RE: IceFaces and Liferay Context
25 de Junho de 2010 07:09
Resposta

Chris Tophe

Ranking: New Member

Mensagens: 16

Data de entrada: 11 de Janeiro de 2010

Mensagens recentes

Hey marsin, i have exactly the same issue and i can't get through ...
Neil Griffin
RE: IceFaces and Liferay Context
7 de Julho de 2010 14:26
Resposta

Neil Griffin

LIFERAY STAFF

Ranking: Liferay Legend

Mensagens: 2188

Data de entrada: 26 de Julho de 2005

Mensagens recentes

Try putting the call to the Liferay Service in the constructor of a request scoped managed bean.