Page 2 of 7 FirstFirst 1234 ... LastLast
Results 11 to 20 of 67

Thread: Ux.locale.Manager

  1. #11
    Sencha User
    Join Date
    Oct 2011
    Posts
    12
    Vote Rating
    0
      0  

    Default

    Tested it using apache (xampp/osx) and safari.

    Problems still exist: language switch fails (json cant be decoded) and the text of green/red button in the lower left corner is missing. Used lib: sencha-touch-debug.js (st 2.0.0 commercial).



    Quote Originally Posted by mitchellsimoens View Post
    You must always run your app through a web server.

  2. #12
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,551
    Vote Rating
    1271
      0  

    Default

    I use it on apache (apache comes installed on OSX) and without any changes to the MVC app of ST2 it works with no issues.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #13
    Sencha User
    Join Date
    Oct 2011
    Posts
    12
    Vote Rating
    0
      0  

    Default

    I have uploaded a test project (essentially your github mvc project):

    http://www.i-byte.net/ux/st/mvc/

    Browsers tested: current Chrome, current Safari.

    Screenshot: Untitled.jpg

    Buttons lower left (missing texts), language switch is ignored.

  4. #14
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,551
    Vote Rating
    1271
      0  

    Default

    Ok, it was working with the 2.0.1 RC version but upgrading to 2.0.1 final and the buttons do break. I also noticed your link is using 2.0.0. I will be fixing it for 2.0.1 final so you will probably need to upgrade it to 2.0.1
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  5. #15
    Sencha User
    Join Date
    Oct 2011
    Posts
    12
    Vote Rating
    0
      0  

    Default

    Ok!

    Quote Originally Posted by mitchellsimoens View Post
    Ok, it was working with the 2.0.1 RC version but upgrading to 2.0.1 final and the buttons do break. I also noticed your link is using 2.0.0. I will be fixing it for 2.0.1 final so you will probably need to upgrade it to 2.0.1

  6. #16
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,551
    Vote Rating
    1271
      0  

    Default

    Quote Originally Posted by desmo View Post
    Ok!
    Turns out it is a framework bug. The override for the component that sets the flag to have enableLocale set to true is not being executed as it was.

    This isn't the first time this bug has creeped up so I guess I will need to work around it a different way. For now you can set enableLocale : true and locale : Ux.locale.Manager on the buttons and that will enable it to work. I have pushed an update that will fix it for now until I fix it for good (hopefully)
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  7. #17
    Sencha User
    Join Date
    Oct 2011
    Posts
    12
    Vote Rating
    0
      0  

    Default

    Thanks for taking time to look into the bug & the workaround!


    Quote Originally Posted by mitchellsimoens View Post
    Turns out it is a framework bug. The override for the component that sets the flag to have enableLocale set to true is not being executed as it was.

    This isn't the first time this bug has creeped up so I guess I will need to work around it a different way. For now you can set enableLocale : true and locale : Ux.locale.Manager on the buttons and that will enable it to work. I have pushed an update that will fix it for now until I fix it for good (hopefully)

  8. #18
    Sencha User
    Join Date
    Oct 2011
    Posts
    12
    Vote Rating
    0
      0  

    Default

    One last question: the picker done/cancel button texts are also not updating when the language is switched. It seems like enabling locale & setting the locale manager in (override) Picker.js (doneButton, cancelButton) is not the correct way to solve this.


    Quote Originally Posted by desmo View Post
    Thanks for taking time to look into the bug & the workaround!

  9. #19
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,551
    Vote Rating
    1271
      0  

    Default

    Just pushed an update. I cannot reproduce it anymore with a couple changes. Let me know if this fixes it for you
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  10. #20
    Sencha User
    Join Date
    Oct 2011
    Posts
    12
    Vote Rating
    0
      0  

    Default

    Looks good now, thanks

    Quote Originally Posted by mitchellsimoens View Post
    Just pushed an update. I cannot reproduce it anymore with a couple changes. Let me know if this fixes it for you

Page 2 of 7 FirstFirst 1234 ... LastLast

Posting Permissions

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