Search Type: Posts; User: bzarzuela

Page 1 of 3 1 2 3

Search: Search took 0.02 seconds.

  1. Is this behavior expected? Do I have to commit each new record added after calling sync on a store with models that have localstorage proxies?
  2. Use a local web server and not a file:// based protocol.
  3. It's mentioned in the release notes for 4.0.1 but I can't seem to find it in the documentation. Where can this guide be found? Thanks.
  4. Replies
    I found the correct answer. It's that Ext actually includes a manifest of files so it's able to do a wildcard. It won't work in your own code.
  5. Replies
    How exactly do you use the wildcard? How does the Ext Loader know what the filenames are in the server?
  6. Found the problem. The generated jsb3 file contains the wrong paths.
  7. I'm hoping someone can explain to me if my understanding of Sencha's SDK Tools is wrong in the first place.

    I assumed that "sencha build" will output 2 files:
    1. all-classes.js - basically a...
  8. Very easy to reproduce. Define a panel with 2 items or more. One of the items must have an xtype of "textarea"

    Check the output of panel.down('textarea') versus panel.down('textfield') for...
  9. Replies
    I agree. I'm actually starting to violate the MVC pattern by defining an instance of a store directly in a view just to circumvent this same problem.
  10. I saw that thread and unfortunately, I have no solution for that in Ext4. I've been doing something like that in my Ext3 applications.

    Here are some partial snippets. I hope you can figure out...
  11. Sorry, it seemed my assumption was wrong and that I could define "MyApp" and Ext.application won't override it.

    For the reference of others, here's the partial coffeescript.

    root = exports ?...
  12. When can you attach a settings object to MyApp? You can't before Ext.application()

    MyApp is undefined until after Ext.application({ name: 'MyApp'});

    You can't do it in launch() because the...
  13. What's the best way of holding global configuration data for an Ext4 MVC Application?

    checkSession: 'default/CheckSession'
  14. How would you get a reference to the panel? I typically use ComponentQuery but is that the best way?
  15. Nope, I'm not saying that. The code works but is that how it should be done in the first place? There must be an easier way.
  16. rec = Ext.getStore('Navigation').getRootNode().findChild('text', 'Test Node 2', true)
    rec.set('text', 'Test Node 3')
  17. I've built a login window for an app that I'm doing. The controller and views are all prefixed with 'nso' on the Ext.define call i.e "Ext.define('nso.view.LoginWindow')"

    What's the best practice...
  18. Ext.define 'nso.view.user.Login'
    extend: 'Ext.window.Window'
    alias: 'widget.UserLogin'

    title: 'Login'
    width: 300
    height: 300

    items: [
    Ext.create 'Ext.form.Panel'
  19. Thank you. I agree that the documentation needs a lot of improvements.
  20. Found the right answer: there is an undocumented config option called "requires" in Ext.application that you need to use.

    More details of the answer in my blog:...
  21. returns 503 errors for me about 60% of the time. it's painful to use. is there a downloadable version of this? it seems much more updated than the one in the release package.
  22. This doesn't work as well:

    Ext.define 'nso.view.Viewport'
    extend: 'Ext.container.Viewport'

    items: [
    xtype: 'panel'
  23. Here's a snippet of the coffeescript:

    Ext.define 'nso.view.Viewport'
    extend: 'Ext.container.Viewport'

    layout: 'fit'
    items: [
  24. Even if I try:

    name: 'nso'

    autoCreateViewport: false

    appFolder: 'js/nso/app'
  25. Yes, loader is enabled and works properly. It's also the right alias to call in the create. It's not an error, just a warning that I'm getting that I want to get rid of.
Results 1 to 25 of 55
Page 1 of 3 1 2 3