Showing posts with label Override. Show all posts
Showing posts with label Override. Show all posts

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>

 

Copyright @ 2017 Liferay Article.