**** BEGIN LOGGING AT Wed Apr 04 02:59:59 2012 Apr 04 14:20:28 hello. for some reason, create() is called two times in my object. when and why is this happening? Apr 04 15:03:32 hello. https://developer.palm.com/distribution/viewtopic.php?f=65&t=19555 -- i have the same problem in my pane -- the documentation example does not work, but it works somehow if i return a new kind Apr 04 17:11:00 hello. https://developer.palm.com/distribution/viewtopic.php?f=65&t=19555 -- i have the same problem in my pane -- the documentation example does not work, but it works somehow if i return a new kind Apr 04 17:23:52 burg: http://pastebin.com/X4uH33bp works for me Apr 04 17:30:11 sugardave, this is my code, and it is not working: http://pastebin.com/GKyGeUnD Apr 04 17:33:26 any idea what`s wrong? Apr 04 17:35:50 if i do a console.log(inSender) after i call createComponent, i can see it has one children, named as my slide. but the slide never appears Apr 04 17:48:08 re-render the pane and see if it shows it Apr 04 17:49:06 burg: ^^^ Apr 04 17:49:17 how can i rerender it? Apr 04 17:49:23 this.$.pane.render(); Apr 04 17:50:39 it doesn`t work. it seems to work if i also call inSender.selectViewByName(inName) after i call createComponent, but only for the first slide Apr 04 17:52:50 interesting...if I need to do dynamic view creation like that, I usually have the createView method like I showed but then I do this.$.pane.validateView(theViewName) before I select it...seems to work well Apr 04 17:53:10 validateView will kick off the createView event if the view doesn't exist yet Apr 04 17:54:17 sugardave, i select my views using a method where i do some sql calls, then i use self.$.pane.validateView(name); self.$.pane.selectViewByName(name, true); Apr 04 17:56:03 hmmm, you got me for now. I shy away from doing var self = this and then attempt to use a different this because of scoping...makes me sad Apr 04 17:58:35 sugardave, when i have to select the view after i do the sql call, i have to select it on the onFinish callback Apr 04 17:59:02 anyway i have some views where i don`t do sql query, so i use this.$.pane.etc , but still doesn`t work Apr 04 17:59:35 hmm, it definitely should work, this is the 2nd app I'm doing this in Apr 04 18:00:25 i know it should, yet it doesn`t. so i`m shure i`m doing something wrong, but can`t figure out what Apr 04 21:37:59 sooo are there no flexboxes in enyo2? Apr 04 21:44:54 fittablecolumns Apr 04 21:44:56 fittablerows Apr 04 21:44:59 fittablecolumnslayout Apr 04 21:45:02 fittablerowslayout Apr 04 21:45:05 and they're opposite Apr 04 21:45:16 vflexbox is fittablerows and vice versa Apr 04 21:49:45 thank you sir! Apr 04 21:51:08 your welcome! be sure to include package.js from the fittable folder. Apr 04 21:51:40 other wise you won't be able to fit anything. and flex is gone. it's now 'fit:true,' Apr 04 21:51:50 and i'm not so sure it works the same way. -____- Apr 04 21:52:15 haven't figured it out 110% yet Apr 04 21:55:43 ergh. I thought enyo1 and enyo2 were very similar. does not look lik eit Apr 04 21:56:00 there are some differences Apr 04 22:03:25 tib: they are very similar. Apr 04 22:03:32 they work almost identically Apr 04 22:03:36 just the wording is different... Apr 04 22:04:41 2.0 makes more sense after spending a few long sessions w/ it Apr 04 22:06:47 it allows you to do a few things easier. maybe that's just my advanced skills. who knows. Apr 04 22:22:57 I'll have to spend more time with enyo2 Apr 04 22:28:30 i like enyo2.. but it is different then enyo1 **** ENDING LOGGING AT Thu Apr 05 02:59:58 2012