留言板

liferay faces error handling

wely cery,修改在7 年前。

liferay faces error handling

Junior Member 帖子: 38 加入日期: 17-3-6 最近的帖子
hi

im creating liferay faces portlets.when my codes gets some exceptions i see that my portlet give some outputs on portlet by himself.
i wana give my own outputs to the screen when a error comes.
so how can i disable liferay faces error handling and set my own error outputs?
thumbnail
Juan Gonzalez,修改在7 年前。

RE: liferay faces error handling

Liferay Legend 帖子: 3089 加入日期: 08-10-28 最近的帖子
Can you post an error example screenshot so we can see exactly what you mean by "outputs on portlet by himself"?

Thanks.
wely cery,修改在7 年前。

RE: liferay faces error handling

Junior Member 帖子: 38 加入日期: 17-3-6 最近的帖子
thank your for your reply at first.

i have create a liferay faces portlet who bring the user information from database.if the code cannot find any data from user in database it
gives error on portlet.
i would like to define the error outputs like a pop up text or something else. so what i wana know is can i disable the exception handle from liferay faces and set my own output (like pop up screen or something like that) on my portlet.
thumbnail
Juan Gonzalez,修改在7 年前。

RE: liferay faces error handling

Liferay Legend 帖子: 3089 加入日期: 08-10-28 最近的帖子
Sorry, you didn't answered my previous question about posting here a screenshot to see what kind of error is showing in your portlet.

Thanks.