-
10 Jan 2012 12:08 PM #1
id in Controller is duplicated.
id in Controller is duplicated.
Shows id in Controller before the models and after the init.
-
11 Jan 2012 12:28 PM #2
Could you give us some more details and perhaps a screenshot indicating what the problem is?
Aaron Conran
@aconran
Sencha Architect Development Team
-
19 Jan 2012 6:09 AM #3
Notice in the Controller below...
id: above the models.
id: below the init.
The controler is duplicating the id: attribute.
Thank You.
Code:/* * File: BenAdmin/controller/Visits.js * Date: Tue Jan 17 2012 13:41:27 GMT-0600 (Central Standard Time) * * This file was generated by Sencha Designer version 2.0.0. * http://www.sencha.com/products/designer/ * * You should implement event handling and custom methods in this * class. */ Ext.define('BenAdmin.controller.Visits', { extend: 'Ext.app.Controller', id: 'control_visits', models: [ 'Visit' ], stores: [ 'Visit' ], views: [ 'Visits' ], refs: [ { ref: 'list', selector: '#ben_list_search' } ], init: function() { this.control({ "button[text='New Visit']": { tap: this.onNewVisitButtonTap } }); }, id: 'control_visits', onNewVisitButtonTap: function(button, e, options) { console.log('New Visit Button'); try { // set the visit id. var visitIndexField = this.getVisitIndex(); visitIndexField.setValue(-1); // set the visit view to the active view. var vport = this.getVport(); vport.setActiveItem(1); // this will trigger an activate function on the visit which will retreive and render the appropriate data.; } catch(e) { console.log('Exception New Visit',e); } } });
-
7 Feb 2012 12:30 PM #4
Controller doesn't have an id. Is this a custom property?
I added id as a custom property and was not able to reproduce this.
Need more data on how you got to this.Phil Strong
@philstrong
#SenchaArchitect
Sencha Architect Development Team
Known Bugs in Architect Latest
-
9 Feb 2012 2:55 PM #5
Artistan can you try this again with the lasted released build, pretty please!
Phil Strong
@philstrong
#SenchaArchitect
Sencha Architect Development Team
Known Bugs in Architect Latest
-
14 Feb 2012 3:16 PM #6
Closing until we are able to get a reproducible test-case.
Aaron Conran
@aconran
Sencha Architect Development Team
Looks like we cannot reproduce this. Please provide another test case to reproduce this issue.



Reply With Quote