**** BEGIN LOGGING AT Tue Nov 19 03:00:00 2013 Nov 19 15:35:38 Does anyone have a solution for putting the client controls inside a kind with a panel component Nov 19 15:36:03 everytime I do get Panels it shows the client as panel ofc :s Nov 19 15:36:13 but I want to get my clientcontrols Nov 19 15:36:43 {kind:"Panels", components:[{name:"client"}]} **** BEGIN LOGGING AT Tue Nov 19 15:44:21 2013 Nov 19 15:57:24 any way to link/change those? Nov 19 16:09:18 joopmicroop: I'm not sure I understand what you're asking Nov 19 16:10:31 well I have a component with a panel component inside Nov 19 16:10:47 sure Nov 19 16:10:57 now I want the clientcontrols to be created inside this panel component Nov 19 16:11:15 (non chrome components) Nov 19 16:11:36 so I put {name:"client"} inside the panels component Nov 19 16:11:52 yeah, so? Nov 19 16:12:05 but the panels component reconises only one panel which is the client control ofcourse Nov 19 16:12:36 but I want it to reconise the components inside the clientcontrol as pannels Nov 19 16:12:48 not the clientcontrol itself Nov 19 16:13:01 you want non chrome components to be considered panels? Nov 19 16:13:09 yes Nov 19 16:13:48 you should just be able to add them directly as children of panels Nov 19 16:14:40 this.$.panels.getPanels() ==> {name:'client'} But I want: this.$.panels.getPanels() ==> {name:chromecontrol1},{name:chromecontrol2},... Nov 19 16:14:56 right Nov 19 16:14:56 how should I go about doing that? Nov 19 16:15:14 if(this.getClientControls()){ enyo.forEach(this.getClientControls(), function(cc){ cc.setContainer(this.$.panels) }, this); } Nov 19 16:15:26 this is what I tried so far Nov 19 16:15:41 {kind: enyo.Panels, componeents: [{kind: chromecontrol1}, {kind: chromecontrol2}, {kind: chromecontrl3}] Nov 19 16:15:55 ... predefined yes.. Nov 19 16:16:11 but I need it to be dynamic Nov 19 16:16:32 this.$.panels.addComponents([]); Nov 19 16:16:38 and then list the controls? Nov 19 16:18:19 sec I'll try Nov 19 16:18:54 (inside the parens) Nov 19 16:19:17 sorry, it's createComponents() Nov 19 16:19:43 ... the components are already created in the clientControl Nov 19 16:20:20 that's why I used setContainer Nov 19 16:20:24 wait wait Nov 19 16:20:41 you're saying you've got a panels, with something called client Nov 19 16:20:55 and the controls you want to become panels are children of client? Nov 19 16:21:08 yes Nov 19 16:21:10 oh Nov 19 16:21:34 uh, I'm pretty sure you can't do that Nov 19 16:21:43 urg Nov 19 16:21:54 can you give some more details about why you might want this? Nov 19 16:21:59 this is sort of a weird use-case Nov 19 16:22:01 can't even move them afterwards? Nov 19 16:22:13 building a cms Nov 19 16:22:32 I mean, you can obstensibly destroy them out of 'client' and add them as children to Panels Nov 19 16:23:24 which is what I did atm but when I try to destroy the client itself, enyo trips on inBounds.left of the panel Nov 19 16:23:54 shall I build a quick fiddle? Nov 19 16:24:06 that might be easiest Nov 19 16:25:32 k will do Nov 19 16:38:05 sec jsfiddle is dieing Nov 19 16:47:50 urg again.. going to look for another fiddler Nov 19 17:04:30 summatusmentis: humm on fiddle it works Nov 19 17:04:31 http://jsfiddle.net/n7Ljf/1/ Nov 19 17:04:52 I'll have to take a look why it doesn't in my app Nov 19 17:18:30 will be for tomorrow.. tkx for taking the time summatusmentis **** ENDING LOGGING AT Wed Nov 20 02:59:58 2013