[CLOSED] Ext.view.AbstractView.prototype.msg problem when ResourceManager's locale is set to EN

  1. #1

    [CLOSED] Ext.view.AbstractView.prototype.msg problem when ResourceManager's locale is set to EN

    The following example shows an alert that displays Ext.view.AbstractView.prototype.msg when ResourceManager's DocumentReady is fired. It works properly - it shows 'Carregando...' - if the ResourceManager's Locale is set to pt (Portuguese), but it shows 'undefined' if the ResourceManager's Locale is set to en (English)

    Any ideas to overcome this issue?

    <!DOCTYPE html>
    <html>
    <head id="Head1" runat="server">
        <title>Index</title>
        <script type="text/javascript">
            var docReady = function () {
                alert(Ext.view.AbstractView.prototype.msg);
            }
        </script>
    </head>
    <body>
        <ext:ResourceManager ID="ResourceManager1" Locale="pt" runat="server">
            <Listeners>
                <DocumentReady Handler="docReady();" />
            </Listeners>
        </ext:ResourceManager>
    </body>
    </html>
    Last edited by Daniil; Dec 17, 2012 at 4:34 PM. Reason: [CLOSED]
  2. #2
    Hi Raphael,

    I can suggest this.
    var msg = Ext.view.AbstractView.prototype.msg;
    
    if (!msg) {
        msg = Ext.view.AbstractView.prototype.loadingText;
    }
    The problem is related to this bug.
    http://www.sencha.com/forum/showthread.php?245783
  3. #3
    Thank you Daniil, please keep me posted about any update regarding this issue.
  4. #4
    Ok.

    I am marking this thread closed.

    But this one stays open.
    http://forums.ext.net/showthread.php?21464
  5. #5
    I agree. Excuse me for opening a new thread regarding the 'same' issue
  6. #6
    No problem, Raphael!

Similar Threads

  1. [OPEN] [#15] Locale problem
    By RCN in forum 2.x Legacy Premium Help
    Replies: 24
    Last Post: Jan 30, 2015, 11:51 AM
  2. [CLOSED] Resourcemanager.Locale is case sensitive
    By betamax in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Sep 13, 2012, 12:38 PM
  3. [CLOSED] Locale problem
    By thchuong in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: Jan 12, 2011, 1:28 AM
  4. Problem with ResourceManager
    By jwcelyo in forum 1.x Help
    Replies: 2
    Last Post: Oct 27, 2010, 4:08 PM
  5. Problem with AjaxMethod and prototype
    By glenh in forum 1.x Help
    Replies: 4
    Last Post: Aug 24, 2009, 11:13 AM

Posting Permissions