Search Type: Posts; User: francescosyd

Search: Search took 0.01 seconds.

  1. I used to be such an avid promoter of Sencha Touch to developers I'd meet at all the meetups I attend. Now I'm just too ashamed to even mention it :-(
  2. Hi Jason,thanks for the pointer :-) I like using the itemTpl editor in Sencha Architect as it makes it easy to spot mistakes and add template functions. So I kept my template in the lists itemTpl...
  3. Hi Jason,thanks for the pointer :-) I like using the itemTpl editor in Sencha Architect as it makes it easy to spot mistakes and add template functions. So I kept my template in the lists itemTpl...
  4. I'm trying to set a scope variable on the itemTpl in an Ext.dataview.List in architect 3.0 Does anyone know how to do this? I can add a scope property on the itemTpl but it seems to convert 'this' to...
  5. Hi fmoseley

    requiring Ext.viewport.Viewport did the trick. Thanks :D

    Francesco
  6. Setting viewport autoMaximize to true In ST 2.3 and CMD 4.0 build throws runtime error 404 /src/viewport/Viewport.js file not found.

    Steps to produce:

    1. Generate empty app (sencha generate)
    ...
  7. I'm getting the same issue on the iPhone 5. I found that even though a bookmarked app on IOS6 uses a webview control it doesn't have the same system access privileges as a webview control embedded in...
  8. Hello,

    basically I copied Sencha's implementation of Ext.data.JsonP and modified to handle custom callback names to create MyProject.util.JsonP. Then I use my custom implementation to call the...
  9. Giving sencha native build the flick as this issue doesn't appear with Phonegap.
  10. Hi,

    I'm using Sencha build to build an iPhone native app. After re-loading a session via my logout function window.location.reload(); or window.location.href= window.location.href I loose all...
  11. bump :)
  12. Hi David,

    I don't use the data stores in my application, at the moment I access my data directly using Ext.data.JsonP.request or Ext.Ajax.request and render the results to a template.

    I...
  13. Hi Mitchell,

    the panel class TestApp.test.TemplatedData is created as a singleton because I only want one instance of the class accessible throughout the application. I also made the main panel...
  14. Hi Mitchell,

    thanks for looking at this. There's a jQuery plugin that also achieves this: http://code.google.com/p/jquery-jsonp/ I've been using this technique for a few years now with no...
  15. Hello Sencha,

    I've got a singleton view class extending a panel with a template. Upon the painted event of the initial data load I'm able to use Ext.get to obtain a reference to and update a HTML...
  16. Hi Sencha,

    firstly congratulations on doing a great job with Sencha Touch 2. The framework is quite amazing.

    I noticed that when specifying the callbackName property of the Ext.data.JsonP...
  17. Hi Mitchell,

    I've tested this in Chrome, Safari and mobile Safari. All work with no problems. My data is pretty straight forward but if anyone has needs to escape/encode text or JSON values then...
  18. Hi all,

    just thought I'd post a technique I use to pass data to an event listener on an XTemplate.

    xTemplate


    tpl : new Ext.XTemplate(
    '<img class="ImageClass"...
  19. Hi guys, stopped using the sencha stores and just wrote my own JSON serializer/de-serializer to local storage.

    Here are my utility methods:


    saveData : function(key, data,...
  20. Hi all,

    I found a solution to this issue. An Ext.XTemplate has an append method which will append parsed output to a target html element.

    Here's the working code to append items to a templated...
  21. Hi chwagssd,

    thanks for the tip. That worked for me too!

    cheers

    Francesco
  22. Hi all,

    I'm not sure if this behaviour is by design or a bug but when I update a stored record/item the item key seems to repeatedly append to the indexer value.

    To update a record/stored item...
  23. Hi all,

    I have a templated Ext.Panel that gets updated from an array of JSON items using the .update(items) method of the Ext.Panel. This is all working fine.

    I would like to append/add new...
  24. Hi all,

    I have set up a data store with a data model set to localStoreage and I would like to delete all items/records. My application is running locally under file://

    Here is my code:
    ...
Results 1 to 24 of 24