Results 1 to 2 of 2

Thread: Overriding framework messages

  1. #1
    Sencha Premium Member
    Join Date
    Jan 2016

    Default Overriding framework messages


    The Ext JS6 framework returns a 'Communication failure' message if a response for the service call is not received within the timeout period set. I would like to override this message and give a custom message like say 'Communication timeout. Try again'.

    (I do not wish to hardcode the standard message in a condition to override the framework message).


  2. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Gainesville, FL


    That text is really there just for a default message and is hardcoded without overriding a private method. Instead, you can check the timedout property of the request in your failure handler and use your own message.
    Mitchell Simoens @LikelyMitch

    Check out my GitHub:

    Posts are my own, not any current, past or future employer's.

Similar Threads

  1. Replies: 4
    Last Post: 15 May 2014, 2:58 PM
  2. "Overriding existing alias" messages
    By vvatikiotis in forum Sencha Touch 2.x: Q&A
    Replies: 6
    Last Post: 9 Oct 2013, 1:10 AM
  3. How to log messages?
    By bteixeira in forum Ext: Q&A
    Replies: 3
    Last Post: 28 Feb 2012, 6:56 AM
  4. [FNR] messages - pt-br
    By fother in forum Ext GWT: Bugs (1.x)
    Replies: 4
    Last Post: 2 Jul 2009, 2:15 PM
  5. Too Many Messages
    By mpirzada in forum Community Discussion
    Replies: 3
    Last Post: 6 Feb 2008, 6:24 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts