**** BEGIN LOGGING AT Mon Feb 11 02:59:58 2013 Feb 11 14:00:45 hello :) Feb 11 14:04:04 I wonder, is there already some kind of keyboard event manager? looks like it's possible to use a "signal" component inside an enyo component to capture keyup events, thought it would be possible to extend this mechanism and map some keys to containing components Feb 11 14:05:00 with a kind of mapping that would associate, in the signal component, some keys to a handler in its container, just like ontap Feb 11 14:11:59 i think shiftyaxel would know. maybe fxspec06_. Feb 11 14:19:36 ok :) Feb 11 14:40:50 pulsation: https://github.com/enyojs/enyo/wiki/User-Input section "Keyboard Input" may help Feb 11 14:41:22 you can use the "onkeyup" event Feb 11 15:01:43 domidumont: thanks Feb 11 16:26:03 hey, how can I attach a javascript attribute like onclick ... to a div ???? Feb 11 21:00:16 Hello folks. I've been struggling with learning enyo for an application I'm rebuilding. I'm having a scope issue with a callback from onecrayon's database-webos and I was wondering if there is anyone who could help me. Feb 11 21:01:33 When the callback is called, it can not access this.$.mycontrol . I am calling the database object from this.parent.$.db and I'm thinking maybe that is breaking the scope. Feb 11 21:04:02 Trex005: Are you binding the scope? Feb 11 21:04:08 Of the callback, that is Feb 11 21:04:20 no. Feb 11 21:04:46 enyo.bind(this, "callbackName") Feb 11 21:04:52 can I do that in the function I'm building the query in before I call the db.query Feb 11 21:04:59 Yeah Feb 11 21:05:08 enyo.bind(this, function(){}); Feb 11 21:07:51 Do I need to set the function to a variable name first so I don't have to use this. in the function name string? Feb 11 21:09:01 localfunction = this.loadKeys; enyo.bind(this,"localfunction"); db.query(sql, { "onSuccess": localfunction }); Feb 11 21:09:19 I've tried about 10 different variations and it's not working :) Feb 11 21:16:09 This is what I expected to work : enyo.bind(this,"loadKeys"); db.query(sql, { onSuccess: "loadKeys" }); Feb 11 21:17:00 I also don't understand why "onSuccess" needs to be in quotes, but if I don't quote it, it clearly breaks. Feb 11 21:23:52 I got it. I was assuming the bind acted on the function, but I had to use the return value :) Feb 11 21:23:57 feel kinda stupid Feb 11 21:45:28 Trex005: Sorry that I didn't see this, glad that you got it working! Feb 11 21:48:21 Thanks. I'll be hanging around. I spent hours trying to figure that out and I figure I should have come sooner :) Feb 11 21:48:47 Well if you ever need help with anything else, feel free to ask Feb 11 21:55:04 I have another question :o) Is there a way to set a value to an onyx.Picker that is different from the label? Feb 11 21:55:39 I see in enyo 1.0 it was caption and value, but it seems like it is now just content Feb 11 21:55:52 Uhm Feb 11 21:55:57 I'm not sure Feb 11 21:56:02 Maybe someone else knows/ Feb 11 22:08:17 anyone using enyo for a website? Feb 11 22:11:01 I think sugardave's personal site uses enyo Feb 11 22:12:08 not exactly…I have an Enyo app running as a a widget on my wp blog and an EARLY Enyo app running at app.sugardave.com Feb 11 22:12:26 For a normal site, I can't imagine that enyo would be as efficient as many other tools out there. Feb 11 22:12:56 enyo is pretty small Feb 11 22:13:25 I mean as efficient to build Feb 11 22:13:32 oh, perhaps not Feb 11 22:13:42 I like writing in enyo, it's slick Feb 11 22:13:53 but if you're familiar with other systems, those might be better Feb 11 22:13:59 I think I have a few months more of writing in it to feel that way :) Feb 11 22:34:22 I have a picker that is on a model popup. Unfortunately when I call render() on it, it displays underneath the popup. Any way to fix that? Feb 11 23:16:56 Trex005: There's a bug with pickers in modal popups. Feb 11 23:17:15 Trex005: You can add this to the picker as a temporary bugfix Feb 11 23:17:25 style: "z-index: 999 !important;" Feb 11 23:21:49 Thanks again kesne. Is that a known bug? Feb 11 23:22:29 Trex005: Not sure, Last I checked it was reported, but with no fix Feb 11 23:27:00 kesne: that worked great visually, but now it won't respond to the clicks for some reason. Feb 11 23:27:15 Oh that's right Feb 11 23:27:16 Uhm Feb 11 23:27:19 Let me look up the fix. Feb 11 23:27:49 I'm sorry. Not trying to be a pain. Are you just an enthusiast or are you part of the Enyo team? Feb 11 23:29:26 I'm an enthusiast. I've been using Enyo since the Enyo1 prerelease. Originally a Mojo developer for webOS 1. Currently writing the calendar app for webOS Ports. Feb 11 23:30:24 Trex005: Before you call show on the modal, you have to call some other stuff. Here's the code assuming your dialog is named "jumptodialog". Change it to the correct name, of course. Feb 11 23:30:49 this.$.jumptodialog.render(); Feb 11 23:30:49 this.$.jumptodialog.capture(); Feb 11 23:30:49 this.$.jumptodialog.reflow(); this.$.jumptodialog.show(); Feb 11 23:31:19 wow..... okay I'll give it a shot Feb 11 23:31:28 Hope it works!! Feb 11 23:32:54 well didn't quite work : http://machine1.newcovsoft.com/vision/enyo/bootplate/debug.html Feb 11 23:33:18 now they are all rendering at the top Feb 11 23:33:26 Trex005: How do I test this? Feb 11 23:33:35 Trex005: As in, where is the relevant popup Feb 11 23:33:49 it pops up on load. it's a login screen Feb 11 23:36:31 Trex005: I'll see if I can figure it out Feb 11 23:42:00 kesne: I'm going to move to another section. if for some reason it doesn't load, try again in 30 seconds. Feb 11 23:47:27 Trex005: Found the issue Feb 11 23:47:52 you need to call the render/capture/reflow/show on the dialog, no the picker Feb 11 23:49:21 ahh.... okay I'll give it a shot Feb 11 23:51:07 kesne: woohoo that worked. messed up my image, but I don't really care about that, it was a placeholder Feb 11 23:51:21 Well hopefully it can be fixed. **** ENDING LOGGING AT Tue Feb 12 02:59:58 2013