**** BEGIN LOGGING AT Thu Nov 15 02:59:59 2012 Nov 15 07:35:45 Bleh, I'm out of practice Nov 15 07:49:13 I think I have some extra practice around here you can borrow. Nov 15 07:50:46 Sure ;) Nov 15 07:51:02 I thought I had made a mistake, Blaine's tool just isn't shipping enyo 2.1, but is shipping git libs Nov 15 07:51:11 He's going to publish a new version by Saturday he says Nov 15 08:15:15 good, good. I was going to poke him about that. Nov 15 19:35:47 hi Nov 15 19:36:07 how can I embed a panels kind in an enyo control? Nov 15 20:06:15 i'm not sure what you're asking Nov 15 21:15:23 hey, how do I handle XML returned by enyo.WebService? Nov 15 21:22:38 GodGinrai: your questions are too vague, btw afaik enyo.WebService doesn't return XML, is your server Nov 15 21:25:27 yes, but enyo.Webservice does the handoff to the response function Nov 15 21:26:25 I don't know how to access the xml data it puts in inEvent.data for me Nov 15 21:32:08 what do you mean, how to access it? Nov 15 21:32:21 is it returning as a JSON object? you can specify Nov 15 21:33:33 then just climb up and down the tree data[lvl1][lvl2][lvl3][etc] Nov 15 21:36:08 when I examine inEvent.data in firebug, I see all of this FF junk in it Nov 15 21:40:06 I know the data is in there, but there doesn't seem some easy way to read it that I can see Nov 15 21:40:38 (I've been using JSONp the whole time before, so this is my first time grabbing xml from a webservice) Nov 15 21:45:13 is it a string Nov 15 21:47:17 I'm using handleAs xml Nov 15 21:47:32 and I'm certainly not getting back just a string Nov 15 21:48:02 it still will return only JSON Nov 15 21:48:13 by handleAs xml you're just specifying the return type from the server Nov 15 21:50:00 yes, but I don't know the format of the json Nov 15 21:51:14 isn't it just object notation? you can't output it like, console.log(JSON.stringify(obj)); Nov 15 21:51:22 because for c, I can't just say: inEvent.data.a.b Nov 15 21:51:56 in chrome, you can expand all the trees of objects to see how it's structured. Nov 15 21:52:06 not sure how that works in FF but in chrome it is super easy Nov 15 21:54:34 console.log(JSON.stringify(inEvent.data)) gives me {} Nov 15 21:54:49 even tho' Firebug shows stuff in inEvent.data Nov 15 21:55:31 and I CAN see in the data object, I'm telling you that it's populated with all of the dom crap that FF has for it's pages Nov 15 21:55:50 hrm. Nov 15 21:56:04 You're getting back a page not a resonse. Nov 15 21:56:26 You're using the service wrong or the service is not responding correctly. Nov 15 21:56:30 probably, i would say that is correct Nov 15 21:57:01 if you see {} then enyo is doing it right and there is just an empty or no response from the server Nov 15 21:57:05 * fxspec06 dinner Nov 15 21:58:51 I'm setting a header for xml Nov 15 21:59:04 IE8 parses it as XML Nov 15 21:59:20 how is it giving a page? Nov 15 21:59:48 IE8 will NOT show you the xml in the browser if it thinks it is a document Nov 15 22:00:44 And I made the service, so I know it is responding correctly Nov 15 22:01:05 Firebug even shows the response and that the headers say text/xml Nov 15 22:02:19 GodGinrai: if you made the service, why are you using xml? Nov 15 22:03:44 because someone else is using it, and is using flash Nov 15 22:11:25 btw, it says it's an XMLDocument object Nov 15 22:13:05 maybe that IS what you're getting back. but you can't manage xml obj w/ enyo Nov 15 22:13:07 afaik Nov 15 22:13:34 unless you .innerHTML maybe and parse, but that's just a guess.. Nov 15 22:14:06 yea, that's just disappointing, tho Nov 15 22:14:19 I thought it would work similar to the JSON Nov 15 22:14:57 what if you do handleAs JSON? Nov 15 22:15:10 or, i know there's a yahoo xml parser that spits it to you as json.. Nov 15 22:15:22 it's in the enyo 1 RSS reader tutorial Nov 15 22:15:41 :/ Nov 15 22:16:17 GodGinrai: you can check the code, and is just returning the response, it doesn't automatically convert a xml structure into a JS object Nov 16 01:32:58 is it normal for enyo.Control onmousedown event to not make its way to me till the mouse up happens? Nov 16 01:47:23 oh nm i guess the visibility value is used in the event handling :/ Nov 16 01:48:36 https://www.dropbox.com/s/a2klchop1qe0kmx/TFX%20Background.png WOO! my first background! **** ENDING LOGGING AT Fri Nov 16 02:59:58 2012