Why you don't call a method and into this method you show the message with &JS<>, you was try this?
You can do it in three ways:
1 -
set ^mtemperro($ZNSPACE,..%PackageName()_"."_..%ClassName(),$horolog) = mensagem_" Erro CACHE: "_$zerror_" - "_$SYSTEM.OBJ.DisplayError()
2 -
3 - Declare in your class an exception variable
#dim exception As% Exception.AbstractException
catch exception {
}
Then just check the cache administration portal:
System Operation-> System Logs-> Application Error Log







You want a image that on click in a image position, show more images, how a presentation?