In the current snapshot, this error message is defined in swa.setUpGlobalErrorHandling. These functions have been made fields of the swa. object so that anyone can replace them. You can create a clone of that function in your own file, assuming that it is executed before $(document).ready. So for example, add myswa.js as ui:headIncludes of a component in your application, so that it gets executed after swa.js.

Holger


On 25/08/2017 2:33, Gary Murphy wrote:
Is there a preferred method to customize error messages reported in swa.load?

The situation I'd like to change is where a server restart has reset blank nodes resulting in the 504 error pop-up:

    Server Interaction Error: View has no rdf:type:
    521b15d:15df1d954dd:-1c10

    If you believe this is an unexpected error, you may want to
    contact the system administrator and/or refresh your browser
    before continuing.


I'd like to append instructions for a work-around ("please refresh your page")

A similar situation is when the server is down, I'd want the message to advise trying again later.

Is there a clean way to change what pops up here?
--
You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "TopBraid 
Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to