1. #1
    Sencha User
    Join Date
    Jun 2012
    Posts
    18
    Vote Rating
    0
    altanmur is on a distinguished road

      0  

    Default on Event to Double request

    on Event to Double request


    Any event (read, update, delete, write) are one touch double request.
    Example: Insert event. Duplicate row.

  2. #2
    Sencha User
    Join Date
    Jun 2012
    Posts
    18
    Vote Rating
    0
    altanmur is on a distinguished road

      0  

    Default


    this code is wrong?
    my using code
    Code:
    Ext.define('MyView',{
     extend: Ext.grid.Panel,
    
    store: Ext.create('MyStore')
    }
    --------------------------------------
    i want to this code but..
    Code:
    Ext.define('MyView1',{
     extend: Ext.grid.Panel,
    
    store: 'MyStore1'
    }
    but not working.

    both Im using
    Code:
    function addController(controller){
       controller.init(); // MyViewController1 
    }

  3. #3
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,079
    Vote Rating
    467
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    How is MyStore1 defined?

    FYI: The first approach is not correct. You should call create inside initComponent

    Scott.

  4. #4
    Sencha User
    Join Date
    Jun 2012
    Posts
    18
    Vote Rating
    0
    altanmur is on a distinguished road

      0  

    Default thanks for reply

    thanks for reply


    Code:
    Ext.define('MyStore1',{
     extend: 'Ext.data.Store',
     proxy:{
    }
    }
    that code are my not real code just for example same structure.

  5. #5
    Sencha User
    Join Date
    Jun 2012
    Posts
    18
    Vote Rating
    0
    altanmur is on a distinguished road

      0  

    Default ..

    ..


    I writing WebApp.

    Web App have user permission and has many component.

    I called once Login.js controller. Because user permission. I'm use addController function.

    store: 'MyStore1' is not working.
    store: Ext.create('MyStore1') is worked.


    my Web app like http://dev.sencha.com/deploy/ext-4.0.0/examples/layout-browser/layout-browser.html

    c
    hanging panel's advenced.main.jpgmenu item clicked.jpgform.jpg
    Attached Images

  6. #6
    Sencha User
    Join Date
    Jun 2012
    Posts
    18
    Vote Rating
    0
    altanmur is on a distinguished road

      0  

    Default ..

    ..


    I have many problems on developing this project. My idea not working.
    I want to developing thisClass Diagram1.jpg
    but not working. I changed sample development.I wrote many duplicate code.

Thread Participants: 1