**** BEGIN LOGGING AT Fri Sep 28 02:59:57 2012 Sep 28 04:31:37 anyone know offhand how enyo pickers work internally? Sep 28 04:32:10 I do not, you could read the source, that might be easiest Sep 28 04:52:00 * fxspec06 me Sep 28 04:52:09 what you need to know Sep 28 04:53:38 they have onActivate event, when fired sends inSender the active object, and for inEvent puts the active into .originator.. pretty sure that's how it works Sep 28 05:01:43 well the samples have it with a button control and the picker is triggered but i dont see how Sep 28 05:01:58 what id like to do is open the picker but not via a button but manually Sep 28 05:02:35 because id like the tap area to be the entire cell that contains all of those components Sep 28 05:02:43 you can do that with .openAt(event); i think is right Sep 28 05:03:01 where event has x and y coords Sep 28 05:04:46 oh ok Sep 28 05:04:53 i wasnt sure how it was triggered Sep 28 05:05:09 also can you auto focus a text input? so that the ios keyboard opens Sep 28 05:06:10 you can call .focus() on the input box when you need to Sep 28 05:06:32 i'm not sure if defaultFocus: true, works or not. i don't think so. Sep 28 05:08:04 hmm Sep 28 05:08:15 i actually think my focus code worked Sep 28 05:08:40 i see a blinking carrot but it doesnt call open the ios keyboard. I guess ill have to do some research.. i figured it'd just work Sep 28 05:08:51 oh, the ios keyboard. Sep 28 05:08:53 uhm Sep 28 05:09:43 it might only come up on certain elements.. i'm not sure if it works on RichText Sep 28 05:09:59 you could try BasicInput, or tag: 'input'. Sep 28 05:11:23 yea, Im looking to see how its opened Sep 28 05:11:31 it might be user driven Sep 28 05:11:32 i don't know if that would help you very much, though. i know its' either that, or that ios doesn't know the box has focus Sep 28 05:11:46 eg. might not be possible to force open via web Sep 28 05:12:10 i had issues w/ first ios port, the webview didn't actually have focus so you'd tap but KB wouldn't come up Sep 28 05:12:30 yes, if the ios webview doesn't have focus you'll never get that KB open Sep 28 05:12:58 unless, you sent back a command to ios to send a tap event to the x,y coords of the input Sep 28 05:13:25 well the webview has focus because I have a cell I tap Sep 28 05:13:31 which opens a popup with a text input Sep 28 05:13:49 id just like to put it in focus and open the keyboard vs req 1 more tap Sep 28 05:18:26 weird Sep 28 05:18:32 calling focus works Sep 28 05:18:37 but the enyo job to call focus doesnt Sep 28 05:18:46 open the keyboard that is Sep 28 05:18:57 that makes sense. Sep 28 05:20:03 really? why is that? I'm curious Sep 28 05:22:12 it's because enyo wraps the input in a fake div input, and when you call .focus you're not actually focusing the dom node, you're calling enyo's private focus. but calling it on the node works because every node has a .focus() method Sep 28 05:22:30 well, depending on which tag you use enyo doesn't create the element Sep 28 05:31:12 ahh thx Sep 28 05:31:15 that does Sep 28 05:37:28 Does enyo do everything in javascript, or can a page be specified from markup? I am currently using twitter bootstrap and looking at alternatives, but the twitter search sample shown on the website doesn't look like what I am looking for. (the way my site looks right now is @ http://socr.uwindsor.ca ) Sep 28 05:38:26 you can use enyo with markup, if that's what you're asking Sep 28 05:38:50 enyo does do everything FROM javascript, but you can also manipulate HTML easily Sep 28 05:39:38 fxspec06, sorry I should have been more specific. I want to essentially build the content of the site with markup (this is all being generated in the application server). Sep 28 05:41:13 you want to put html onto the page using enyo? Sep 28 05:42:16 not for this part of the website Sep 28 05:42:36 I am mainly in need of decent theming / layout. The admin side is a bit different - that hasn't been written yet. Sep 28 05:42:45 I love the speed I see in enyo samples Sep 28 05:43:07 well i can show you what i've done in enyo, if that would help your decision =P Sep 28 05:43:17 I would greatly appreciate it Sep 28 05:43:36 http://i.imgur.com/voRjw.png Sep 28 05:44:08 that also changes themes.. the user changes it themselves. this is same thing, but older icons http://i.imgur.com/YSHoC.png Sep 28 05:44:28 the colours burn :P Sep 28 05:44:43 so enyo is very flexible. i went way out of bounds and made it user customizable, but you can of course do it yourself Sep 28 05:45:08 Is that done in all javascript, or do you lay stuff out on the page declaratively? Sep 28 05:45:15 all javascript Sep 28 05:46:17 heh, this one's weird too in its own way, but shows off a custom pulldown list http://i.imgur.com/NsAte.png Sep 28 05:47:49 i also made this earlier this summer http://i.imgur.com/jddO5.png back when first beta was released Sep 28 05:48:06 I am a little torn then. I am generating all my content on the server side with only some themeing with css and minimal javascript right now. Are there any examples of using enyo for more basic websites instead of applications? I would consider my to be admin interface to be closer to this kind of thing, but not there yet. Sep 28 05:48:29 I can see the potential here for sure Sep 28 05:50:00 have you seen......... http://enyojs.com/sampler/ Sep 28 05:51:49 i can't remember off the top of my head any sites built w/ enyo 2 Sep 28 05:53:11 I was going to be using dojo, but its complexity was surprising to me. Sep 28 05:54:18 The sliding app example tries to do its own scrollbars instead of browser scrollbars Sep 28 05:56:08 you can set it to use browser scrollbars. you can also have it drag Sep 28 05:57:29 I think I will have to not go with it for the main website, and look at it for the admin console when i write that. Sep 28 05:57:38 One is much closer to an application than the other Sep 28 05:57:57 arg. blur() wont dismiss the ios keyboard now. Sep 28 06:00:21 while i can't speak for them i think it's definitely geared towards mobile Sep 28 06:00:44 you could use enyo in conjunction with whatever you decide to use Sep 28 06:02:07 enyo is very small, you could use any thing you see anywhere, it's simple as var x = new myComponent().write(); Sep 28 06:02:28 or if you have a div w/ an id, myComponent().renderInto("id"); Sep 28 06:02:49 so you don't have to go all in. if you like the lists, you could definitely use the lists, or a button, heh Sep 28 06:04:00 i think at the bootcamp sugardave mentioned the actual enyo source is something like 300 or 600KB. and that gives you all the basics Sep 28 06:04:58 Most things I saw were rather nice and fast, so anyways I must rest now. Have a good night. Sep 28 06:05:09 cool, you too! Sep 28 06:35:43 how do you reference document from inside enyo? Sep 28 06:35:53 or is it the same and my code is just broke? Sep 28 06:37:19 ahh yea Sep 28 06:37:21 nm Sep 28 06:41:02 lol Sep 28 13:22:59 hey, is anyone there? Sep 28 13:33:53 also, why does th topic say "unofficial discussion" when this is linked to by th official Enyo site? Sep 28 13:35:58 *the Sep 28 13:36:13 why is autocorrect so pointlessly useless? Sep 28 13:36:36 corrects real words and doesn't correct th Sep 28 15:17:11 GodGinrai: there are people in here. i don't know why it says that. my guess would be that the channel wasn't endorsed by hp at the start (and yes, it may be different now) Sep 28 15:21:18 aah Sep 28 15:22:29 btw, madnificent, the reason I asked if anyone was there was not because I couldn't see the /NAMES list, but because I wanted to know if there was anyone who was not idle Sep 28 15:23:18 GodGinrai: a lot of idlers are on the webos related channels. if you stick around long enough, you get an answer. btw, this doesn't imply that the platform isn't lively Sep 28 15:32:05 yea, the problem is, that when I want to have a discussion about features, I want to guarantee there is someone who might be able to help Sep 28 15:32:37 * madnificent knows GodGinrai isn't talking about enyo-features, still whishes he was Sep 28 15:32:46 GodGinrai: any examples? Sep 28 15:33:48 lol, I meant asking about how to do stuff in Enyo, so in a way the features of Enyo. I probably should have worded that differently. Sep 28 15:34:52 GodGinrai: naah, no problem. well, you can often get good advice here, but it indeed depends on the time. we're not a payed call-center serving your every needs, so most people reserve the right to sleep or be busy. like zzing shows ^_^ Sep 28 15:37:20 oh of course, I know Sep 28 15:37:30 but that's why I check for non-idlers Sep 28 15:37:41 so I know if I can get answers Sep 28 15:37:52 or at least people trying to answer Sep 28 15:38:50 if you want answers immediately, i'm affraid you'll have to look elsewhere. if you don't mind waiting to get answers: you'll likely get them :) Sep 28 15:39:20 GodGinrai: the forums are used more often btw Sep 28 15:41:14 yea, but I can't really do that at work Sep 28 15:41:35 why not? Sep 28 15:51:29 because I'm actively developing, so I want to shoot back quick responses and get timely responses Sep 28 15:52:29 yeah, get payed support somewhere for that. that's not exactly how the world works. i doubt you'll run into many issues, but i may be wrang. Sep 28 16:01:57 lol, that's why I wait around for people who are willing to lend some time in the channel :) Sep 28 16:02:04 anyways, I got to go, cya Sep 28 22:37:15 anyone home? **** ENDING LOGGING AT Sat Sep 29 02:59:57 2012