Search Type: Posts; User: lufton
Search: Search took 0.04 seconds.
-
15 May 2013 10:19 PM
Jump to post Thread: Few hasOne with same model by lufton
- Replies
- 4
- Views
- 130
Hooray! associatedName did the trick! It is pity there is not in default property list of association in Sencha Architect. Solved!
-
15 May 2013 1:21 PM
Jump to post Thread: Few hasOne with same model by lufton
- Replies
- 4
- Views
- 130
I am sorry, I don't get it, should I add:
{
associationKey: 'ifAccount1',
model: 'Job.model.IfAccount',
foreignKey: 'if_account1_id',
getterName: 'getIfAccount1',
... -
13 May 2013 11:19 PM
Jump to post Thread: Few hasOne with same model by lufton
- Replies
- 4
- Views
- 130
I have table witch has 2 foreign keys to another table. I define two models for this tables and add two hasOne relations for first model:
...
hasOne: [
{
associationKey: 'ifAccount1',... -
20 Jan 2013 11:43 PM
- Replies
- 4
- Views
- 1,464
You are welcome!
-
18 Jan 2013 6:46 AM
- Replies
- 4
- Views
- 1,464
This issue is present in ExtJs 4.2b, fixed with code above. Please apply this patch in next release :).
-
15 Jan 2013 5:43 AM
Jump to post Thread: AppName.model. Model prefix by lufton
- Replies
- 3
- Views
- 531
Yes, thanks, one more question:
Is there way to prevent loading hasOne association remotely? For my case if json of parent record has nested (hasOne) data then I want to use it else I didn't want ot... -
12 Jan 2013 8:48 AM
Jump to post Thread: AppName.model. Model prefix by lufton
- Replies
- 3
- Views
- 531
In SA I add some models and define some relationships between them. I want to use:
var store = person.addresses()
to get hasMany related store, but there isn't. Because SA defines my model... -
19 Oct 2012 10:55 PM
Jump to post Thread: Ext.plugin.extjs.FIleDrop by lufton
- Replies
- 20
- Views
- 7,148
Up
-
26 Sep 2012 1:16 AM
Jump to post Thread: Ext.plugin.extjs.FIleDrop by lufton
- Replies
- 20
- Views
- 7,148
Hi mitchellsimoens! I love this plugin and I use it for my project.
What do you think about adding this:
Ext.define("Ext.plugin.extjs.FileDrop", {
extend : "Ext.AbstractPlugin",
... -
25 Sep 2012 6:30 AM
- Replies
- 6
- Views
- 873
This isn't actually about SA, I solve this only adding event binding on my "main" panel and creating my custom Control there:
abstractcomponent.add({
xtype: 'boxselect',
id: 'tags',
name:... -
24 Sep 2012 11:29 PM
- Replies
- 6
- Views
- 873
Hi everyone, I try to use Sencha Architect for some time and get stuck with such problem. I want to use BoxSelect extension but I can't set xtype property of my default Combo. How can I use custom...
-
13 Jul 2012 7:42 AM
- Replies
- 1
- Views
- 239
Anyone?
-
11 Jul 2012 9:03 AM
- Replies
- 1
- Views
- 239
Anyone can explain me how to implement infinity grid in Architect 2? What are the required steps to do this if I already have my php API, model, store witch use this model and gridpanel?
-
10 Jul 2012 8:30 AM
- Replies
- 5
- Views
- 548
Thanks, this is usefull
-
9 Jul 2012 11:43 PM
- Replies
- 5
- Views
- 548
Ok, I responsed new record as items element and set success: true, this works, but I have one more problem, when I try to update my record script (I use RestProxy) sends POST request to update model,...
-
9 Jul 2012 10:50 PM
- Replies
- 5
- Views
- 548
This is the handler of my Create button:
var addAddressWindow = Ext.getCmp('addAddressWindow');
var addAddressForm = Ext.getCmp('addAddressForm');
var address =... -
9 Jul 2012 2:19 PM
- Replies
- 5
- Views
- 548
I want to get auto_incremented id property for my new instance of my model, but when I do this:
address.save({
success: function(record) {
addAddressWindow.record =... -
7 Jul 2012 10:07 PM
- Replies
- 7
- Views
- 712
But even this did not work! You can see on screenshots.
-
7 Jul 2012 12:06 PM
- Replies
- 7
- Views
- 712
Maybe it is some kind of solution, but then why sencha team make api config of AjaxProxy? It is simplier to use unified technique (CRUD as I khow). Maybe I should response some data like...
-
7 Jul 2012 10:53 AM
- Replies
- 7
- Views
- 712
I don't get why you think so? In my selection I have 3 items in my case:
36926
Every item is a model instance:
36927
But script generate strange requests:
1-st destroy request:
36928
2-nd... -
7 Jul 2012 8:02 AM
- Replies
- 7
- Views
- 712
I want to make delete button, I have such handler:
var selection = Ext.getCmp('peopleView').getSelectionModel().getSelection();
var store = Ext.data.StoreManager.get("PeopleStore");
for (var i... -
27 Oct 2011 12:50 PM
Jump to post Thread: ExtJS 4 chart store update issue. by lufton
- Replies
- 11
- Views
- 7,784
I have the same problem topic starter described.
My store is defined like:
Ext.define('TimeLineStore', {
extend: 'Ext.data.Store',
fields: ['rb', { name: 'time', type: 'time',... -
27 Oct 2011 12:54 AM
- Replies
- 1
- Views
- 447
Please, do not ignore my problem, help (((
-
26 Oct 2011 1:22 PM
- Replies
- 1
- Views
- 447
First of all, sorry about my English, I'm from Ukraine, so...
That's a problem: I need to draw a chart with time (x) and category (y) axes. My store definition is:
Ext.define('TimeLineStore', {...
Results 1 to 24 of 24
