Thursday, March 20, 2014

Not getting parameters in controller class in Liferay 6.2 (Namespaced Parameters)


Starting from Liferay 6.2 only allows namespaced parameters. If we want to send unnamespaced parameters we need to turn the filter off. To achieve the same we need to add the following property in portlet's liferay-portlet.xml file.


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