**** BEGIN LOGGING AT Sun May 13 03:00:00 2012 May 13 11:03:01 * fxspec06_ yawns May 14 02:31:32 Hmmm, drats. May 14 02:31:49 * rrix is playing with the enyo lists layout and can't figure out how to get onSetupRows to fire May 14 02:32:34 I'm creating a dynamic list based on a json AJAX response, so I call setRows when it's has the result May 14 02:33:01 But I'm not sure which method to call to get it to refresh and hit the setupRows stuff; I've tried render, i've tried refresh, I've tried refresh May 14 02:33:06 The documentation is ... light May 14 02:33:19 and the source doesn't really enjoy being read May 14 02:33:53 try reset May 14 02:34:03 I can't even tell where setupRow is being bubbled; I'd guess the enyo.Scroller class does that May 14 02:34:26 you also have to give your List a height May 14 02:34:32 otherwise it just won't render May 14 02:34:55 Oooh May 14 02:35:05 Derrr hurr May 14 02:35:32 believe you me, reading the source to figure that out is impossible May 14 02:36:20 and apparently, if you're only using json AJAX to populate the list, it's better to sub-kind List than it is to wrap it May 14 02:36:29 this apprently helps with events not going to the wrong place May 14 02:36:42 Hmm, it is still not hitting it ... May 14 02:36:50 Now I have to be doing something silly May 14 02:37:24 setRows(size), then reset() May 14 02:37:39 or, not reset, refresh() May 14 02:37:47 after populating May 14 02:37:59 I should rephrase May 14 02:38:05 bear with me, I'm tired May 14 02:38:40 setRows(size) set's the length of the list, refresh will call your setupRow() function May 14 02:38:47 refresh will May 14 02:38:48 assuming there's a reasonable height being set May 14 02:38:54 should, yes May 14 02:39:13 I'm using fittablerows to set it May 14 02:39:34 I had a really hard time getting that to work May 14 02:39:47 it's crazy finicky, from what I can tell May 14 02:39:49 * rrix has had nothing but issues getting Scroller and repeaters to work since even enyo1 :\ May 14 02:39:57 try setting an explicity height May 14 02:44:50 These list layouts kind of don't like me :\ May 14 02:45:12 it's stupidly simple once you get it working, but it's sorta... touchy May 14 02:45:18 Yeah May 14 02:45:25 if you wanna post your code, I can try and look at it May 14 02:45:31 I've spent about an hour more than I want trying to get events to fire so far May 14 02:45:34 I make no guarantees that I'll be able to fix it, but I'll try May 14 02:45:42 Sure, I can push it up to gifhub May 14 02:46:19 I'm busy waiting for the tablet to charge so I can test code that I'll be replacing with enyo2 code anyway May 14 02:46:28 but, you know, research May 14 02:46:31 :) May 14 02:48:05 if you decide to go the sub-kind route, http://forums.enyojs.com/discussion/comment/2300#Comment_2300 May 14 02:48:32 https://github.com/rrix/spaceapi-enyo May 14 02:48:41 source/Main.js is where I'm having issues May 14 02:49:08 it does an XHR json request (not jsonp for now, so there will be some errors with noncompliant sites) May 14 02:49:16 and populates an array with json data objects May 14 02:51:05 It's really populating the array based on XHR that it gets from an XHR so it's kind of spaghetticode May 14 02:51:48 but generatePanes is probably where you want to start looking, assuming that data is a key:value object which has URLs to XHR May 14 02:52:07 * rrix fixes a stray << operator May 14 02:52:21 so, are you seeing the log in spaceResponse? May 14 02:52:43 Nope May 14 02:52:49 are you certain that your issue is really only that setupSpaceRow is not being called? May 14 02:52:52 I have breakpoints in there, too, which are not hitting May 14 02:53:10 As far as I can tell, that's the issue, unless I'm braino'ing it May 14 02:53:20 where's the last breakpoint being hit? May 14 02:53:51 I have a breakpoint set on line 64 where it setRows and refreshes, and it hits that May 14 02:54:03 Then it dumps out to the event handler May 14 02:55:05 wait, it hits line 64, but you're not seeing the log on 63? May 14 02:55:23 what do you mean dumps out to? May 14 02:55:30 Oh, i see the log on 63 May 14 02:55:37 Sorry May 14 02:55:47 * rrix brains harder May 14 02:56:02 and spaceData.length is non-zero? May 14 02:56:06 Yup May 14 02:56:28 Evalutates to 30 when I break at 64 May 14 02:56:36 did you try an explicit height set for the list? May 14 02:57:24 yeah, it's set to 100 right now May 14 02:57:26 100px May 14 02:58:40 hmm, something in the dom is overriding it to 100000px May 14 02:59:00 yeah, make absolutely sure that it's actually getting a height May 14 02:59:09 that's the biggest issue I've found with lists May 14 02:59:25 nothing else looks wrong, and I assume you're not hitting the log on ln. 73? May 14 02:59:43 I am not hitting the log on line 73, correct **** ENDING LOGGING AT Mon May 14 02:59:59 2012