**** BEGIN LOGGING AT Thu Jan 31 02:59:58 2013 Jan 31 16:50:08 hey guys, is there any place that describes enyo.List in more detail? I can't figure out how to bind one inside of a container so you only see the list inside of a box Jan 31 16:53:33 have you seen the API docs? Jan 31 16:54:11 yes Jan 31 16:54:21 ok Jan 31 16:54:23 in fact, those even gave me troublle Jan 31 16:54:49 telling me to use a setRow method that didn't even exist Jan 31 16:55:03 Also, another problem Jan 31 16:55:06 and you've seen the wiki? Jan 31 16:55:12 yes Jan 31 16:55:28 My setupItem is getting called Jan 31 16:55:40 and doing its thing Jan 31 16:55:46 with each element Jan 31 16:55:56 but when it is done setting up Jan 31 16:56:04 All the rows have the same values Jan 31 16:56:19 you're not managing the index of the row correctly then Jan 31 16:56:41 even tho' I watched it iterate through my object w/ each subsequent setupItem call Jan 31 16:56:59 can you jsfiddle part of your code? Jan 31 16:57:49 not really, because while the code is simple, it has a lot of telling data Jan 31 16:58:05 my setupItem call is basically: Jan 31 16:59:02 var data = this.data[inEvent.index]; Jan 31 16:59:21 and then a bunch of variable setting in the kind inside the list Jan 31 16:59:50 and I see each call to setupItem getting a new entry from the array Jan 31 16:59:54 how are you referring to that item? Jan 31 17:00:09 mine's got a name: "item" attribute Jan 31 17:00:46 and then I refer to it with this.$.item.$.name.setContent(); Jan 31 17:00:48 roughly Jan 31 17:01:31 My item is just an Enyo kind I made called a Step Jan 31 17:01:44 and I named it step in the components Jan 31 17:01:49 so I do this: Jan 31 17:02:07 this.$.step.setData(blahblah); Jan 31 17:02:18 and setData is doing the right thing? Jan 31 17:02:34 yea Jan 31 17:02:44 are you calling render() on your list after setting all the items? Jan 31 17:02:57 they're all published vars Jan 31 17:03:28 I am not. I just use setCount and reset() Jan 31 17:03:35 ok, that should work Jan 31 17:03:50 when you say published vars, you mean they're in the published block? Jan 31 17:04:05 and the Step kind is doing the right thing with them in create() ? Jan 31 17:04:48 yes Jan 31 17:05:17 to both questions Jan 31 17:05:26 hrm Jan 31 17:05:48 are your Step items interactive? Jan 31 17:08:34 they're just divs w/ info in them Jan 31 17:08:51 so, no Jan 31 17:08:56 you've stumped me Jan 31 17:09:07 it sounds like you're doing everything right Jan 31 17:09:27 and your list is working properly, outside of the same data in every item? Jan 31 17:10:16 Well, I can't tell you for sure if it is working properly, because I don't know how to tell Jan 31 17:10:29 It renders the right amount of rows, I believe Jan 31 17:10:48 however it renders more rows than what I set rowsPerPage to Jan 31 17:11:39 but it's scrolling? Jan 31 17:13:12 well, it fills my whole browser, and I still have a scroll bar Jan 31 17:13:29 So I'm pretty sure I'm just getting the browser scroll Jan 31 17:13:34 ah Jan 31 17:14:25 http://pastebin.mozilla.org/2101111 Jan 31 17:14:27 that's my list Jan 31 17:14:32 and it works Jan 31 17:14:43 it sounds like you're doing everything the same way I am Jan 31 17:14:48 except for the render part Jan 31 17:15:08 oh, and you said reset(), not refresh(); Jan 31 17:16:04 yes Jan 31 17:18:47 I'm out of ideas Jan 31 17:18:59 I'd double and triple check that your data is correct Jan 31 17:19:05 but you seem pretty sure, so I believe you Jan 31 17:25:59 yea, I know it is iterating through my data Jan 31 17:26:09 I watched it in Firebug Jan 31 17:30:24 weird Jan 31 17:30:29 I have no idea Jan 31 17:42:19 ok, summatusmentis, I've renamed everything so that I could make a pastebin Jan 31 17:42:45 here: http://pastebin.mozilla.org/2101185 Jan 31 17:46:55 shit, forgot to rename functions Jan 31 17:47:12 oh well, just ignore the method names for Step Jan 31 17:47:21 I wonder if your issue is that you've declared your list in the components block of a bigger kind, but your setupItem function isn't defined within the List Jan 31 17:50:01 you know there's a PullDownList right? Jan 31 17:54:02 well, that's how they do it on the wiki Jan 31 17:54:26 A pulldown list is the farthest thing from what I'm trying to do Jan 31 17:54:37 oh, I misread then Jan 31 17:55:11 This is to show steps that happened in a process Jan 31 17:55:19 so the steps will remain the same Jan 31 17:55:54 only when I change the descid will it need to call the webservice again and get new data Jan 31 17:56:17 which only happens if you're examining a new prrocess Jan 31 17:56:22 *process Jan 31 17:56:31 I see Jan 31 17:56:38 yeah, I'm stumped Jan 31 17:56:39 sorry Jan 31 17:56:48 ok Jan 31 18:20:40 well, I just gave up and used a repeater Jan 31 18:21:01 But I don't know how to use Scroller with it Jan 31 18:21:13 The wiki doesn't give any examples Jan 31 18:26:40 summatusmentis: do you have any experience w/ Scrollers? Jan 31 18:37:05 very minimal Jan 31 19:39:06 hrm Jan 31 19:39:46 when I make my scrolled the tbody div, the tbody won't be the correct size Jan 31 19:40:11 so I had to put the scroller outside the table div :( **** ENDING LOGGING AT Thu Jan 31 22:46:41 2013 **** BEGIN LOGGING AT Thu Jan 31 22:48:23 2013 **** ENDING LOGGING AT Fri Feb 01 02:59:58 2013