Sunday, 19 November 2017

Override default portlet is temporarily unavailable error message

We can override default portlet is temporarily unavailable error message by overriding the portlet_error.jsp file.

By default that error message is coming from
/html/portal/portlet_error.jsp  file

Override that jsp file using hooks.

Replace that code with the below code and change error message as required

<%@ include file="/html/portal/init.jsp" %>


<div class="alert alert-error">
Unable to process your request.
</div>

TEST

I am Java Developer. I have 6 year Experiance in this field and like to post in blogging. So keep sharing and like my post

1 comments:

 

Copyright @ 2017 Liferay Article.