Foren

RE: Custom portal pages

thumbnail
Bart Simpson, geändert vor 11 Jahren.

RE: Custom portal pages

Liferay Master Beiträge: 522 Beitrittsdatum: 29.08.11 Neueste Beiträge
The simplest would be a language hook, and change the messages that get displayed by default. (http://www.liferay.com/documentation/liferay-portal/6.0/development/-/ai/overriding-a-language-properties-file)

Otherwise use the custom jsp + struts action hook and add sessionError messages http://www.liferay.com/community/wiki/-/wiki/Main/User+Feedback+-+Success+and+Error+Messages+in+Portlets
Anil KC, geändert vor 11 Jahren.

RE: Custom portal pages

Junior Member Beiträge: 35 Beitrittsdatum: 21.12.12 Neueste Beiträge
Bart Simpson:
The simplest would be a language hook, and change the messages that get displayed by default. (http://www.liferay.com/documentation/liferay-portal/6.0/development/-/ai/overriding-a-language-properties-file)

Otherwise use the custom jsp + struts action hook and add sessionError messages http://www.liferay.com/community/wiki/-/wiki/Main/User+Feedback+-+Success+and+Error+Messages+in+Portlets


First of all my need is beyond portlet. Its for portal itself. And the next creating jsp is not the hard part i am facing. I want to know the filters or servlets from where the error page is rendered.
thumbnail
Hitoshi Ozawa, geändert vor 11 Jahren.

RE: Custom portal pages

Liferay Legend Beiträge: 7942 Beitrittsdatum: 24.03.10 Neueste Beiträge
Look at files in the following directory in liferay's source code:

portal-web/docroot/html/portal