**** BEGIN LOGGING AT Mon May 06 02:59:58 2013 May 06 15:02:07 hi guys, can anyone tell me please how to use enyo.webservice and openssl?.. is it possible to install a certificate in app and use it for requests made by it? May 06 15:07:41 I don't think so May 06 15:08:06 if there's no inherent facility in JavaScript to do it, Enyo isn't giving you anything extra there May 06 15:10:05 hmmm .. so, how would you consume a https webservice from an enyo app? May 06 16:25:30 hey guys, I'm having trouble with putting a toolbar at the bottom of the page in a FittableRows layout. The toolbar shows about 10px or so above the bottom of the browser. May 06 16:26:30 highlighting: sugardave, fxspec06_, summatusmentis, Trex005, grayb0x, madnificent, and rrix May 06 16:27:04 i haven't written any enyo in like 6 months dude. May 06 16:29:16 I figured that this should be a common enough problem that how recently you've coded Enyo shouldn't really matter May 06 16:29:29 @GodGinrai I have a similar problem with a mobile UI interface I made, what's weird is when it loads its about 10px off the bottom but if I rotate it repositions itself properly May 06 16:29:48 Oh, it also bears mentioning that when I resize the browser, it fixes itself. May 06 16:31:11 I saw something when I searched online about calling resized() when you change the size of things, however, I don't change the size of anything in my own code. May 06 16:31:35 my fit: true section is an enyo.Panels May 06 16:31:50 grayb0x: that sounds exactly like my problem May 06 16:31:57 yeah May 06 16:32:04 I don't have mine fixed May 06 16:32:14 damn :/ May 06 16:32:21 but it is probably the same if not similar problem May 06 16:33:43 well, I have a "fix"... but it's not the way we should fix it. May 06 16:33:48 I also am not changing my layout it is all static components, but I do have a Scroller in the page May 06 16:34:37 yea, I just have 2 toolbars sandwiching an enyo.Panels that is supposed to fit May 06 16:35:04 hisa_py: you just specify https in the URL, if the browser gets/has the cert then all is well May 06 16:35:33 GodGinrai: you should do a this.resized() on render in your main kind there May 06 16:35:52 sugardave: that's my "fix" May 06 16:36:13 but that doesn't tell me why it is not working how it SHOULD be working May 06 16:36:18 GodGinrai: just because you don't specifically resize things in your code, doesn't mean something you added shouldn't do a resized May 06 16:36:45 I'm not saying I shouldn't do a resized May 06 16:36:56 it's because something you added dynamically (or something that expands in size due to response of an ajax or something) makes the fittable think the wrong bounds May 06 16:37:08 I'm saying I shouldn't do one and not understand why it actually is needed May 06 16:37:18 ^^^ May 06 16:37:47 the problem is: All of the things in my enyo.Panels are much too small to make it expand in size May 06 16:38:04 so I don't see how they could effect this May 06 16:38:17 all the content in mine are added during create and there are no ajax calls, there is an img tag that is added in create but otherwise its all static content May 06 16:38:55 I can't tell you exactly why it is happening without seeing all of the code May 06 16:39:41 all I know is that anytime I've seen that, the answer is calling resized on the Panels or its container, depending on what is needing to be resized May 06 16:41:30 yeah it does fix it, I stuck it in the enyo.FitableRows component I have defined May 06 16:42:38 I could understand problems with horizontal resizing being needed if I was doing the fit on Columns, but I'm testing this on a vertical monitor, where there is no chance of something causing the vertical size to change. :/ May 06 16:42:39 the two main components in that kind are a enyoScroller and an onyx.Toolbar and the only thing that is added in create is an img tag to a sub component of the enyoScroller May 06 16:43:52 the kind has a definition of fit:true and the enyo.Scroller has the property fit:true May 06 16:47:25 speaking of Toolbars, is there a suggested way to get a title to stay on the left, but a Button all the way to the right? May 06 16:47:50 summatusmentis: put a fit: true inbetween the two May 06 16:47:59 doesn't seem to be doing that May 06 16:48:06 the fit:true seems to collapse May 06 16:48:08 yea May 06 16:48:23 and I've tried the FittableColumns child, with title, fit:true, and button in there May 06 16:48:24 you have to also specify this on the Toolbar kind: May 06 16:48:37 layoutKind: FittableColumnsLayout May 06 16:48:59 put quotes around the FittableColumnsLayout May 06 16:49:32 somehow that worked May 06 16:49:35 I thought I tried that May 06 16:49:37 thx May 06 16:49:41 yw May 06 18:10:43 Okay, someone explain why I'm stupid: how do I know what item in a list has been tapped on? May 06 18:13:52 when I fire an ontap event, the inSender doesn't reflect the row I tapped on. However, if I tap the same row again, it does. Then, if I tap another row, it returns the info from the previous row. May 06 18:14:34 IIRC, the index is stored in the inEvent.index, or some similar property May 06 18:15:39 right now, my ontap function is just console.log(this.$.name), which returns the correct info. May 06 18:15:55 I can inspect the object in the js console, and the content attribute is correct May 06 18:16:13 however, if I change the line to console.log(this.$.name.content), the string it returns isn't correct. May 06 18:23:04 yea, dstaley_ , it's inEvent.index like I said May 06 18:23:17 that gives you the index of the tapped row May 06 18:25:33 So, given the index of the row, how to I access that specific row's data? May 06 18:27:28 umm, I don't have much experience w/ Lists, because they never liked to render well for me May 06 18:27:55 I'm thinking you can index your array of data w/ that index to find your data? May 06 18:28:37 Also, the lockRow and renderRow methods may also be of use, depending on what else you may be trying to do May 06 18:28:57 The issue is that I'm filtering the list. So, un filtered, item 200 returns an index of 200. But, when filtered, item 200 maybe the only result, returning an index of 0 May 06 18:32:10 yea, I have no idea how these lists respond to filtering May 06 18:32:59 haha, yeah, there's not much docs. I'm adapting the ListAroundSample May 06 18:33:18 it's weird because the second click on the object returns the correct data. May 06 18:35:08 ohhh May 06 18:35:13 here's something interesting May 06 18:35:20 it's returning the info for the last item in the list May 06 18:35:38 oddly, my list has 649 items, but only the first 100 are rendered... May 06 18:41:04 that's how List works May 06 18:41:16 it only renders a certain amount at a time May 06 18:41:42 it's part of the Flyweight design pattern it uses May 06 18:45:05 ah, well how do I get it to generate the rest? May 06 18:45:11 as I scroll down May 06 18:45:50 it should automatically, afaik May 06 18:46:31 haha, well, I guess there's more debugging in my future May 06 18:48:04 adding the class enyo-fit renders most of the rows May 06 18:52:17 ah, it seems that the rows were too tall? reducing their height allows for all the rows to be rendered. May 06 19:12:57 alrighty, GodGinrai I implemented another variable that watches the list and updates itself based on what's in it. Now, I can check inEvent.index and it ties to local_storage[i] May 06 19:14:12 thanks for the help btw, I appreciate it :D May 06 19:29:47 yw May 06 20:12:32 hi all, I downloaded the newest enyo release, and I seem to have my App.js being shifted upwards when I load debug.html in chrome May 06 20:13:02 or, that's not actually true, the components within App.js May 06 20:13:18 the App.js background color is set differently than the others, which is how I can tell May 06 20:14:58 it's like fit: true things the top of the document is higher than it is May 06 20:16:01 no idea, I don't use the boilerplate for anything other than a zip file for getting copies of Enyo and its libs May 06 21:44:48 how do Slideable's work? Mine seems to be doing weird things May 06 21:49:58 it's like it saves all the space in the body that it's going to slide into May 06 22:21:24 isn't it supposed to overlay? May 06 23:39:21 so, it overlays if you set the Slideable to position:absolute, but now I can't make the rest of the body sit below it? May 07 01:41:13 sugardave: you around? May 07 02:38:00 How do I slideables? **** ENDING LOGGING AT Tue May 07 02:59:59 2013