**** BEGIN LOGGING AT Sun Apr 18 02:59:57 2010 Apr 18 03:25:33 hi all Apr 18 03:26:02 hello dpivs Apr 18 03:26:06 hi roy Apr 18 03:26:40 Time for everyone to go write something on http://webos101.com Apr 18 03:27:00 general question, If i wanted to make an ebook app, would i just use json to move all the text into my webos app? Apr 18 03:27:38 that's definitely a good way. Apr 18 03:27:52 If I'm following you. Apr 18 03:28:25 cool, thanks roy. Apr 18 03:30:51 I guess Ares 0.3.2 is now live. Apr 18 04:00:02 * Roy-Pre101 listens to the crickets. Apr 18 04:00:20 So, who all is going to the Palm dev day? Apr 18 04:21:36 i'm going. w00t. Apr 18 04:21:59 you going roy? Apr 18 04:22:33 yep Apr 18 04:22:43 Going to be in on Thursday night? Apr 18 04:23:03 yeah, most likely Apr 18 04:23:25 heading up there on thursday for sure, barring any unforeseen events. Apr 18 04:23:32 I'll be trying to arrange a thursday night get-together. Apr 18 04:23:56 Maybe some sight-seeing during the day with swisstomcat and Rick. Apr 18 04:24:17 oh, sight seeing up in san francisco? sounds cool. Apr 18 04:24:50 yep, I'll be tweeting about it so you can keep tabs there. Apr 18 04:25:01 what's your twitter? Apr 18 04:25:11 @pre101 Apr 18 04:25:18 You mean you don't follow me already? Sheesh! Apr 18 04:25:44 haha sorry not yet, but gimmie a few seconds. Apr 18 04:27:12 And I was already following you. :) Apr 18 04:33:00 so is there a general area where everyone's staying at? Apr 18 04:33:18 I'm about a block and a half or so from Palm campus. Apr 18 04:33:22 i kinda thought it would be that group of hotels off mathilda Apr 18 04:34:09 yep, the... Best Western Silicon Valley. Apr 18 04:34:40 i think that's where i'm at too, haha. but for friday night. i'm staying at a relative's on thursday. Apr 18 07:40:47 anyone here? **** BEGIN LOGGING AT Sun Apr 18 07:53:18 2010 Apr 18 08:41:40 Is it possible to design dialogs in Ares? Apr 18 08:48:35 test again Apr 18 08:48:37 ah Apr 18 08:49:13 so, is it possible to use the hold event somewhere? Apr 18 12:41:21 morn 'n Apr 18 12:55:01 hello world Apr 18 14:37:19 morn Apr 18 14:38:13 what up, zsoc!!!!! Apr 18 14:38:31 nuffin, my pre-alpha is finally in the testing feeds Apr 18 14:39:15 yay! Apr 18 14:39:20 what's it do? Apr 18 14:41:58 record audio from mic, or record audio from pcm_output (ie, whatever is coming out of your Pre/pixi speaker from any other app) Apr 18 14:42:03 encoded/compressed into mp3 Apr 18 14:42:23 supports external headsets, and possible bluetooth in the future. Apr 18 14:42:24 awesome! Apr 18 14:42:48 combo of pdk and sdk, then? Apr 18 14:43:23 heh... well... i normally wouldn't bother mentioning it in here but you're a cool guy :> Apr 18 14:43:37 it's SDK for the mojo, and it uses serviceRequest() to call .. uh.. my service. Apr 18 14:43:56 which is written in C, and uses the LS stuff like the actual palm services do Apr 18 14:44:09 but, in theory, it could be converted to a plugin for the PDK Apr 18 14:44:48 Palm's Lunaservice APIs are actually pretty awesome, and I fear the PDK equivalent might be weaker. Apr 18 14:45:59 I mean, right now it installs an upstart service so it runs in the background, but there should be no difference from that, vs loading with the app as a plugin (minus the ability to record with the app closed, of course) Apr 18 14:46:07 hear that "whooshing" sound? that was everything you said going over my head. Apr 18 14:46:13 oh. Apr 18 14:46:23 :) Apr 18 14:46:26 haeffb: well I know very little about the SDK/js and you were a huge help to me :D Apr 18 14:46:36 we all have our strengths. Apr 18 14:47:28 I get the gist of it, but have no clue how one would go about doing it. just glad there's people who can... Apr 18 14:48:54 Oh, well it's open source, in the webos-internals gitweb, if you'd like to take a peek. Apr 18 14:49:24 haeffb: I'm glad there's people who can too, or I wouldn't be able to ask them 7863683 questions till I can do it ;) Apr 18 14:53:31 zsoc: Glad to see the audio recorder. Apr 18 14:53:56 zsoc: Also, be sure to add your SDK experiences to webos101.com ;) Apr 18 14:55:02 good morning Apr 18 15:44:57 heya Apr 18 15:45:14 damn volanco .. airport is still closed .. no flights in or out until monday at least Apr 18 15:45:42 no dev days for me if they don't open it before wed :( Apr 18 15:48:19 f'in volcanoes. Apr 18 15:49:57 yeah, silly volcanoes, always.... doing stuff.. and thing.. y'know.. volcanoey things. Apr 18 15:51:02 swisstomcat: the airports should be open on monday Apr 18 15:51:25 some german airports opened an hour ago Apr 18 15:52:31 yeah, stupid volcanoes: I agree :p Apr 18 15:53:50 they better open! Apr 18 15:54:26 my flight leaves wed morning Apr 18 15:55:15 the biggest german airlines are pissed, thats why they opened earlier ;) Apr 18 15:55:39 no flights for lufthansa tho Apr 18 15:55:44 yeah, lets get mad at a volcano. that'll teach it. Apr 18 15:55:53 yep Apr 18 15:56:04 throw an atomic bomb on it .. that'll calm it down Apr 18 15:57:36 zsoc: thats not the point, the question is if its necessary Apr 18 15:58:24 hucksy: i'm just teasing :> Apr 18 15:58:28 safety first they say Apr 18 15:58:32 yeah i know :p Apr 18 15:59:03 wait and see i guess Apr 18 15:59:09 or drive to france and fly out from there Apr 18 15:59:15 swisstomcat: yes, but its... weird that they dont even check if it is necessary Apr 18 15:59:23 yeah, i found that strange Apr 18 15:59:33 only the airlines were doing check flights Apr 18 15:59:38 yep Apr 18 16:03:42 i went to the airport today .. very strange to see no activity and all the plane just sitting there Apr 18 16:05:48 for the people around the airport its just great ;) Apr 18 16:12:55 hucksy, indeed :) Apr 18 16:23:34 swisstomcat: I hope you make it! Apr 18 16:24:25 mh Apr 18 16:24:42 if he now starts walking... Apr 18 16:29:14 hello all Apr 18 16:31:38 does anyone know if it is possible to load a users image for use in drawing on a canvas element? Apr 18 16:42:09 hi all! Apr 18 16:56:56 anyone know if there is a way to make your own transition ? Apr 18 16:57:11 tmarshall, it is possible Apr 18 16:57:35 you just need a reference to a DOM img object Apr 18 16:57:46 and then you can use ctx.drawImage(pos) Apr 18 16:58:17 right, I know how to draw an image on the canvas, but I'm trying to let the user select one of their own images (some picture they took or uploaded to their phone) Apr 18 16:58:19 I recommend MDC's article for further reading on canvas: https://developer.mozilla.org/en/Canvas_tutorial Apr 18 16:58:27 hmm.. Apr 18 16:58:33 alright Apr 18 16:59:05 well, it should work as well Apr 18 16:59:15 you just need a path to the image Apr 18 17:00:52 Does the app even have access to read from the users photo directory? I'd imagine not... Apr 18 17:02:42 why know try it ? no idea Apr 18 17:02:53 I'll have a look since I may have a need for that too Apr 18 17:05:06 well, if the user is going to have to enter a path manually then that's a non-starter for me for usability reasons. I've had a look at the photo service: http://developer.palm.com/index.php?option=com_content&view=article&id=1556&Itemid=20 this just seems to open the file and let them look at it though... in palms IM client and in their contacts app, they allow you to pick photos and then the app does something with Apr 18 17:06:16 I'm probably looking at the wrong thing though Apr 18 17:06:46 well, why would he have to enter a path manualy . Apr 18 17:06:48 ? Apr 18 17:06:58 i imagine that the user wouldn't Apr 18 17:07:05 of course Apr 18 17:07:06 the whole crux of my question is how Apr 18 17:07:08 but in your app i mean Apr 18 17:07:25 how do i let them pick an image and get the path back... all the other questions, how to render it, etc, i know all that stuff Apr 18 17:07:41 ok, so on the emulator it works for sure.. but it must be tested on a real device since pretty much everything is opened on the emulator Apr 18 17:08:25 well, let's find out :) Apr 18 17:08:28 oh, maybe this Apr 18 17:08:31 http://developer.palm.com/index.php?option=com_content&view=article&id=1995&Itemid=325 Apr 18 17:09:57 yes, should work Apr 18 17:10:08 too bad there's no way to specify default path though Apr 18 17:10:21 I Apr 18 17:10:29 let's try.. Apr 18 17:11:00 I'll have to test this a bit... i wonder how palm does the "contact picture" thing, where they show the image you select and then you select a square portion of it to use for the photo Apr 18 17:24:01 let me know Apr 18 17:29:14 ok looks like you can use : { actionType: 'attach', kinds: ['image'], crop: { width: X, height: Y } }, should show the image picker with the cropping box Apr 18 17:51:34 perfect :) Apr 18 17:51:47 anyone used jQuery or any other framework in a Mojo app ? Apr 18 17:52:29 I have used it Apr 18 17:52:43 well, it's weird, it stopped working.. Apr 18 17:52:52 do you have it in noConflict? Apr 18 17:52:58 yeah, yeah Apr 18 17:53:10 just opened an older project, with jQuery Apr 18 17:53:21 hmmm... the app i have it in is pretty small still, but all i needed was jQuery.noConflict and i haven't had any issues so far Apr 18 17:53:24 that project worked.. now I can't debug it, it says jQuery isn't defined Apr 18 17:53:29 ahhh Apr 18 17:53:35 as if it wasn't included Apr 18 17:53:46 is it in sources.json? Apr 18 17:53:53 it's not, and never was Apr 18 17:54:04 oh, i put mine in there Apr 18 17:54:07 how are you including it? Apr 18 17:54:29 in index.html Apr 18 17:54:33 right before mojo.js Apr 18 17:54:44 this is real weird.. Apr 18 17:54:46 ahh Apr 18 17:54:57 i've never included js files that way, I've always used sources.json Apr 18 17:54:58 this project worked.. I didn't touch anything.. Apr 18 17:55:05 new version of emulator? Apr 18 17:55:08 no Apr 18 17:56:27 I don't get it.. Apr 18 17:58:07 the inspector shows the script tag with jQuery Apr 18 17:58:14 but I don't know if it's loaded correctly Apr 18 18:03:12 hi noaXess Apr 18 18:03:19 hello Apr 18 18:03:24 wasup? Apr 18 18:03:34 not much Apr 18 18:05:52 keeping a watch on the volcano too Apr 18 18:08:11 is there a way to know if a script inclusion have occured ? Apr 18 18:08:34 like Apr 18 18:33:34 not sure how to check that within a webos app... normally i'd just see if there was a 404 response for it :/ Apr 18 18:49:25 ok Apr 18 18:49:27 found the problem Apr 18 19:15:29 what was it Apr 18 19:15:42 eclipse :) Apr 18 19:18:01 I moved a file from one project to another thinking it would copy it, it moved the file instead Apr 18 19:18:15 how do I make a scrollable div ? Apr 18 19:18:52 I mean: I have a div which width is > screen_width and I would like to be able to scroll to see the rest of the div Apr 18 19:18:56 just like on a webpage Apr 18 19:19:02 is there a way to do that ? Apr 18 19:23:15 it should be scrollable by default Apr 18 19:23:20 i think Apr 18 19:23:23 it isn't Apr 18 19:23:28 maybe because it's in fullscreen ? Apr 18 19:25:12 maybe Apr 18 19:26:49 no Apr 18 19:26:56 it doesn't move in other either Apr 18 19:27:31 is your scene scroller disabled? Apr 18 19:27:47 the entire scene should be scrollable unless you disabled it Apr 18 19:28:37 naybody here? Apr 18 19:28:40 nope Apr 18 19:28:43 dang Apr 18 19:28:50 sorry, come back later Apr 18 19:28:55 alright Apr 18 19:29:05 hehe Apr 18 19:29:10 warpdesign: this.controller.pushScene({name: 'scenename', disableSceneScroller: true}); <-- pretty common to see people show disabling scroller for fullscreen apps Apr 18 19:29:19 check your stage-assistant.js Apr 18 19:29:23 now there are some people Apr 18 19:29:24 anybody here? Apr 18 19:29:27 Sweet! Apr 18 19:29:27 lol Apr 18 19:29:30 :D Apr 18 19:29:30 I wasn't even aware of that :) Apr 18 19:29:40 so, folks Apr 18 19:29:44 I'm just pushing my scenes, with no parameter Apr 18 19:29:49 I'm ready to publish my game to the app catalog Apr 18 19:29:51 BUT Apr 18 19:30:03 I need to get this cookie storage working Apr 18 19:30:15 to store ONE var! Apr 18 19:30:17 oh, mememe Apr 18 19:30:19 ok go for it Apr 18 19:30:52 question Apr 18 19:31:03 should I send a var to the cookie? or a JSON object? Apr 18 19:31:22 you put in a javascript object Apr 18 19:31:26 http://webos101.com/Mojo.Cookie#A_Cookie_Bakery_Example Apr 18 19:32:23 lets you use an object, but can set individual props and still keep the cookie(s) synched Apr 18 19:33:33 long story short, Mojo.Model.Cookie takes plain old objects... which means you can put whatever you feel like in there, as long as it isn't really huge Apr 18 19:37:47 you guise Apr 18 19:38:08 I seem to be having a real problem understanding the cookie obj Apr 18 19:38:10 dunno why Apr 18 19:38:15 it's weird Apr 18 19:38:28 you always make a "new" one Apr 18 19:38:30 if I have a one scene app, do I place it in the stageassistant Apr 18 19:38:36 or the mainassistant? Apr 18 19:38:46 I would put it in my stage assistant Apr 18 19:39:01 do I initialize it as a global object? or inside of a function? Apr 18 19:39:37 well, I usually end up making them global objects Apr 18 19:39:49 that way it's easy to get to in other scenes/functions Apr 18 19:40:06 a "global" object as part of a namespace I set up for the app Apr 18 19:40:07 yeah so how would I access it in my other assistant? Apr 18 19:40:31 just as if it were another object? Apr 18 19:40:33 Imagine you had this in your stage asst: Apr 18 19:40:42 var MyNamespace = {}; Apr 18 19:40:52 yes'n Apr 18 19:41:25 then you can do something like: MyNamespace.cookie = new Mojo.Model.Cookie('theCookie); Apr 18 19:41:30 anywhere Apr 18 19:41:49 and anywhere after you can MyNamespace.cookie.get().someProperty; Apr 18 19:42:08 (as long as that property was in the cookie, of course) Apr 18 19:43:19 now the cookie obj will check for the property, but if it isn't there is it going to throw some sort of error? Apr 18 19:43:50 yeah, you should check to see if it's undefined or not Apr 18 19:46:03 hmm, thanks Apr 18 19:46:05 I will try this Apr 18 19:46:25 take a look at that link, I made it easy Apr 18 19:46:44 just change the cookie objects inside the Bakery to match what you need Apr 18 19:47:39 hmm.. actually it scrolls, but only vertically.. Apr 18 19:47:49 not horizontally.. Apr 18 19:48:39 alexfner: the NUMBER ONE PROBLEM I had with cookies was I didn't understand that if you try to just write one property to it, it overwrites the WHOLE thing Apr 18 19:50:20 is there a way to make it scroll horizontally ? Apr 18 19:50:59 if it goes wide, it should automatically :s Apr 18 19:51:09 you can add your own horizontal scroller Apr 18 19:51:20 the Scroller widget Apr 18 19:53:47 well, it doesn't Apr 18 19:54:03 created a 1000px wide div Apr 18 19:54:09 seems like for horizontal scrollers, you have to set its width to actually make it scroll Apr 18 19:54:10 I can't scroll horizontally.. Apr 18 19:54:24 what do you mean ? Apr 18 19:54:30 never used "scrollers".. Apr 18 19:54:36 oh, it's a widget Apr 18 19:54:46 well, I don't want a widget Apr 18 19:54:59 just wanna be able to scroll, just like i would do on a zoomed webpage Apr 18 19:55:01 is it possible ? Apr 18 19:55:02 then I guess you ain't scrolling horizontally :D Apr 18 19:55:11 of course I am not Apr 18 19:55:17 I'm asking how to do that.. Apr 18 19:55:30 (by "scrollign", I mean: tap, maintain, then move right/left) Apr 18 19:56:02 right, what I'm saying is...it sounds like you need to use a Scroller widget div in your scene's html, so that you can scroll the content horizontally Apr 18 19:56:24 ok, so it doesn't automatically ? Apr 18 19:56:27 I thought it did.. Apr 18 19:56:31 alright: how do I do that ? Apr 18 19:56:40 wait Apr 18 19:56:47 the 1000px wide div you made Apr 18 19:56:55 did it have enough content to actually need to scroll? Apr 18 19:57:03 like beyond 320px wide? Apr 18 19:57:25 yes Apr 18 19:57:59 i hate photoshop Apr 18 19:58:01 strange, the last I checked, the mode for the scene scroller is dominant, which means it should scroll vert and horiz Apr 18 19:58:09 okay, anyway Apr 18 19:58:29 to add a Scroller widget, it's pretty simple....have you used other widgets? Apr 18 19:59:23 BigBiff: me, too...mostly I hate the fact that I suck as an artist and have no clue what I'm trying to accomplish/should be looking at in Gimp or PS. Apr 18 19:59:31 BigBiff, why ? Apr 18 19:59:37 no Apr 18 19:59:42 cause i use it once every 3 years Apr 18 19:59:49 and forget everything i learned Apr 18 19:59:59 well, that's the problem with most apps Apr 18 20:00:02 warpdesign: okay, you need to read up some documentation on widgets, their attributes and models Apr 18 20:00:02 ;) Apr 18 20:00:15 but basically, the widget is just a div Apr 18 20:00:21 seems to be complicated.. guess I'll past over this one.. Apr 18 20:00:41 warpdesign: widgets are integral to most webOS applications Apr 18 20:00:46 this is one of the simpler ones Apr 18 20:00:47 just wanted to be able to test my landscape app... without having to rotate the display, since it's impossible to test that in the emulator Apr 18 20:00:51 trying to create a simple border image Apr 18 20:00:52 hehe Apr 18 20:01:01 "can not edit on current layer" Apr 18 20:01:03 bah Apr 18 20:01:09 press esc Apr 18 20:01:23 or duplicate it if it's a background layer Apr 18 20:03:14 sugardave, having a look at the inspector it seems it's normal.. Apr 18 20:03:53 sugardave Apr 18 20:03:54 thank you Apr 18 20:03:56 got it working Apr 18 20:04:01 alexfner: awesome Apr 18 20:04:07 not that you ever doubted me! Apr 18 20:04:09 :D Apr 18 20:04:13 heh Apr 18 20:04:43 sugardave, the body has the palm-default class, and its width is set to 320px... Apr 18 20:05:08 right, do you see the top div with an id of ....SceneScroller Apr 18 20:05:09 ? Apr 18 20:05:22 there isn't Apr 18 20:05:32 er Apr 18 20:05:39 scene-name-scene-scroller Apr 18 20:05:43 but there will never be, since the body has a fixed width of 320px Apr 18 20:05:58 mojo-scene-name-scene-scroller Apr 18 20:06:00 oh, it's there Apr 18 20:06:08 unless you push the scene with it disabled Apr 18 20:06:15 hah, and now it comes back Apr 18 20:06:30 oh yeah, I see that, sorry Apr 18 20:06:37 what is its width? Apr 18 20:06:55 it's computed width is 320px, since the body has its width fixed.. Apr 18 20:07:35 I should remove the limit in the body I guess Apr 18 20:07:54 are you setting it in css or something? Apr 18 20:09:03 no Apr 18 20:09:07 I'm not touching palm stuff Apr 18 20:09:18 just have my div in the scene, with width of 1000px Apr 18 20:09:37 but it's easy, just create a new project, add just a did, set its width to something wider than 300px.. Apr 18 20:09:44 I haven't got anything more in my app now Apr 18 20:09:48 320px I mean Apr 18 20:11:17 a div* Apr 18 20:14:47 hey, any german speakers in here? Apr 18 20:15:30 what does this mean: Es macht Spaß und ist auch eine Herausforderung. Damit werd ich einige Zeit verbringen! Apr 18 20:16:38 * swisstomcat raises his paw Apr 18 20:16:43 "It's fun and a challenge. I'll spend more time with it" Apr 18 20:16:52 dthought beat me Apr 18 20:16:57 nice, thanks! Apr 18 20:17:02 nasty nickserv Apr 18 20:17:17 "i'm going to spend some time with it" to be precise :) Apr 18 20:17:29 swisstomcat: oh. right. Apr 18 20:20:40 does block screen timeout not work on 1.4.1? Apr 18 20:21:05 does anyone know how to being notified of phone calls/sms/... ? Apr 18 20:28:35 not in fullscreen Apr 18 20:28:39 ;p Apr 18 20:33:06 warpdesign: you can test landscape in emu Apr 18 20:33:45 haeffb_pre, since switch to landscape mode rotates the window display, explain me how am I supposed to test it correctly ;) Apr 18 20:33:55 (without rotating my computer's screen/display) Apr 18 20:34:00 switching* Apr 18 20:34:04 ping roy-pre101 Apr 18 20:34:10 or my head ;) Apr 18 20:34:21 but then making the gestures is not easy ;) Apr 18 20:34:40 warpdesign: running windows? Apr 18 20:35:14 Tibfib, yes, but don't ask me to change my screen's orientation in my gfx board settings page Apr 18 20:35:17 if so, do ctrl + alt + direction Apr 18 20:35:20 cause I won't do that.. Apr 18 20:35:50 this isn't practicable Apr 18 20:36:30 it's the best you're gonna get Apr 18 20:39:07 it's not practicable Apr 18 20:39:21 when I go back to eclipse and switch again ? and again ? Apr 18 20:39:27 this is absolutely unpracticable.. Apr 18 20:39:54 not to mention I'm not sure mouse events won't be rotated as well.. so gestures aren't doable.. Apr 18 20:44:58 http://uploads.precentral.net/homebrew-apps/done-toodledo Apr 18 20:45:07 Only took three days... Apr 18 20:46:00 yeah, saw it Apr 18 20:53:18 haeffb: the app looks pretty, nice job Apr 18 20:55:16 thanks Apr 18 21:02:40 haeffb: what did you use for the top menu/dropdown menus ? Apr 18 21:04:00 warpdesign: if all you have is a div with width=1000px, that isn't going to cut it...you'll need some content inside that div that goes beyond 320px Apr 18 21:04:03 unless I misunderstood you Apr 18 21:04:30 there is content Apr 18 21:04:52 goodnight everyone Apr 18 21:04:53 and what, it's just cut off? Apr 18 21:04:55 night Apr 18 21:05:04 listSelectors Apr 18 21:05:10 it's cut off Apr 18 21:05:17 but more importantly, it doesn't automatically scroll Apr 18 21:05:23 as the top/bottom does Apr 18 21:05:29 haeffb: why would the scene scroller not go horizontal? Apr 18 21:05:37 Tibfib: also thanks for the tip on paint.net. *much* easier to use than GIMP Apr 18 21:05:51 cya Apr 18 21:06:40 haeffb: no problem! Apr 18 21:07:01 what is it's mode? Apr 18 21:07:19 default is dominant or free I think Apr 18 21:07:38 honestly, I haven't looked, but it default goes both ways, as it were Apr 18 21:07:40 for a scene-scroller? Apr 18 21:07:44 yeah Apr 18 21:08:04 try disabling the scene scroller and adding your own. Apr 18 21:08:31 * haeffb doesn't know how much control you have over the scene scroller Apr 18 21:08:54 haeffb: I tried to get him to add a Scroller widget... Apr 18 21:09:05 or her Apr 18 21:09:08 can't be sexist Apr 18 21:09:25 ok, let's try that then.. the thing is is that's just for debug.. can't waste time on that... Apr 18 21:09:30 but if it's easy that's ok Apr 18 21:09:33 (it's him btw ;)) Apr 18 21:11:08 scrollers are easy to set up Apr 18 21:14:52 warpdesign: what happens when your 1000px div is inside a 320px div? Apr 18 21:15:18 I'll try that Apr 18 21:15:29 let's create a new scene and see.. Apr 18 21:16:52 same thing Apr 18 21:16:56 can't scroll Apr 18 21:16:59 try overriding the palm body div width Apr 18 21:17:06 I already tried that Apr 18 21:17:10 this doesn't change Apr 18 21:17:13 ah, ok. Apr 18 21:17:39 no one ever used horizontal scrolling ? :) Apr 18 21:18:03 not I Apr 18 21:39:08 ok Apr 18 21:39:20 so, how do I set up a scroller widget ? Apr 18 21:46:21 bmy Apr 18 21:46:24 ers Apr 18 21:46:27 Bmyers Apr 18 21:46:32 hi Apr 18 21:46:44 hae Apr 18 21:46:45 ffb Apr 18 21:46:53
Apr 18 21:46:54
Apr 18 21:47:20 this.controller.setupWidget('tasks_scroller', {mode: 'vertical'}); Apr 18 21:48:03 ok Apr 18 21:48:30 mode vertical is redundant i think but you close the div i assume Apr 18 21:48:32 css: http://www.pastie.org/926218 Apr 18 21:49:17 * haeffb having FilterList issues. Apr 18 21:49:38 whats wrong with the scroller? Apr 18 21:49:41 [20100418-16:36:05.906799] info: Widget taskListing Apr 18 21:49:41 [20100418-16:36:06.003705] info: INFO: modelChanged() was called while processing a previous model change. This is often Apr 18 21:49:41 unintended. Apr 18 21:49:54 nothing. warpdesign wanted to know how to set up a scroller Apr 18 21:49:58 o Apr 18 21:50:25 I set up my FilterList with an empty items array. Apr 18 21:50:40 then add items and call modelChanged. but it doesn't seem to like that. Apr 18 21:53:24 Done is on precentral. finally. Apr 18 21:59:11 congrats on done. decided to wait it out huh? Apr 18 22:01:48 hmm.. Apr 18 22:02:26 warpdesign: here's the basics: http://webos101.com/Scroller Apr 18 22:02:35 use mdoe horizontal instead, obviously Apr 18 22:02:37 haeffb: you wrap your div inside the scroller, right ? Apr 18 22:02:39 thanks Apr 18 22:02:41 I'll read it Apr 18 22:02:46 yes Apr 18 22:02:46 yes Apr 18 22:03:40 but I need two divs ? Apr 18 22:03:59 the scroller div wraps your content that you want to scroll Apr 18 22:05:13 not necessarily Apr 18 22:05:40 I just had two Apr 18 22:10:38 ok, it works with the scrollet widget added/setup Apr 18 22:10:49 otherwise it won't scroll horizontally Apr 18 22:10:51 great Apr 18 22:13:47 thanks ! Apr 18 22:15:25 haeffb: havent done a filter list yet.. Apr 18 22:16:22 I have a couple of times. same code doesnt' work here. Apr 18 22:16:34 gonna punt that for now and come back to it later Apr 18 22:16:58 got a pair of filet mignons in the smoker and a bottle of Sam's Noble Pils in front of me. Apr 18 22:17:28 Myles: 200 T=$: 204 Apr 18 22:26:37 https://developer.palm.com/index.php?option=com_content&view=article&id=1897 Apr 18 22:37:36 * haeffb wonders if MD5 counts... Apr 19 01:22:34 Anyone familiar with Mojo.event.listadd Apr 19 01:24:15 CTLAdvance: what about it? Apr 19 01:24:25 yes Apr 19 01:24:29 listAdd Apr 19 01:24:45 Do you know how its used? listAdd(properties) Apr 19 01:25:10 or listAdd = {value"x"} Apr 19 01:25:59 event that is called when you have the addItemLabel property in the list. Apr 19 01:26:39 er. attribute Apr 19 01:26:59 Oh crap yeah your right I read that wrong. Thats why I have no clue :) Apr 19 01:27:31 MyAssistant.prototype.listAdd = function (event) {...} Apr 19 01:27:56 Yeah I know what you mean Apr 19 01:28:04 I missed that that was an event type Apr 19 01:28:21 looking for noticeAddedItems ? Apr 19 01:28:26 I guess to add list items, I could just change the list model and setup again Apr 19 01:29:01 no need to setupWidget again Apr 19 01:29:13 just modelChanged Apr 19 01:29:52 or even noticeAddedItems...although I haven't actually used that one. Apr 19 01:31:29 Yeah, thanks! Apr 19 01:40:27 are there any features not in the current Facebook Beta that will be in Facebook for WebOS 1.2 Apr 19 01:57:13 hmm this is interesting, this.controller.modelChanged isnt working Apr 19 02:12:19 haeffb still here? Apr 19 02:12:48 he's not /that/ old Apr 19 02:13:05 Ok, in all fairness, I read that as "haeffb still alive?" Apr 19 02:13:11 not sure how i managed that. Apr 19 02:13:15 hah Apr 19 02:13:28 Yeah Apr 19 02:13:40 Right, the scotch. Apr 19 02:13:44 or zsoc maybe you can answer this... if you have amoment Apr 19 02:13:47 single malt. good stuff Apr 19 02:13:59 CTLAdvance: I can try, but I'm pretty much a js/mojo nublet Apr 19 02:14:07 bah Apr 19 02:14:14 but shoot Apr 19 02:14:17 ok Apr 19 02:14:17 Well Apr 19 02:15:00 I have this.modelname.items = { items: [ items ]}; Apr 19 02:15:02 and I call Apr 19 02:15:19 this.controller.modelChanged(this.modelname) Apr 19 02:15:23 and nothing happend Apr 19 02:15:29 not even an error Apr 19 02:16:02 well, you have to change something Apr 19 02:16:04 what are you changing? Apr 19 02:18:20 A list Apr 19 02:18:28 I want to change out all of the list items Apr 19 02:20:21 what is you syntax for those changes Apr 19 02:20:44 and is this all in the same scene assist? Apr 19 02:22:38 yes, same scene, different function than setup and syntax is pretty much the same Apr 19 02:22:41 list loads fine Apr 19 02:22:58 this.imgModel.items = { items: [ Apr 19 02:22:59 Apr 19 02:22:59 {sitem:linklist[0], value:"0"} Apr 19 02:23:09 ] Apr 19 02:23:11 } Apr 19 02:23:34 this.controller.modelChanged(this.imgModel) Apr 19 02:26:25 haeffb: fix his thingy Apr 19 02:29:38 yeah this is wierd, I can do this with my command menu Apr 19 02:29:44 but not with my list Apr 19 02:32:33 wow I seemed to have gotten it Apr 19 02:32:38 this is wierd Apr 19 02:32:50 ok well I fixed it I guess :) Apr 19 02:35:28 For some reason I had it embeded in my ajax response action and it didnt work so now I removed it and its fine Apr 19 02:36:44 interesting Apr 19 02:41:29 yES VERY Apr 19 02:41:36 actually this is a bad thing Apr 19 02:41:42 because I cant do what I wanted to **** ENDING LOGGING AT Mon Apr 19 02:59:56 2010