Search:

Type: Posts; User: arcobaleno

Search: Search took 0.02 seconds.

  1. Replies
    3
    Views
    4,407

    I tried to add the class Contact to the requires...

    I tried to add the class Contact to the requires array, but I keep getting the error: 'Ext.define is not a function', however the application works the same.

    I solved the problem of adding an...
  2. Replies
    3
    Views
    4,407

    Today I found that the problem lies elsewhere. I...

    Today I found that the problem lies elsewhere. I get the error: 'Ext.define is not a function' at startup, but I realized that my class is defined anyway.
    The problem is that I add my class as an...
  3. Replies
    3
    Views
    4,407

    Ext.define is not a function

    In a Sencha Touch application I have defined some classes in a js file in the Resources section.
    Like that:

    Ext.define('Contact', {
    Insert: function() {
    //Code...
    },
    ...
  4. Thank you for your answer. Operationally the...

    Thank you for your answer.

    Operationally the issue is the same, but the correction code proposed in the thread is already present in my version, so at the code level the problem is another.

    I...
  5. Store sync failure function never triggered

    Hi,
    I'm writing data in an external database through a Sencha Touch App. I need to handle the response of the web server in both success and failure cases. I'm calling the sync method of a store...
  6. Replies
    1
    Views
    667

    JsonP & writing data

    I'm attempting to both read and write data in an external database from a Sencha Touch App.
    I can't use a Json store with an ajax proxy because of cross-domain troubles, so I used a JsonP store...
  7. Replies
    6
    Views
    1,723

    Thanks, adding setData now all work. Just for...

    Thanks,
    adding setData now all work.
    Just for further information, with this code

    this.setData(this.getRecord().data);
    I can retrieve the data from the record
  8. Replies
    6
    Views
    1,723

    I prefer to use setTpl in the initialize because...

    I prefer to use setTpl in the initialize because I have to do some control (like IF) to decide what tpl load in the panel.
    How can I set an IF in this declaration so that I can choose if load a tpl...
  9. Replies
    6
    Views
    1,723

    Hi Petr, thanks for the answer. I have tried...

    Hi Petr,
    thanks for the answer.
    I have tried your solution but it still not works

    Ext.define('MyApp.view.contattiDetails', {
    extend: 'Ext.Panel',
    alias: 'widget.contattidetails',

    ...
  10. Replies
    6
    Views
    1,723

    Set programmatically tpl in ext.Panel

    Hi,
    I try to build my first app in Architect (Framework: Sencha touch).
    I have created a Ext.navigation.View (contattis) with a list of contacts. When one of this contacts is selected, an Ext.Panel...
Results 1 to 10 of 10