**** BEGIN LOGGING AT Thu Jan 03 02:59:59 2013 Jan 03 15:44:29 hello and happy new year :) Jan 03 15:51:47 do someone know why in g11n, the ar resource is prefixed by an underscore? Jan 03 18:08:49 whew Jan 03 18:27:17 hey all, i've got an existing Control and I want to update multiple published attributes at once and then have the view reload - is that possible in any way? Or do I have to do this.$.control.setAttr1('blah'); this.$.control.setAttr2('blah.')? Jan 03 18:36:05 i mean theoretically you could just do, enyo.mixin(this.published, {your:properties,he:re}); and then refresh your view Jan 03 18:36:43 it's cruel but it will work. it won't call the specific propertyChanged() methods though Jan 03 18:42:18 Got it - It feels like I'm doing something wrong because this is overly verbose. Jan 03 18:42:52 Basically i've got a two column layout - left column for a list, right content column for actual content. When I click on an item on the list I want to take that item and load it's data into the content column... Jan 03 18:44:15 Anyway, I was just making sure I wasn't missing an .update() method or anything. Thanks fxspec06 Jan 03 18:45:04 you should take the index from the event Jan 03 18:46:18 and then do a bubbleUp to your main kind, catch the event there, return true (i think return true stops propagation), and then in the handler function create a new component in your right pane Jan 03 18:46:34 that's how i'd do it anyways. Jan 03 18:47:49 Ah okay - I was thinking about creating a new component. That definitely seems easier to do. Should I be using createComponent? then? Jan 03 18:48:01 yep, that's good Jan 03 18:48:50 I'm not sure I follow your "bubbleUp" part though - is there any examples or methods you can point me towards? Jan 03 18:49:36 this.$.rightPane.destroyClientControls(); this.$.rightPane.createComponent({name: 'RightPaneInnards', kind: 'mySpecialPaneObject', data: myDataObject, classes: 'enyo-fit', fit: true}, {owner: this}); Jan 03 18:49:38 for example Jan 03 18:50:22 Oh, that's brilliant. Thanks so much! Is 'owner' necessary, too? Jan 03 18:50:23 bubbleUp sends an event upwards starting with the first parent object from which it's called. you can also attach a message as a 2nd param Jan 03 18:51:22 this.bubbleUp('createPaneObject', enyo.mixin(inEvent, {my: data}) ); Jan 03 18:51:29 then in your main kind... Jan 03 18:52:11 in the declaration for your left pane: {name: 'myleftpane', /*etc*/, createPaneObject: 'handleCreatePane'} Jan 03 18:52:24 then your handleCreatePane will be called each time you bubbleUp Jan 03 18:52:49 just be sure to return true (i believe, it's either true or false..) to stop it from bubbling more when you don't need it. Jan 03 18:53:00 I think true stops propogation. Jan 03 18:53:08 thanks so much - you've been awesomely helpful. Jan 03 18:53:40 i believe the code is in the source /enyo/source/kernel/component.js near the bottom, about 2/3rds Jan 03 18:53:48 there's some good methods in there ;) Jan 03 18:54:11 Great - I found it extremely helpful to run through backbones code - I haven't gotten the chance to do it with enyo yet. Jan 03 18:54:28 one more i'd suggest checking out ASAP is lang.js Jan 03 18:54:41 good to know - i'll put it on my todo list for today Jan 03 18:54:59 sweetness. and Control.js, although possibly tomorrow for that one Jan 03 18:55:17 i'm here, others are here for more Q's. anytime Jan 03 18:55:25 f'in great. I love the interwebs. Jan 03 18:55:33 you'd think i work for HP lol Jan 03 18:56:03 it's cool, i <3 enyo, and at veryleast i would love to see more ppl using it Jan 03 18:56:14 for sure - there's no book out either yet! Jan 03 18:56:23 if you want too you could follow me on twitter, for faster response. same handle Jan 03 18:56:38 although, i tweet sports a lot....... o.O Jan 03 18:56:44 yeah, i got recommended to use enyo by the CEO of urban dictionary - so that'd be good for exposure potentially. Jan 03 18:56:57 he loves it Jan 03 18:57:09 DAMN! Jan 03 18:57:12 lol Jan 03 18:57:22 awesome! glad to hear ppl recommending it! Jan 03 18:57:34 yeah, for sure Jan 03 18:57:55 enyo is so fantastic, in so many levels Jan 03 18:58:09 i so wish compiled languages offered this level of flexibility and inheritance Jan 03 18:58:57 it's fine though, once web and tech reaches a certain point it's not going to matter anyways. enyo will last Jan 03 22:26:43 Neo: Demo. Built in 5hrs. Jan 03 22:27:07 super buggy. works AWESOME as a demo though Jan 03 22:27:35 one BILLION downloads Jan 03 22:28:25 on what platform? Jan 03 22:28:59 webos Jan 03 22:29:23 i wish webOS had one billion users Jan 03 22:30:10 that's just it. it doesn't need one billion users to get one billion downloads Jan 03 22:30:16 it's just that AWESOME. Jan 03 22:31:33 and anyone who tries to hack it apart and "fix it up" will have a REALLY fun time..... :D Jan 03 22:31:41 * fxspec06 buahahahahahhahahahahah **** ENDING LOGGING AT Fri Jan 04 02:59:58 2013