Fórum

liferay faces error handling

wely cery, modificado 7 Anos atrás.

liferay faces error handling

Junior Member Postagens: 38 Data de Entrada: 06/03/17 Postagens Recentes
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, modificado 7 Anos atrás.

RE: liferay faces error handling

Liferay Legend Postagens: 3089 Data de Entrada: 28/10/08 Postagens Recentes
Can you post an error example screenshot so we can see exactly what you mean by "outputs on portlet by himself"?

Thanks.
wely cery, modificado 7 Anos atrás.

RE: liferay faces error handling

Junior Member Postagens: 38 Data de Entrada: 06/03/17 Postagens Recentes
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, modificado 7 Anos atrás.

RE: liferay faces error handling

Liferay Legend Postagens: 3089 Data de Entrada: 28/10/08 Postagens Recentes
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.