Fórum

Where is portlet exception template stored, and any way to change it?

Geras Alus, modificado 11 Anos atrás.

Where is portlet exception template stored, and any way to change it?

New Member Postagens: 8 Data de Entrada: 16/04/12 Postagens Recentes
Lets say exception occurs in my portlet, a generic portlet error is shown. I can customize the message by translating it, but i would like to do more.

So i would like to know where the template is stored, can i somehow intercept it?

I am using spring so i could write an interceptor where i have ActionResponse and RenderResponse , but i am not sure how could i change the default flow if for example X condition is not met? can i somehow "switch" template in RenderResponse ?

Thanks