Search:

Type: Posts; User: bstras21

Page 1 of 3 1 2 3

Search: Search took 0.02 seconds.

  1. Replies
    4
    Views
    2,597

    Would you do it this way?

    Ext.define('webApp.model.timeModel', { extend: 'webApp.custom.Model', fields: [ {name: 'Time', type: 'string'}, {name: 'Number', type: 'string'}, {name: 'DeviceID',...
  2. Replies
    4
    Views
    2,597

    Setting dirty property

    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
    2,597

    setDirty() question

    When I console.log(record) this is what I get:




    Ext.apply.create.Class


    data: Object
    dirty: false
  4. Did you find an answer

    Hello, did you ever find an answer for this? I'm looking to do the same thing.
  5. I got it

    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...

    This works great but I have one question. How do I pass data to listener:

    for example:

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

    Thanks!
  7. Replies
    2
    Views
    1,387

    Figured out the issue

    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. Replies
    2
    Views
    1,387

    Best way to destroy and recreate pop up?

    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
    3,046

    Perfect!

    Thanks, I was just missing the application!
  10. Replies
    2
    Views
    3,046

    FireEvent in Controllers

    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
    983

    Thanks for the quick response, would happen to...

    Thanks for the quick response, would happen to know of an example you can point me to.
  12. Replies
    2
    Views
    983

    Variables in Views

    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
    1,394

    Timing issue

    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
    1,394

    Same results

    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
    1,394

    Finding a record?

    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
    1,096

    Thank you

    This worked, thanks for the heads up.
  17. Replies
    2
    Views
    1,096

    Trying to access load event

    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
    1,004

    Question

    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
    1,004

    Sync Store with localStorage

    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. Been there

    I've been there multiple times, I'm looking for a working example someone may have, thanks.
  21. Example of syncing an ajax store to localStorage

    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,891

    PR2 bugs???

    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,891

    Sync ajax store to offline site

    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
    5,508

    Example

    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
    5,508

    I still get errors

    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