Search Type: Posts; User: firekesti
Search: Search took 0.02 seconds.
-
5 Dec 2012 1:40 PM
- Replies
- 15
- Views
- 2,357
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,...
-
3 Dec 2012 12:06 PM
- Replies
- 15
- Views
- 2,357
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...
-
29 Nov 2012 9:40 AM
- Replies
- 3
- Views
- 610
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!)...
-
14 Nov 2012 1:06 PM
Jump to post Thread: renderTpl inside textfield? by firekesti
- Replies
- 1
- Views
- 427
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... -
8 Nov 2012 8:03 AM
- Replies
- 2
- Views
- 402
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 Nov 2012 9:03 AM
- Replies
- 2
- Views
- 423
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... -
30 Oct 2012 10:53 AM
- Replies
- 2
- Views
- 423
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...
-
30 Oct 2012 8:37 AM
- Replies
- 3
- Views
- 338
You mean clutter app.json? :D Thanks, that works very well!
-
28 Oct 2012 10:36 AM
- Replies
- 3
- Views
- 338
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... -
28 Oct 2012 8:15 AM
Jump to post Thread: fun with arrays in JSON by firekesti
- Replies
- 8
- Views
- 508
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....
-
27 Oct 2012 9:52 AM
Jump to post Thread: fun with arrays in JSON by firekesti
- Replies
- 8
- Views
- 508
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...
-
27 Oct 2012 8:17 AM
Jump to post Thread: fun with arrays in JSON by firekesti
- Replies
- 8
- Views
- 508
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...
-
26 Oct 2012 3:50 PM
- Replies
- 1
- Views
- 188
Well, I discovered a workaround...immediately before the save() I do this:
Ext.ModelMgr.getModel('KT.model.myModel').getProxy().setExtraParams(
{
name: newValues.name,
... -
26 Oct 2012 3:24 PM
- Replies
- 1
- Views
- 188
For a model with fields "name" and "type",
fields: [
{ name: 'name' },
{ name: 'type' },
],
and a proxy defined in the model with extraParams like so: -
24 Oct 2012 8:58 PM
Jump to post Thread: fun with arrays in JSON by firekesti
- Replies
- 8
- Views
- 508
{ 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... -
24 Oct 2012 5:56 PM
Jump to post Thread: fun with arrays in JSON by firekesti
- Replies
- 8
- Views
- 508
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",
... -
24 Oct 2012 5:28 PM
Jump to post Thread: Parsing RESTful JSON with links by firekesti
- Replies
- 1
- Views
- 559
Unfortunately there is no way to do this in Sencha's so-called REST proxy, as others have pointed out:...
-
23 Oct 2012 1:45 PM
Jump to post Thread: Parsing RESTful JSON with links by firekesti
- Replies
- 1
- Views
- 559
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":{
... -
10 Oct 2012 8:31 AM
Jump to post Thread: Dynamic URL for REST proxy? by firekesti
- Replies
- 2
- Views
- 467
So like the example I linked? Thanks.
-
8 Oct 2012 7:04 PM
Jump to post Thread: Dynamic URL for REST proxy? by firekesti
- Replies
- 2
- Views
- 467
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 Sep 2012 9:43 AM
Jump to post Thread: HTML Editor in Touch 2? by firekesti
- Replies
- 2
- Views
- 372
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. -
11 Sep 2012 5:16 PM
- Replies
- 1
- Views
- 543
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
