Skip to content

Mis en ligne par admin - 2 septembre 2014 - Web Applications

Cause of JSF Portlets Not Working

This should be an inevitable check before deploying a JSF portlet in Liferay 6.2, but be careful that, when using PrimeFaces (or lot of other frameworks/third parties) you always MUST add in liferay-portlet.xml the following line:
<requires-namespaced-parameters>false</requires-namespaced-parameters>

In case you don’t, this would explain that your bean constructor is called multiple times, that your method with annotation @PostConstruct is also called multiple times, or even that some action method are not called anymore.

Articles similaires

Les articles suivants abordent des thèmes communs.

Commentaires

Partagez vos remarques.

Il n'y a pas de commentaires pour cet article.

Add a Comment

Fill in the form and submit.