When upgrading your Liferay 6.2 you might stumble over the problem, that your JSF portlets no longer work as expected. Ajax calls are simply ignored, which means for PrimeFaces or IceFaces almost no user interaction works.

The reason is that in Liferay 6.2 it is mandatory to prefix all parameters with the portlet namespace (which is in accordance with the the JSR 286 spec, BTW).

In JSP portlets you would this fix like this:

 <input type="text" name="<portlet:namespace />inputTextName" /> 

But for JSF you have to add the following line to each JSF portlet definition in liferay-portlet.xml:

 <requires-namespaced-parameters>false</requires-namespaced-parameters>  

And your JSF portlets will run again.

5 thoughts on “Getting JSF portlets running in Liferay 6.2

  1. ese é o seu ponto de vista Xicoxa. manifestacoes é desobediencia civil??? ou é um dereito olha k a constituçao da Republica nao é contra.em nenhum momento o Manuel de Araujo apelou a maeianstfçoes violentas. nao faça dos teus pensamentos, as palavras do Manuel Araujo, nao tira partido para o teu partido Xicoxa. sera k pensas emti antes do partido?isso sim é crime Publico

Leave a Reply

Your email address will not be published. Required fields are marked *


*