| [00:32:39] |
*** |
pombreda has joined #openmrs |
| [00:32:39] |
*** |
ChanServ sets mode: +v pombreda |
| [01:14:50] |
*** |
crazee has joined #openmrs |
| [01:14:51] |
*** |
ChanServ sets mode: +v crazee |
| [02:14:39] |
*** |
sioraiocht has joined #openmrs |
| [02:27:59] |
*** |
sioraioc_ has quit IRC |
| [02:39:04] |
*** |
nribeka_ has quit IRC |
| [02:47:13] |
*** |
upul has quit IRC |
| [02:55:34] |
*** |
maveriick has joined #openmrs |
| [03:24:30] |
*** |
TorLye has joined #openmrs |
| [04:24:50] |
*** |
crazee has quit IRC |
| [04:47:07] |
*** |
crazee has joined #openmrs |
| [04:47:07] |
*** |
ChanServ sets mode: +v crazee |
| [05:30:02] |
*** |
sioraiocht has quit IRC |
| [06:01:00] |
*** |
upul has joined #openmrs |
| [06:08:30] |
*** |
maveriick has quit IRC |
| [06:35:48] |
*** |
crazee has quit IRC |
| [06:41:28] |
*** |
upul has quit IRC |
| [07:04:20] |
*** |
bwolfe has joined #openmrs |
| [07:04:20] |
*** |
ChanServ sets mode: +o bwolfe |
| [07:05:08] |
*** |
james_regen has joined #openmrs |
| [07:05:08] |
*** |
ChanServ sets mode: +v james_regen |
| [07:45:38] |
*** |
atomicturtle1 has quit IRC |
| [07:58:59] |
<OpenMRSBot> |
Recent updates in the world of openmrs: OpenMRS Forum: Re: Reporting Tutorial at HISA <http://forum.openmrs.org/viewtopic.php?f=12&t=382#p1270> |
| [08:13:49] |
*** |
atomicturtle has joined #openmrs |
| [08:20:51] |
*** |
upul has joined #openmrs |
| [08:32:22] |
*** |
upul has quit IRC |
| [08:37:09] |
*** |
nribeka has joined #openmrs |
| [08:59:14] |
<OpenMRSBot> |
Recent updates in the world of openmrs: Tor Lye: Gentlemen, you can't fight in here! This is the War Room! <http://tor-soc.blogspot.com/2008/07/gentlemen-you-cant-fight-in-here-this.html> |
| [09:23:43] |
*** |
bwolfe_ has joined #openmrs |
| [09:23:43] |
*** |
ChanServ sets mode: +o bwolfe_ |
| [09:23:55] |
*** |
bwolfe has quit IRC |
| [10:31:49] |
*** |
bwolfe_ has quit IRC |
| [10:31:57] |
*** |
bwolfe_ has joined #openmrs |
| [10:31:57] |
*** |
ChanServ sets mode: +o bwolfe_ |
| [10:51:11] |
*** |
crazee has joined #openmrs |
| [10:51:11] |
*** |
ChanServ sets mode: +v crazee |
| [10:59:27] |
*** |
rfoecking has quit IRC |
| [11:13:25] |
<r0bby> |
bwolfe_: Mark Benscoter had mentioned the dev call -- how do i get in on it? |
| [11:16:35] |
*** |
TorLye has left #openmrs |
| [11:20:40] |
*** |
TorLye has joined #openmrs |
| [11:45:56] |
<bwolfe_> |
r0bby: it was a few hours ago. we will be sending out an email officially inviting people soon |
| [11:48:21] |
*** |
bwolfe_ is now known as bwolfe |
| [11:50:16] |
<r0bby> |
ah pl |
| [11:50:19] |
<r0bby> |
ah ok |
| [11:54:47] |
* |
r0bby needs his morning joe |
| [11:54:55] |
<bwolfe> |
but its not morning anymore... |
| [11:55:04] |
<r0bby> |
http://feeds.feedburner.com/~r/EnfranchisedMind/~3/324299377/ |
| [11:55:07] |
<OpenMRSBot> |
<http://ln-s.net/20-$> (at feeds.feedburner.com) |
| [11:55:36] |
<r0bby> |
it turns out the bulk of my code is groovy/JS |
| [11:55:55] |
<r0bby> |
w/ my servlet being in groovy which has introduced some interesting problems |
| [11:56:02] |
*** |
atomicturtle has quit IRC |
| [11:56:10] |
*** |
atomicturtle has joined #openmrs |
| [11:56:10] |
<r0bby> |
one of which is where it blows up at runtime |
| [11:56:33] |
<r0bby> |
when i try and send the template back in a plain AJAX call |
| [11:56:49] |
<r0bby> |
it probably has to do w/ how i designed my code |
| [11:58:13] |
<r0bby> |
and i solved my template problem i'm gonna make a map |
| [11:58:42] |
<r0bby> |
Where the key is the variable name; the value is my property container (i explained the logic behind this, and it was for this specific reason) |
| [11:58:51] |
*** |
sunbiz has joined #openmrs |
| [12:05:23] |
* |
r0bby beats sunbiz up |
| [12:05:29] |
<r0bby> |
gimme your lunch money |
| [12:05:55] |
<r0bby> |
I wish i didn't have to deal w/ classpath like i do |
| [12:06:50] |
<sunbiz> |
;) |
| [12:07:13] |
* |
sunbiz launches an A-Bomb on r0bby |
| [12:08:16] |
<sunbiz> |
r0bby: but whats with the classpath ?? |
| [12:08:20] |
*** |
crazee has quit IRC |
| [12:08:39] |
<sunbiz> |
r0bby: u can have that in ur lib-common and lib folders right ?? |
| [12:08:44] |
<r0bby> |
sunbiz: need to get at the OpenMRS domain model objects, as well as the service methods |
| [12:08:58] |
<r0bby> |
sunbiz: yes -- but I still need it while it's actually loaded :) |
| [12:09:15] |
<r0bby> |
ie the GroovyClassLoader *MUST* know everything on the classpath in the parent classloader |
| [12:09:46] |
<r0bby> |
in other news i got jquery goodness :) |
| [12:09:53] |
* |
r0bby drools |
| [12:10:09] |
<sunbiz> |
mustn't b a prob... use a bean to access all the classes u need... and give Groovy that bean |
| [12:10:43] |
<sunbiz> |
ok... r0bby may b its not the best idea to have all the classes through one bean... scrap that idea into the bean |
| [12:10:46] |
<sunbiz> |
*bin |
| [12:11:00] |
<r0bby> |
no it's not. |
| [12:12:12] |
<r0bby> |
Okay i think i understand how classpath hierarchies work |
| [12:12:45] |
<r0bby> |
in essence the GroovyClassLoader sees everything in th classloader for openmrs. |
| [12:12:59] |
<r0bby> |
which is probably a blessing and a curse |
| [12:14:52] |
<bwolfe> |
r0bby: yes, thats because the openmrsclassloader is the parent of the groovyclasslaoder |
| [12:15:07] |
<bwolfe> |
and a classloader will allow its parent to load the class before it tries to do it itself |
| [12:15:29] |
<bwolfe> |
EXCEPT for the moduleclassloaders...which should be between your groovyclassloader and the openmrsclassloader |
| [12:15:58] |
<bwolfe> |
I made moduleclassloaders so that they will try themselves, then try other modules that are "required" by the module, THEN it tries the openmrsclassloader |
| [12:16:01] |
<r0bby> |
bwolfe: I'm actually hitting a problem w/ that |
| [12:16:15] |
<r0bby> |
how do i get around that? |
| [12:16:29] |
<r0bby> |
directly use tomcat's? |
| [12:17:12] |
<bwolfe> |
call setProbeParentLoaderLast(false) on the moduleclassloader that is between you and the openmrsclassloader |
| [12:17:15] |
<r0bby> |
bwolfe: HEY! I'm just learning about this stuff as I go..this isn't bad :) |
| [12:17:37] |
<r0bby> |
thanks |
| [12:18:08] |
<r0bby> |
bwolfe: I still am gonna do all my work compiling and such in servlets :/ |
| [12:18:36] |
<r0bby> |
I wrote a nice method last night to get out the class name from a class def |
| [12:18:47] |
<r0bby> |
s.substring(" ","{") |
| [12:19:10] |
<r0bby> |
just force certain style on users :) |
| [12:21:09] |
<r0bby> |
bwolfe: if i post to foo.form the controller handles it? |
| [12:21:18] |
<bwolfe> |
yeah |
| [12:21:24] |
<r0bby> |
rather than the servlet |
| [12:21:27] |
<r0bby> |
okay thanks |
| [12:21:35] |
<r0bby> |
just trying to figure this all out |
| [12:22:07] |
<r0bby> |
do you think the map idea would work for retaining field values? |
| [12:22:17] |
<r0bby> |
var name:container |
| [12:22:50] |
<r0bby> |
This is the one problem that i'm facing (oddly enough! solve this and we have a basic system in place -- at least on the backend |
| [12:23:11] |
<r0bby> |
I hope i pass the midterm |
| [12:23:22] |
<r0bby> |
:( |
| [12:23:52] |
<sunbiz> |
r0bby: I think I've reached my midterm stuff |
| [12:24:11] |
<sunbiz> |
mayb some polishing... But I hope brian and justin think its good enough... |
| [12:24:25] |
<sunbiz> |
and bwolfe should have any ugly-code problems... |
| [12:24:30] |
<sunbiz> |
*shouldnt |
| [12:24:38] |
<r0bby> |
I haven't :/ |
| [12:25:08] |
<r0bby> |
I still have some metaprogramming stuff to do (buzz words anyone?) |
| [12:25:38] |
<r0bby> |
can't do bindings; and I haven't the slightest clue how to include code that -- OH!!!!!!!!!!!!! |
| [12:26:05] |
* |
r0bby will define a base-class (this will all be done behind the scenes at the compilation step :) |
| [12:26:29] |
*** |
bmckown has joined #openmrs |
| [12:26:29] |
*** |
ChanServ sets mode: +o bmckown |
| [12:26:40] |
<r0bby> |
class MyFormController extends GroovyFormController { ... } |
| [12:27:19] |
<r0bby> |
I knew writing that silly method to get the class name would come in handy |
| [12:29:01] |
<r0bby> |
now that's solved :D |
| [12:29:04] |
<r0bby> |
woohoo! |
| [12:29:09] |
<r0bby> |
now i'm gonna implement this!!! |
| [12:32:03] |
*** |
sunbiz has quit IRC |
| [12:34:53] |
<r0bby> |
ben aren't you glad im not your intern :) |
| [12:35:46] |
<bwolfe> |
no, its too bad you're not my intern ;-) |
| [12:35:57] |
<bwolfe> |
I'd have whipped you into shape already...burke is too nice. :-D |
| [12:37:30] |
<r0bby> |
you woulda? |
| [12:37:42] |
<r0bby> |
Burke is AWOL as far as my project is concerned :) |
| [12:37:54] |
<r0bby> |
I learned a lot actually |
| [12:37:58] |
<bwolfe> |
yeah, he's been out of touch for a few weeks for all of us |
| [12:38:11] |
<r0bby> |
w/o him there it's forcing me to be independent |
| [12:38:15] |
<bwolfe> |
he's on vacation this week...and attempting to /actually/ vacation without too much emailing :-p |
| [12:38:16] |
<r0bby> |
this will help me a lot later on |
| [12:38:22] |
<bwolfe> |
good :-) |
| [12:38:42] |
<r0bby> |
I wonder if he's doing this on purpose |
| [12:38:45] |
<r0bby> |
or what |
| [12:39:53] |
*** |
pombreda has quit IRC |
| [12:51:00] |
*** |
nribeka_ has joined #openmrs |
| [12:51:30] |
*** |
nribeka has quit IRC |
| [13:09:29] |
*** |
pombreda has joined #openmrs |
| [13:09:29] |
*** |
ChanServ sets mode: +v pombreda |
| [13:28:58] |
*** |
sioraiocht has joined #openmrs |
| [13:31:28] |
*** |
rfoecking has joined #openmrs |
| [13:58:52] |
<r0bby> |
bwolfe: ping |
| [13:59:04] |
<r0bby> |
how do I programmatically get at the ModuleClassLoader? |
| [13:59:20] |
<r0bby> |
nvm, |
| [13:59:24] |
<r0bby> |
ModuleFactory |
| [13:59:44] |
<r0bby> |
api docs++ |
| [14:00:41] |
*** |
atomicturtle has quit IRC |
| [14:04:19] |
<r0bby> |
uh ben |
| [14:04:24] |
<r0bby> |
visibility issue |
| [14:04:44] |
<r0bby> |
setProbeParentClassLoader is protected |
| [14:05:24] |
<r0bby> |
bwolfe: ^ |
| [14:05:33] |
<bwolfe> |
hmm, I wonder why |
| [14:05:50] |
<bwolfe> |
should probably make that public |
| [14:05:58] |
<bwolfe> |
try it out in your code and see if that solves all your issues |
| [14:06:05] |
<bwolfe> |
and then open a ticket with the patch if it does |
| [14:06:12] |
<r0bby> |
mind me changing it and commiting it? |
| [14:06:46] |
<r0bby> |
If you say no, i won't |
| [14:08:14] |
<bwolfe> |
jacobb: what is the "proper" sql standard replacement to the mysql tinyint, do you know? |
| [14:08:22] |
<bwolfe> |
r0bby: no, don't |
| [14:08:25] |
<bwolfe> |
r0bby: ticket |
| [14:08:39] |
<r0bby> |
w/ a patch? |
| [14:09:19] |
<bwolfe> |
yeah, might as well...but its a pretty small patch. :-) |
| [14:09:53] |
<r0bby> |
just out of curiousity |
| [14:09:56] |
<r0bby> |
what will the behavior do? |
| [14:10:41] |
<r0bby> |
will it allow the module to use the original tomcat classloader? |
| [14:10:43] |
<bwolfe> |
r0bby: what behavior? |
| [14:11:14] |
<bwolfe> |
r0bby: did you read the javadoc comment on setProbeParentLoaderLast ? |
| [14:11:36] |
<r0bby> |
yeh |
| [14:11:53] |
<r0bby> |
it's confusing.. |
| [14:12:08] |
<bwolfe> |
"whether or not to look at the parent classloader last" |
| [14:12:18] |
<r0bby> |
what does that mean |
| [14:12:19] |
<bwolfe> |
that means: |
| [14:12:51] |
<bwolfe> |
if probeParentLoaderLast is true: look in moduleclassloader first for a class, then ask the parent classloader |
| [14:13:18] |
<bwolfe> |
if probeParentLoaderLast is false: ask the parent classloader if it knows about the class first, if it doesn't know about a class, look in the moduleclassloader |
| [14:13:29] |
<r0bby> |
Okay that will work |
| [14:17:13] |
<r0bby> |
!ticket 894 |
| [14:17:13] |
<OpenMRSBot> |
r0bby: Ticket #894: http://dev.openmrs.org/ticket/894 |
| [14:17:27] |
<r0bby> |
^ |
| [14:20:00] |
<r0bby> |
this is needed for my current work |
| [14:20:06] |
<r0bby> |
so it's critical to me |
| [14:20:56] |
<r0bby> |
bwolfe: let me know when it's commited |
| [14:23:46] |
<bwolfe> |
r0bby: trac will let you know. :-p |
| [14:23:55] |
<bwolfe> |
r0bby: it migth be a while |
| [14:24:00] |
<bwolfe> |
do it to your locale and keep working. :-) |
| [14:24:10] |
<bwolfe> |
("a while" == ~week) |
| [14:25:06] |
<r0bby> |
meh |
| [14:25:18] |
<r0bby> |
that would require me adding current svn jars |
| [14:26:20] |
* |
r0bby sighs and does that |
| [14:26:41] |
<r0bby> |
i think i need to shower |
| [14:52:22] |
<r0bby> |
ahh yes I got what I want :) |
| [14:53:16] |
<bwolfe> |
a shower? |
| [14:53:20] |
<r0bby> |
No |
| [14:53:27] |
<r0bby> |
the openmrs jars :) |
| [14:54:58] |
<r0bby> |
I hate having to maintain an eclipse classpath file and IDEA |
| [15:16:59] |
<jacobb> |
who's the admin of the openmrs mailing lists? |
| [15:21:34] |
<bwolfe> |
jacobb: burke |
| [15:23:46] |
<r0bby> |
jacobb: wanna bitch about me I swear i didn't mean ti kill that dog |
| [15:26:24] |
*** |
atomicturtle has joined #openmrs |
| [15:26:55] |
<r0bby> |
mmmm classpath |
| [15:28:09] |
*** |
james_regen has quit IRC |
| [15:30:46] |
*** |
bwolfe has quit IRC |
| [15:36:56] |
<OpenMRSBot> |
Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #894 (defect created): ModuleClassLoader.setProbeParentLoaderLast() should be public <http://dev.openmrs.org/ticket/894> |
| [16:20:52] |
*** |
sunbiz has joined #openmrs |
| [16:21:04] |
<sunbiz> |
bmckown: u there ?? |
| [16:22:26] |
<bmckown> |
hi, sunbiz |
| [16:22:36] |
<sunbiz> |
does any1 else face this problem in Find Patient... that when u enter the 5th charcter of patient identifier... the results aren't shown |
| [16:22:48] |
<sunbiz> |
bmckown: that question ?? |
| [16:22:53] |
<bmckown> |
hmm. |
| [16:23:04] |
<sunbiz> |
that is the reason the barcode search wasn't working |
| [16:23:06] |
<bmckown> |
maybe that's the bug. |
| [16:23:20] |
<bmckown> |
the find patient does seem to act a little funny. |
| [16:23:39] |
<sunbiz> |
we were thinking it was the 'dash' charcter ?? |
| [16:23:43] |
<bmckown> |
yes |
| [16:23:53] |
<bmckown> |
but remember the screenshot I sent you... |
| [16:24:02] |
<bmckown> |
hmm. let me try it. |
| [16:24:13] |
<sunbiz> |
bmckown: yes... I corrected that |
| [16:24:44] |
<bmckown> |
is this a bug specific to your search page? |
| [16:25:42] |
<sunbiz> |
bmckown: no... from the find/create patient as well |
| [16:25:52] |
<bmckown> |
hmm. |
| [16:25:55] |
<sunbiz> |
does it work fine on ur Find/Create Patient ?? |
| [16:26:01] |
<bmckown> |
lemme check |
| [16:27:55] |
<bmckown> |
seems you could be right. I have a patient named test2. test2 always shows up with the other test patients if i search for "test" but not if i search for test2 |
| [16:28:23] |
<sunbiz> |
very wierd behavior on the getPatient method !! |
| [16:28:35] |
<bmckown> |
hmm maybe u could file a bug report |
| [16:28:39] |
<bmckown> |
a ticket i mena |
| [16:28:42] |
<bmckown> |
mean |
| [16:28:49] |
<sunbiz> |
yes |
| [16:29:01] |
<bmckown> |
you know I totally trashed my rc.d links |
| [16:29:25] |
<sunbiz> |
bmckown: why ?? |
| [16:29:43] |
<bmckown> |
rm /etc/rc*/*vpn* except that I accidentally put a space before vpn* |
| [16:29:51] |
<bmckown> |
hehe |
| [16:30:03] |
<sunbiz> |
heheh |
| [16:30:05] |
*** |
sioraiocht has quit IRC |
| [16:30:10] |
<bmckown> |
i'm in the process of fixing that. |
| [16:30:22] |
<bmckown> |
*before* i shut down the computer |
| [16:30:25] |
<sunbiz> |
dont u have a bring back feature.... or timemachine on Ubuntu?? |
| [16:30:41] |
<bmckown> |
maybe, if so i've never looked into that. |
| [16:30:59] |
<sunbiz> |
it should be easily accesible |
| [16:31:11] |
<sunbiz> |
Vista rocks with that feature... ;-) |
| [16:31:18] |
<bmckown> |
ben did me the favor of ls /etc/rc* > helpbrianfixrcds.txt |
| [16:31:38] |
<bmckown> |
i'll go for a mac first |
| [16:32:04] |
<sunbiz> |
yea... has the bling of doing the same thing |
| [16:32:15] |
<bmckown> |
yes. and mac is unix |
| [16:32:31] |
<bmckown> |
and i like *nix machines |
| [16:32:39] |
<sunbiz> |
I love the gfx on timemachine |
| [16:33:04] |
<bmckown> |
i guess i haven't seen much of the gfx on vista |
| [16:33:27] |
<bmckown> |
i have xp on the other partition |
| [16:37:58] |
*** |
sunbiz has left #openmrs |
| [17:07:00] |
*** |
TorLye has quit IRC |
| [17:13:04] |
<r0bby> |
wow I just uncovered a bug :) |
| [17:13:22] |
*** |
bmckown has quit IRC |
| [17:14:22] |
*** |
sioraiocht has joined #openmrs |
| [17:24:39] |
<r0bby> |
bug fixed :) |
| [18:01:15] |
<nribeka_> |
message's code attribute support EL right? |
| [18:01:19] |
<nribeka_> |
arrrgghhh |
| [18:01:21] |
<nribeka_> |
:( |
| [18:20:46] |
*** |
sioraioc_ has joined #openmrs |
| [18:34:25] |
*** |
sioraiocht has quit IRC |
| [18:36:02] |
*** |
pombreda has quit IRC |
| [18:53:24] |
<r0bby> |
I need to figure out how to do message codes in a servlet |
| [18:53:50] |
<r0bby> |
I haven't done one lick of java all EL and js :) |
| [19:15:43] |
*** |
nribeka_ has quit IRC |
| [19:16:15] |
*** |
nribeka has joined #openmrs |
| [19:40:29] |
*** |
pearlbear has joined #openmrs |
| [19:40:29] |
*** |
ChanServ sets mode: +v pearlbear |
| [19:45:40] |
*** |
bwolfe has joined #openmrs |
| [19:45:40] |
*** |
ChanServ sets mode: +o bwolfe |
| [19:59:38] |
<r0bby> |
bwolfe: i may not need the visibility change, but it would be useful |
| [20:01:31] |
<r0bby> |
yup what do I do -- i don't need that visibility change? |
| [20:01:54] |
<r0bby> |
it was that I didn't include the imports i ddi w/ my checkSyntax method |
| [20:12:02] |
<r0bby> |
I rolled back the change i made locally; it was definately a case of pebkac |
| [20:20:08] |
<bwolfe> |
well, good to hear you solved it |
| [20:21:21] |
<bwolfe> |
but the change is still needed :-) |
| [20:22:39] |
*** |
pombreda has joined #openmrs |
| [20:22:39] |
*** |
ChanServ sets mode: +v pombreda |
| [20:25:17] |
<r0bby> |
I also discovered a small bug |
| [20:25:44] |
<r0bby> |
ideally you should be able to pass a Class object *OR* an Object into my getProperties closure -- so you can do both :) |
| [20:26:01] |
<r0bby> |
I just check if it's an instanceof Class then i call newInstance() |
| [20:26:10] |
<r0bby> |
and go on as usual :D |
| [20:27:31] |
<r0bby> |
only problem is my callback isn't working right I make two AJAX calls one right after the other |
| [20:27:41] |
<r0bby> |
in the end it's going to be ~5 i think |
| [20:45:34] |
*** |
pearlbear has quit IRC |
| [21:12:23] |
<r0bby> |
bwolfe: ping you busy? |
| [21:39:41] |
*** |
upul has joined #openmrs |
| [21:43:40] |
<r0bby> |
upul : o/ |
| [21:43:53] |
<upul> |
Hi r0bby |
| [21:59:32] |
*** |
bwolfe has quit IRC |
| [22:19:02] |
*** |
nribeka is now known as nribek-sleeping |
| [22:29:07] |
<r0bby> |
nribek-sleeping weak |
| [23:46:19] |
*** |
crazee has joined #openmrs |
| [23:46:19] |
*** |
ChanServ sets mode: +v crazee |