Foren

liferay faces error handling

wely cery, geändert vor 7 Jahren.

liferay faces error handling

Junior Member Beiträge: 38 Beitrittsdatum: 06.03.17 Neueste Beiträge
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, geändert vor 7 Jahren.

RE: liferay faces error handling

Liferay Legend Beiträge: 3089 Beitrittsdatum: 28.10.08 Neueste Beiträge
Can you post an error example screenshot so we can see exactly what you mean by "outputs on portlet by himself"?

Thanks.
wely cery, geändert vor 7 Jahren.

RE: liferay faces error handling

Junior Member Beiträge: 38 Beitrittsdatum: 06.03.17 Neueste Beiträge
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, geändert vor 7 Jahren.

RE: liferay faces error handling

Liferay Legend Beiträge: 3089 Beitrittsdatum: 28.10.08 Neueste Beiträge
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.