| 01:29:24 | *** [OmegentooX] has joined #openmrs |
| 01:29:24 | *** ChanServ sets mode: +v [OmegentooX] |
| 01:36:18 | *** [OmegentooX] has quit IRC |
| 01:40:42 | *** [OmegentooX] has joined #openmrs |
| 01:40:42 | *** ChanServ sets mode: +v [OmegentooX] |
| 02:01:45 | *** [OmegentooX] has quit IRC |
| 03:29:11 | *** cancerb0y has joined #openmrs |
| 04:05:44 | *** cancerb0y has quit IRC |
| 04:28:32 | *** cancerb0y has joined #openmrs |
| 04:29:52 | *** sioraiocht has joined #openmrs |
| 04:46:01 | *** TorLye has joined #openmrs |
| 05:02:31 | *** cancerb0y has quit IRC |
| 05:06:39 | *** cancerb0y has joined #openmrs |
| 05:20:41 | *** TorLye_ has joined #openmrs |
| 05:22:15 | *** TorLye has quit IRC |
| 05:49:13 | *** cancerb0y has quit IRC |
| 06:00:26 | *** sioraiocht has quit IRC |
| 08:46:43 | *** TorLye_ has quit IRC |
| 09:59:37 | <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #859 (defect created): syncing concepts through form import/export breaks when concept classes don't match <http://dev.openmrs.org/ticket/859> |
| 10:00:18 | *** njero has joined #openmrs |
| 10:00:18 | *** ChanServ sets mode: +v njero |
| 10:06:08 | *** njero has quit IRC |
| 10:31:23 | *** sioraiocht has joined #openmrs |
| 11:13:20 | *** r0bby_ has joined #openmrs |
| 11:29:04 | *** r0bby has quit IRC |
| 11:34:34 | *** cancerb0y has joined #openmrs |
| 11:46:02 | *** atomicturtle has quit IRC |
| 12:00:02 | <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #860 (defect created): syncing concepts through form import/export breaks when concept has synonyms <http://dev.openmrs.org/ticket/860> |
| 12:08:24 | *** atomicturtle has joined #openmrs |
| 12:17:12 | *** [OmegentooX] has joined #openmrs |
| 12:17:12 | *** ChanServ sets mode: +v [OmegentooX] |
| 12:52:10 | *** r0bby_ has quit IRC |
| 12:55:07 | *** r0bby has joined #openmrs |
| 12:55:10 | *** ChanServ sets mode: +v r0bby |
| 13:00:14 | <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #861 (defect created): snycing concepts still doesnt order concept answers right <http://dev.openmrs.org/ticket/861> |
| 13:05:57 | *** crazee has quit IRC |
| 13:28:56 | *** TorLye has joined #openmrs |
| 14:00:26 | <r0bby> TorLye: how goes the project |
| 14:04:57 | <TorLye> good afternoon, r0bby |
| 14:05:14 | <TorLye> to answer your question: most excellent at the moment |
| 14:05:42 | <TorLye> it seems that the legal issues relating to Google Maps API are resolved |
| 14:06:22 | <r0bby> google made an exception? |
| 14:07:46 | <r0bby> are YOU using DWR for your project |
| 14:07:59 | <TorLye> I don't know the details... my mentor, mike seaton, met LH at the HISA conference in south africa. She gave the green light to continue |
| 14:08:38 | <r0bby> lh has a lot of respect for paul/burke |
| 14:09:24 | <r0bby> Mine is going meh |
| 14:11:12 | <TorLye> meh, as in "it's moving along, but with a few issues"? |
| 14:11:28 | <r0bby> Once i can get the return value meh as in im not getting the return values i wnat |
| 14:11:36 | <r0bby> s/Once/meh/ |
| 14:12:05 | <r0bby> meh as in im not getting the return value i want from my DWR service class |
| 14:14:20 | <TorLye> I see... any ideas of the cause? or are you just hunting for clues at the moment? |
| 14:33:34 | <r0bby> I *DID* write the service using groovy |
| 14:43:19 | <TorLye> I'm afraid I don't follow you |
| 15:13:25 | <r0bby> TorLye: in DWR you have to write a class that communicates with your backend code (java/groovy or whatever) |
| 15:13:31 | <r0bby> that class is a service class |
| 15:20:40 | *** bwolfe has joined #openmrs |
| 15:20:40 | *** ChanServ sets mode: +o bwolfe |
| 15:21:12 | <TorLye> okay. your earlier comment seemed to imply that your DWR troubles was related to the fact that the service class is implemented using groovy. ...or perhaps I misunderstand. |
| 15:57:29 | <r0bby> bwolfe: whoa fats |
| 15:57:38 | <r0bby> i dont know |
| 15:57:39 | <r0bby> ben |
| 15:57:41 | <bwolfe> what? |
| 15:57:48 | <bwolfe> "whoa fats" ?? |
| 15:57:50 | <r0bby> I'm having trouble w/ DWR |
| 15:58:05 | <bwolfe> right, just saw your email |
| 15:58:07 | <r0bby> 1) if i use dwr.util.setValue(..) it complains |
| 15:58:07 | <bwolfe> what kind of trouble? |
| 15:58:16 | <r0bby> that it doesn't exist why? |
| 15:58:34 | <r0bby> 2) I can't get the return value (String) from my DWR service method |
| 15:58:49 | <r0bby> Should i commit or pastebin? |
| 15:59:04 | <r0bby> (i'm not ready to commit, i learned from being yelled at :P) |
| 16:00:33 | <bwolfe> do you know how the return values work ? |
| 16:00:48 | <r0bby> :( |
| 16:00:51 | <bwolfe> dwr calls a function that you give it. you give that function as either the first or last argument in the dwr javascript call |
| 16:01:29 | <bwolfe> the first (only) parameter in that function is the return value |
| 16:01:37 | <r0bby> ah |
| 16:01:49 | <bwolfe> its all asynchronous |
| 16:02:10 | * r0bby is confused |
| 16:02:17 | <r0bby> it's not the return value of the method? |
| 16:02:29 | <r0bby> How do i get the return value of the method? |
| 16:02:35 | <r0bby> http://eugeneciurana.com/pastebin/pastebin.php?show=27002 |
| 16:02:37 | <OpenMRSBot> <http://ln-s.net/1xJw> (at eugeneciurana.com) |
| 16:02:42 | <bwolfe> var bob = myDWRService.doSomeStuff('asdf', 'asdf'); is invalid |
| 16:02:44 | <r0bby> ^^ the method im calling from the DWR Service |
| 16:03:18 | <r0bby> var msg = DWRGroovyFormsService.checkSyntax(document.getElementById("groovyModel").innerHTML) |
| 16:03:21 | <bwolfe> myDWRService('asdf', 'asdf', function seeReturnValue(rValue) { document.write(rValue); }); is valid |
| 16:03:21 | <r0bby> that's what i have |
| 16:03:45 | * r0bby is confused as hell |
| 16:03:54 | * r0bby goes to read dwr docs? |
| 16:04:19 | <bwolfe> javascript has function/method pointers (similar to groovy) |
| 16:04:37 | <bwolfe> you pass that pointer to the dwr service call you're making |
| 16:04:54 | <r0bby> wait where does rValue come from? |
| 16:04:57 | <bwolfe> when dwr gets a return from the java method in your dwrservice, it will call the javascript function that you told it to call |
| 16:05:02 | <r0bby> is it a pointer? |
| 16:05:14 | <r0bby> I've been going crazy |
| 16:05:16 | <bwolfe> rValue is the first argument in the seeReturnValue function I defined in-line |
| 16:05:33 | <r0bby> ah thank you |
| 16:06:49 | <r0bby> so seeReturnValue is a method of DWR? |
| 16:07:14 | <bwolfe> no, I made that up |
| 16:07:32 | <r0bby> sarcasm doesn't come through well in these tubes |
| 16:07:40 | <bwolfe> it could be joeBobFred(asdf) { /* do stuff with asdf */ }; |
| 16:07:42 | <r0bby> so state your intent |
| 16:07:59 | <r0bby> OH so i need a closure basically |
| 16:08:05 | <r0bby> a callback basically |
| 16:08:11 | <bwolfe> my sarcasm will come with some sort of smiley face 90% of the time |
| 16:08:21 | <bwolfe> yes, you pass in a closure |
| 16:08:26 | <r0bby> okay |
| 16:08:28 | <bwolfe> you can do: |
| 16:08:37 | <r0bby> having groovy/closure background helps here :) |
| 16:08:58 | <bwolfe> var myFunction = function joeBobFred(asfd) { \n do stuff; \n do more stuff;\n }; |
| 16:09:09 | <bwolfe> myDWRService('asdf', 'asdf', myFunction); |
| 16:10:12 | <r0bby> okay thank you :) |
| 16:11:01 | <bwolfe> np |
| 16:14:26 | <cancerb0y> bwolfe hai ben atlast after a week i see you online... hope ur SA trip was awesome :P |
| 16:15:06 | <bwolfe> cancerb0y: it was good, yes |
| 16:15:09 | <bwolfe> very productive |
| 16:15:18 | <bwolfe> ...but its nice to be home |
| 16:15:41 | <cancerb0y> bwolfe cool... i ve a prob with DWRUtil |
| 16:16:19 | <r0bby> bwolfe: sorry |
| 16:16:20 | <cancerb0y> bwolfe the transactions are perfect but i ve problems with functions like setValue() removeAllOptions() |
| 16:16:37 | <r0bby> bwolfe: i used bwolfe for publishing and unpublish forms :) |
| 16:16:45 | <r0bby> I didnt need to deal w/ return types there |
| 16:17:01 | <r0bby> I have a nice flow chart on my whiteboard here for creating forms |
| 16:17:05 | <r0bby> I wrote it yesterday :) |
| 16:17:21 | <r0bby> or maybe friday |
| 16:17:42 | <cancerb0y> the problem is function $ doesnt read my element by its Id.... it returns it as null (undefined) |
| 16:17:58 | <r0bby> cancerb0y: take the advice he just gave me |
| 16:18:07 | <r0bby> look up on the DWR site callbacks |
| 16:18:28 | <r0bby> http://www.directwebremoting.org/dwr |
| 16:19:08 | <r0bby> bwolfe: now why is it saying dwr.util.* doesn't exist? |
| 16:19:21 | <r0bby> my next question |
| 16:19:56 | <cancerb0y> r0bby because its not dwr.util its DWRUtil |
| 16:20:14 | <r0bby> cancerb0y: but on the site it says dwr.util! |
| 16:20:25 | <r0bby> ffs |
| 16:20:28 | <r0bby> update your shit :| |
| 16:20:35 | <r0bby> (DWR not you) |
| 16:20:37 | <cancerb0y> r0bby but in the util.js it says DWRUtil |
| 16:20:48 | <r0bby> it makes no sense though |
| 16:21:04 | <r0bby> DWRUtil.* works for you? |
| 16:21:11 | <cancerb0y> r0bby yeah pretty fine |
| 16:21:37 | <cancerb0y> r0bby where's my answer?? u said ben answered u... i scrolled up nothing was there... |
| 16:22:13 | <cancerb0y> r0bby my prob is my transactions are fine but these native dwr functions are annoyin me |
| 16:30:19 | <r0bby> Oh okay |
| 16:30:21 | <r0bby> thanks :) |
| 16:38:59 | <bwolfe> sorry, neighbor stopped by |
| 16:39:16 | <bwolfe> r0bby / cancerb0y: yeah, we have an older version of dwr |
| 16:39:28 | <bwolfe> but anymore, I'm living by "if it ain't broke, don't fix it" |
| 16:39:58 | <r0bby> so how do I use it |
| 16:40:02 | <r0bby> DWRUtil? |
| 16:40:05 | <bwolfe> cancerb0y: if $ isn't working, you can still use the plain old javascript thing of document.getElementById('asdf') |
| 16:40:19 | <bwolfe> $('asdf') == document.getElementById('asdf') |
| 16:40:37 | <r0bby> Burke's groovy plugin is borked |
| 16:40:44 | <r0bby> pidgin is busted |
| 16:40:45 | <bwolfe> r0bby: its a normal javascript library...just call its methods |
| 16:40:51 | <r0bby> I did |
| 16:40:57 | <r0bby> it copmplains dwr doesn't exist |
| 16:41:07 | <r0bby> it it wont let me do dwr.util.setValue... |
| 16:41:13 | <r0bby> it it wont let me do dwr.util.setValue(...) |
| 16:47:35 | <bwolfe> r0bby: cancerb0y already told you the answer |
| 16:47:47 | <bwolfe> its DWRUtil.setValue(), _not_ dwr.util.setValue() |
| 16:48:00 | <bwolfe> a search through openmrs core for DWRUtil shows it being used as such |
| 16:48:23 | <bwolfe> r0bby: when in doubt, search openmrs for how its used. if its in openmrs core, its in there because its being used. :-) |
| 16:48:55 | <r0bby> i got it :) |
| 16:48:58 | <r0bby> okay |
| 16:49:12 | * r0bby beats pidgin |
| 16:49:13 | *** pearlbear has joined #openmrs |
| 16:49:13 | *** ChanServ sets mode: +v pearlbear |
| 16:49:56 | <r0bby> my system's resources are being blown away by IDEA |
| 16:50:56 | *** TorLye has quit IRC |
| 16:54:12 | <r0bby> thunderbird, firefox and IDEA |
| 16:54:15 | *** sioraioc_ has joined #openmrs |
| 16:54:18 | <r0bby> three most resource heavy things |
| 16:56:45 | *** bwolfe is now known as bwolfe_away |
| 17:07:29 | *** sioraiocht has quit IRC |
| 17:18:06 | * cancerb0y goes to bed |
| 18:00:13 | <r0bby> lame |
| 18:01:27 | <r0bby> ben thank you so much |
| 18:52:20 | * r0bby mutters obscene things |
| 19:03:28 | <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [4659]: trunk. Added comments for the javadoc to the Cohort object for ⦠<http://dev.openmrs.org/changeset/4659> || OpenMRS Changesets: Changeset [4658]: initial commit for patient notes module <http://dev.openmrs.org/changeset/4658> |
| 20:24:55 | *** pearlbear has quit IRC |
| 20:25:16 | *** pearlbear has joined #openmrs |
| 20:25:17 | *** ChanServ sets mode: +v pearlbear |
| 20:40:57 | *** pearlbear has quit IRC |
| 21:17:23 | <r0bby> bwolfe_away: please be alive |
| 21:17:27 | <r0bby> :( |
| 21:21:28 | *** bwolfe_away is now known as bwolfe_bedtime |
| 21:21:30 | <bwolfe_bedtime> yessir ? |
| 21:23:10 | *** nribeka has joined #openmrs |
| 21:25:41 | *** bwolfe_bedtime has quit IRC |
| 21:33:07 | <r0bby> :| |
| 21:33:13 | <r0bby> YES! |
| 21:33:16 | <r0bby> i finally got it |
| 22:05:38 | *** upul has joined #openmrs |
| 22:21:06 | <r0bby> upul: o/ |
| 22:21:43 | <upul> Hi |
| 22:21:54 | <upul> r0bby |
| 22:57:50 | <r0bby> writing my i/o stuff in groovy is handy :) |