Search:

Type: Posts; User: firekesti

Search: Search took 0.03 seconds.

  1. perfect!

    Thank you so much! This is great - still working out a couple kinks but I think they can be solved by waiting for Cordova to be truly ready before trying to load the store on startup. Thank you,...
  2. Tim, were you able to update the store and save...

    Tim, were you able to update the store and save to the filesystem? I came across this example while looking for a way to do essentially the exact same thing - save a JSON settings file to disk using...
  3. Replies
    3
    Views
    1,124

    I ran into the same problem, but I found this and...

    I ran into the same problem, but I found this and it works like a charm. Hopefully you're not still stuck on it, but just in case (and for anyone else who finds this thread someday!)...
  4. Replies
    1
    Views
    1,906

    renderTpl inside textfield?

    Hi, I'm trying to update https://github.com/chrisfarms/Ext.ux/blob/master/src/TokenField.js for Sencha 2.0 and I've almost finished it, but I'm having a bit of trouble with the renderTpl.
    The...
  5. Switching from HTTP to HTTPS fails in Connection.js

    I'm overriding the Rest Proxy's buildUrl method like this:


    request.setUrl("http://" + serverUrl + ":8080/restapi/2.0" + url);

    This worked perfectly, but I needed to add support for SSL, so I...
  6. The store that fails is using a model that is...

    The store that fails is using a model that is based on a custom extension of Ext.data.Model.
    I logged the records that get loaded in the store.load()callback function. The first time the store...
  7. Loading Store after removeAll fails - Cannot read property 'parentNode' of null

    I have a store that loads upon app startup and populates a List. If I call removeAll() on the store, it removes everything as expected. But then, when I try to load() the store again, it fails. Other...
  8. Replies
    3
    Views
    1,129

    You mean clutter app.json? :D Thanks, that works...

    You mean clutter app.json? :D Thanks, that works very well!
  9. Replies
    3
    Views
    1,129

    Where to put custom Ext.data.Types file?

    Hi,
    I have a custom type like so:


    Ext.data.Types.Uri = {
    type: 'uri',
    convert: function(v, data) {
    // temporary function until a use case is defined around
    // how...
  10. Replies
    8
    Views
    1,616

    I'm using a RESTful api, so it does require...

    I'm using a RESTful api, so it does require another call to get certain elements. It's ok though, I found https://github.com/mhorner/RestModel and it looks like that will work a lot better for me....
  11. Replies
    8
    Views
    1,616

    Hmm, what if I have a setup like this: a REST...

    Hmm, what if I have a setup like this: a REST call gives me a list of 'entity' models which all work fine. But then, inside each 'entity' model is a 'body' link. The data for it is at...
  12. Replies
    8
    Views
    1,616

    Thanks, I suppose I'll try that out perhaps using...

    Thanks, I suppose I'll try that out perhaps using 'each' to get all the values, since there is a varying amount across instances of the model. In the meantime, I also have to figure out how to do...
  13. Well, I discovered a workaround...immediately...

    Well, I discovered a workaround...immediately before the save() I do this:


    Ext.ModelMgr.getModel('KT.model.myModel').getProxy().setExtraParams(
    {
    name: newValues.name,
    ...
  14. how to set extraParams values to associated model values?

    For a model with fields "name" and "type",

    fields: [
    { name: 'name' },
    { name: 'type' },
    ],


    and a proxy defined in the model with extraParams like so:
  15. Replies
    8
    Views
    1,616

    { name: 'entities', mapping:...

    { name: 'entities', mapping: 'entities.data[0].data["name"]' },

    This code works well to give me exactly what I need from one of the elements, but not both - I feel like I should be using...
  16. Replies
    8
    Views
    1,616

    fun with arrays in JSON

    Hey community. I haven't been able to figure out how to access part of a piece of data loaded from a store. Here's the JSON:



    entity-list:
    {
    "id":"1e3f2071638241e292b705c034be4d6b",
    ...
  17. Replies
    1
    Views
    1,499

    Unfortunately there is no way to do this in...

    Unfortunately there is no way to do this in Sencha's so-called REST proxy, as others have pointed out:...
  18. Replies
    1
    Views
    1,499

    Parsing RESTful JSON with links

    I'm having a bit of a problem getting some of the data from a certain model to load. Here's a simplified version of my JSON representation:


    "entry-list":[{
    "submitter":{
    "link":{
    ...
  19. Replies
    2
    Views
    1,123

    So like the example I linked? Thanks.

    So like the example I linked? Thanks.
  20. Replies
    2
    Views
    1,123

    Dynamic URL for REST proxy?

    How would I go about replacing part of a REST proxy's url on the fly? Like so:


    Ext.define('User', {
    extend: 'Ext.data.Model',
    config: {
    fields: ['id', 'name', 'email'],

    ...
  21. Replies
    5
    Views
    2,041

    HTML Editor in Touch 2?

    Hi,
    I was wondering how to use the HTML Editor from Ext JS 4 in Sencha Touch 2, or if there is any way to use a non-plain-text editor.
  22. Replies
    1
    Views
    1,343

    Can I add existing JS to an empty project?

    I was given a complex Sencha 0.9 app that hasn't been touched in years, and I need to upgrade it to 2.0 (it's so old and/or messy, the upgrade build doesn't work) and I figured Architect would be the...
Results 1 to 22 of 22