Hiding or Disabling the default sucess message


 By default in liferay, Whenever you submit form you will have default message as "Your request is proceed Successfully " How to disable it?

There are 2 steps

Step 1:

   Just add below in portlet.xml before "excripation-cache"


Step 2:

Add the below code in the class level of a method


For Reference look into the PortletAction class of hideDefaultSuccessMessage method

Comments

Popular posts from this blog

Theme display in javascript

How to know which liferay version we are using

Viewing the SQL Query in liferay : debugging the SQL Query in Hibernate