Results 1 to 2 of 2

Thread: How to override standard GXT messages?

  1. #1
    Sencha Premium Member
    Join Date
    Oct 2012
    Posts
    9

    Default How to override standard GXT messages?

    Dear guru,

    Could you please let me know whether is it possible to override standard GXT messages located in gxt\com\sencha\gxt\messages\client package without correcting them in the library (and re-packaging after)? I need, for example, to localize some not localized messages and, probably, to change some standard ones.

    Thanks in advance,
    Vadim

  2. #2
    Sencha Premium Member
    Join Date
    Nov 2012
    Location
    Cremona Italy
    Posts
    37

    Default

    just create a package with the same path in your project (com.sencha.gxt.messages.client), copy-paste the interested message class (XMessages_xx.properties) and change/add what you need (you can look in the _en for all the keys).

    It will overwrite the one in the library, since it have the same path, and viol!

    Good work!

Posting Permissions

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