Diagnostics

Introduction

When implementing code it is important for the admin and developers to have easy methods to execute core features. This is implemented as standard and can be added to any extension.

Implementation

The diagnostics will appear on the manager

1618259696471

This is implemented by simply adding the following JSP to the extension

wex/jsp/utils/diags.jsp

As the following versions that need to replace the JSP the replacement JSP will not load as this tomcat server will not reload without a server the page can have a sequence 1, 2, 3 ... The latest number will take president.

wex/jsp/utils/diags1.jsp

This technique is used to replace JSP in other implementations and to avoid repetition of code an include is used

<%@ include file="diags.jsp"%>

Notes

The diagnostics extension can be implemented in any form but a template with the example extension provides some CSS and JQuery libraries and templates

Example

The Diagnostic Example implements a simple Diagnostics test.