Search Type: Posts; User: bstras21

Page 1 of 3 1 2 3

Search: Search took 0.02 seconds.

  1. Replies
    4
    Views
    1,283
    Ext.define('webApp.model.timeModel', { extend: 'webApp.custom.Model', fields: [ {name: 'Time', type: 'string'}, {name: 'Number', type: 'string'}, {name: 'DeviceID',...
  2. Replies
    4
    Views
    1,283
    If I want to set the dirty property to true wouldn't I do this:



    Ext.define('webApp.model.timeModel', {
    extend: 'webApp.custom.Model',
    dirty:true,
    fields: [
    {name:...
  3. Replies
    4
    Views
    1,283
    When I console.log(record) this is what I get:




    Ext.apply.create.Class


    data: Object
    dirty: false
  4. Hello, did you ever find an answer for this? I'm looking to do the same thing.
  5. As soon as I posted I got it:



    this.application.on({
    popup: function(type){
    console.log('HERE IS THE TYPE' + type); },
    scope: this
    });
  6. This works great but I have one question. How do I pass data to listener:

    for example:

    me.application.fireEvent('showDevelopmentMenu', 'testData');

    Thanks!
  7. I am using touch2 pr3 and it seems that destroying the popup and recreating it changes the id of the component.

    For instance my id looks like this:

    id: 'testID'

    and it works the first time...
  8. I have a popup that contains an xtype and it works the first time but when I try to use it again after I destroy it, it's not recognized. I saw some posts on initComponent but I am using touch2 pr2....
  9. Replies
    2
    Views
    1,636
    Thanks, I was just missing the application!
  10. Replies
    2
    Views
    1,636
    I want to fire an event from one controller and listen to it in another? I found one example in the forums but that was using getBubbleTarget and I could not find that in the docs, here is the...
  11. Replies
    2
    Views
    770
    Thanks for the quick response, would happen to know of an example you can point me to.
  12. Replies
    2
    Views
    770
    I'm sure this is easy but I can't seem to pass any variables into my views from my controller. Does anyone know the best practice for this? I'm using touch pr2 and working with the MVC pattern.
    ...
  13. Replies
    3
    Views
    891
    I believe you are correct that it is a timing issue, I tied it to a button and it seems to work, thanks!
  14. Replies
    3
    Views
    891
    I went and put the loop in the load callback function but I get the same results:



    me.offlineStore.load({
    scope : this,
    callback: function(records, operation, success) {
    ...
  15. Replies
    3
    Views
    891
    Hello, I am lopping a store to find a record and I can't seem to get it working correctly:



    me.offlineStore.load();
    Ext.Array.each(loadRecords, function(name, index) {
    var count = index + 1;...
  16. Replies
    2
    Views
    604
    This worked, thanks for the heads up.
  17. Replies
    2
    Views
    604
    Hello, I see in the source code for a store that onProxyLoad fires:


    me.fireEvent('load', me, records, successful);However I can't seem to access it. I am creating a base store that all other...
  18. Replies
    3
    Views
    749
    I just test yours and it works but mine does not. I was able to get the same results by looping the store and using add(). Is this fine to do it this way? Also I checked the localStorage and see the...
  19. Replies
    3
    Views
    749
    Hello, is it possible to sync an entire store with localStorage? Or do I have to loop the records and add them individually?

    Here is my store that loads fine:


    var store = new Ext.data.Store({...
  20. I've been there multiple times, I'm looking for a working example someone may have, thanks.
  21. Can some please provide an example of syncing an ajax store to localStorage. I can't seem to get it to work, thanks!
  22. Replies
    2
    Views
    1,292
    Ok, I just tried the exact example from:

    http://docs.sencha.com/touch/2-0/#!/api/Ext.data.proxy.LocalStorage

    and I'm getting the same results. Wondering if PR2 has issues with this?
  23. Replies
    2
    Views
    1,292
    Hello I am trying to sync my ajax store to my localStorage. I can see that the key gets set but I can't load any data.



    onLaunch: function() {
    languageStore =...
  24. Replies
    6
    Views
    3,560
    Can you please provide an example on where to use the requires/uses properties? I am looking at the docs right now in Application and Controllers but do not see these properties?

    Thank you for all...
  25. Replies
    6
    Views
    3,560
    I even tried taking it out completely and I get this error:

    Uncaught Error: Ext.Loader is not enabled, so dependencies cannot be resolved dynamically. Missing required classes:...
Results 1 to 25 of 73
Page 1 of 3 1 2 3

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar