Supersede Uniface default web error message
Author: mequinion_d@yahoo.com (mequ_den)
Hi all,
Do you know if there is a way to supersede the default Uniface error page (the one you get with http://localhost:8080/uniface/wrd/run/unknowncomponent)
I know you can change the messages for a collection of other error messages (by changing the errxxx.htm files in the webroot folder) but that last one still resists attempts at editing.
I found the source code for that page but it sits in the compiled usyshttp.svc and changing this only offers a very limited range of possible modifications and does not add up to a viable production solution.
I was hoping that Uniface would allow for a superseeding default message (something along the lines of the HTTP_DEFAULT_STATUS messages etc...), but high level of trace did not hint to it going for any such message.
This is an issue for both Uniface 8 and Uniface 9.
Regards
Denis
3 Comments
Local Administrator
Currently it's not possible to do so. The yellow pages (and the content) is generated by uniface when the USP can not be found.
The red pages are when the connection to the urouter fails for whatever reason or when some pre-request trigger return and negative status.
The templates for these red pages can be modified.
You might create a wish for this. Maybe to add your own service that is called in cause of these kind of error.
Author: sjaak (sjaak.van.schie@uniface.com)
Local Administrator
Hi,
Here is a small change that can help with your requirement.
Jas.
--
Status: Solved in 9.3.01
Patch(es): D603 N206 O103
Symptoms:
Solution:
Author: Jason Huggins (jason.huggins@uniface.com)
Local Administrator
Yes, this was brought to my attention, and will work as a workaround as we switch to Uniface 9.
In this mode however you don't seem to be able configure the new messages to present some of the environment variables, (through %%$procerror%%% etc...)
Regards
Denis
Author: mequ_den (mequinion_d@yahoo.com)