IRC Chat : 2008-06-11 - OpenMRS

00:00:10 <cancerb0y> oh man... i ve been meddlin my sys to make it work... for almost 7 hrs... then it worked yesterday nite.. then today morning gone
00:00:30 <cancerb0y> unfortunately i dint check the dev
00:02:21 <cancerb0y> :P
00:02:26 <sgrannis> http://tinyurl.com/5h9xqr
00:02:27 <sgrannis> oops wrong link ... one sec
00:02:27 <nribeka> sgrannis: hehe ...
00:02:30 <sgrannis> (it's "Logic for Dummies") ...
00:02:31 <nribeka> cancerb0y: i delete my workspace because of it
00:02:31 <sgrannis> in order to evaluate various philosophies, one needs to understand *how* ot evaluate
00:02:31 <nribeka> my workspace was locked at that time haha :D
00:02:31 <cancerb0y> nribeka: lol
00:02:31 <sgrannis> http://www.amazon.com/Logic-Dummies-Math-Science/dp/0471799416
00:03:16 <nribeka> cancerb0y: yeah, then i need to ask ben for a copy of basic module
00:03:20 <OpenMRSBot> <http://ln-s.net/1v3y> (at www.amazon.com)
00:03:24 <sgrannis> but most of the material in the book can be found in various places online
00:03:57 <[OmegentooX]> Isn't that true of any book?
00:03:59 <cancerb0y> nribeka: hehehe... but im worst than u... i dint ask anyone... i dint even check the dev :P
00:04:38 <cancerb0y> wats ur gtalk id @ nribeka
00:04:40 <nribeka> haha lol
00:04:44 <sgrannis> Omeg: yep, and becoming truer with time
00:04:54 <nribeka> nyoman.ribeka
00:06:21 <nribeka> cancerb0y: added
00:06:43 <nribeka> cancerb0y: the devs mails come after i delete the workspace haha ...
10:08:33 *** OpenMRSBot has joined #openmrs
10:08:33 *** ChanServ sets mode: +o OpenMRSBot
10:12:41 *** atomicturtle has joined #openmrs
10:12:54 <atomicturtle> its up
10:13:24 <bwolfe> yep, thanks for whatever you went and did
10:13:31 <bwolfe> I've stopped the dev subdomain
10:13:44 <atomicturtle> K I have to go, gotta pay the bills
10:13:46 <atomicturtle> dont break anything
10:13:48 *** atomicturtle has left #openmrs
10:14:48 *** njero has quit IRC
10:19:49 *** cancerb0y has joined #openmrs
10:20:56 *** cancerb0y has quit IRC
10:25:15 *** nribeka has joined #openmrs
10:57:19 *** pombreda1 has joined #openmrs
10:57:39 *** vagrawal has quit IRC
10:59:54 *** Phantal- has joined #openmrs
11:00:30 *** njero has joined #openmrs
11:00:30 *** ChanServ sets mode: +v njero
11:11:25 *** pombreda has quit IRC
11:16:20 <upul> bwolfe: are you busy?
11:16:51 <sunbiz> upul: dont disturb... I want the server working!! :D
11:16:58 <sunbiz> upul: just kidding mate
11:18:30 <Phantal-> https://nintendo.taleo.net/careersection/10000/jobdetail.ftl
11:18:30 <upul> :-)
11:18:31 <OpenMRSBot> <http://ln-s.net/1v8b> (at nintendo.taleo.net)
11:18:36 <Phantal-> sorry, wrong forum
11:18:50 <njero> heh
11:21:10 *** pombreda has joined #openmrs
11:21:11 *** ChanServ sets mode: +v pombreda
11:25:59 *** upul has quit IRC
11:35:28 *** pombreda2 has joined #openmrs
11:35:54 *** pombreda1 has quit IRC
11:39:00 *** pombreda2 has quit IRC
11:41:06 <sunbiz> the websites very very fast now !!
11:41:12 <sunbiz> *website's
11:41:40 *** jacobb has joined #openmrs
11:42:26 <bwolfe> sunbiz: yeah, when it works, it works. :-)
11:42:41 <sunbiz> so...now is the work done ??
11:42:50 <sunbiz> what is the server running on ??
11:43:46 <bwolfe> sunbiz: its not quite done yet
11:44:12 <bwolfe> sunbiz: Intel(R) Pentium(R) 4 CPU 2.60GHz with 1gb of ram
11:44:16 <bwolfe> dedicated
11:44:30 <sunbiz> and whats the ISP ??
11:44:45 <sunbiz> isn't 1GB of RAM a little less ??
11:49:23 <bwolfe> sunbiz: nah, its fine for just the the forum/wiki/python apps
11:49:32 <bwolfe> if we were running openmrs on it it would be a little slower
11:49:52 <bwolfe> but demo is on a whole separate machine
11:50:18 <sunbiz> and the trac and SVN ??
11:51:09 *** pombreda has quit IRC
11:51:51 <nribeka> it's screaming fast now
11:54:43 <bwolfe> dev.openmrs.org (trac) and svn.openmrs.org are back on the machine that they were on last week
11:56:13 <bwolfe> so we're monopolizing three machines for our website now :-p
11:57:46 <sunbiz> wow... openmrs is rich!! ;)
11:58:17 <bwolfe> haha...we're only paying for one of them
11:58:20 <bwolfe> $20 a month
11:58:42 <bwolfe> if we /were/ rich we would have bought a server a long time ago and wouldn't have had these problems :-p
12:01:43 <yanokwa> bwolfe: any idea what was killing the server?
12:01:57 <sgrannis> bwolf: sgrannis: haha, wish I had thought of that! -- not sure of the context?
12:02:10 <bwolfe> yanokwa: logs haven't revealed anything yet :-/
12:02:46 <bwolfe> !refer sgrannis tabcomplete
12:02:46 * OpenMRSBot refers sgrannis to tabcomplete
12:02:52 <bwolfe> !refer sgrannis [tabcomplete]
12:02:52 * OpenMRSBot refers sgrannis to "tabcomplete" --- Most IRC clients let you easily write someone's nickname in the channel using tab completion. Just type the first few letters, then <tab>, and voila!
12:03:05 <bwolfe> sgrannis: that was supposed to be at sunbiz
12:21:01 *** yanokwa has left #openmrs
12:26:52 * nribeka is writing hl7 message
12:55:57 *** pombreda has joined #openmrs
12:55:58 *** ChanServ sets mode: +v pombreda
12:58:57 *** bwolfe has quit IRC
13:00:06 *** bwolfe has joined #openmrs
13:00:06 *** irc.freenode.net sets mode: +o bwolfe
13:01:05 *** bwolfe_ has joined #openmrs
13:01:05 *** ChanServ sets mode: +o bwolfe_
13:01:05 *** bwolfe has quit IRC
13:01:13 *** bwolfe_ is now known as bwolfe
13:18:05 *** bwolfe has quit IRC
13:21:31 *** bwolfe has joined #openmrs
13:21:31 *** irc.freenode.net sets mode: +o bwolfe
13:23:03 <jacobb> how's everyone doing today
13:23:59 <bwolfe> better now that the site is working again
13:24:05 <jacobb> yeah
13:24:06 <jacobb> haha
13:24:10 <jacobb> hopefully it's up next week
13:24:12 <jacobb> :X
13:25:07 <jacobb> bwolfe, so it looks like it's just me you and james on monday so far?
13:25:15 <jacobb> i'm going to send her that list for now
13:25:46 <bwolfe> ok
13:25:58 <bwolfe> there might be some that decide to go on sunday night
13:26:19 <jacobb> yeah i'll let her know
13:28:42 *** cancerb0y has joined #openmrs
13:37:05 <sgrannis> tabcomplete == kewl!!
13:51:45 *** bwolfe has quit IRC
13:53:06 *** bwolfe has joined #openmrs
13:53:06 *** irc.freenode.net sets mode: +o bwolfe
13:59:35 *** bwolfe has quit IRC
14:02:40 *** bwolfe has joined #openmrs
14:02:40 *** irc.freenode.net sets mode: +o bwolfe
14:11:45 *** vagrawal has joined #openmrs
14:17:20 *** sunbiz has left #openmrs
14:18:12 *** rfoecking has joined #openmrs
14:23:19 *** njero has quit IRC
14:29:23 <jacobb> bwolfe: why'd you break my default encounter location change?
14:29:25 <jacobb> :)
14:29:37 <jacobb> in LocationEditor.java
14:29:40 <bwolfe> jacobb: ?
14:29:42 <bwolfe> oh
14:29:43 <jacobb> revision 4168
14:30:24 <bwolfe> my use case was this:
14:30:38 <bwolfe> 1) edit a form that used a location -- that location was blank in the db
14:30:50 <bwolfe> 2) when loaded, with your change the empty location was given the default location
14:31:20 <bwolfe> 3) the form is submitted with some other part changed and the location field wasn't even noticed that it 'changed' from null to the users default
14:31:41 <jacobb> on what form?
14:32:00 <bwolfe> jacobb: there needs to be a way to determine if its a new form (in that case the default should be used) or if its a returning form that had a blank location (in that case the default should not be used)
14:32:10 <jacobb> yeah
14:32:11 <bwolfe> jacobb: hmmm...not sure which form, one sec
14:32:14 <jacobb> any ideas?
14:32:22 <jacobb> i've only used it on encounter for
14:32:23 <jacobb> form
14:32:26 <jacobb> and it worked fine
14:32:33 <jacobb> but i don't know how to determine if it's new or not
14:32:34 <bwolfe> identifier type maybe? that has a nullable location
14:32:41 <jacobb> not sure that's possible
14:32:49 <jacobb> hm
14:32:52 *** nribeka has quit IRC
14:32:59 <jacobb> any ideas then?
14:33:01 <bwolfe> jacobb: right, I couldn't think of a way, so I just undid that part of your change :-p
14:33:14 <jacobb> I still need to get a default location...
14:33:17 <jacobb> or to use it
14:33:20 *** Nzeyi has joined #openmrs
14:33:31 <jacobb> I could just write some JS i guess for every form i need it on
14:33:32 <jacobb> lol
14:33:33 <jacobb> what a hack
14:34:19 <bwolfe> Nzeyi, you're up late. :-)
14:34:55 <bwolfe> jacobb: right...a little too hacky
14:35:12 <bwolfe> jacobb: which form did you need it for ?
14:40:23 <Nzeyi> Hi all
14:40:26 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [4601]: occ: upgraded to spring 2.5 and moved to using the power of maven for … <http://dev.openmrs.org/changeset/4601> || Robby O'Connor: Well, that's so NOT groovy <http://feeds.feedburner.com/~r/robbyoconnor/~3/309334094/wellthats-so-not-groovy.html> || OpenMRS Changesets: Changeset [4600]: tbla module: Updated the OpenMRS api jars. <http://dev.openmrs.org/changeset/4600> || Upul Godage: Tribe module changes <http://upulgsoc.wordpress.com/2008/06/10/tribe-module-changes/>
14:40:56 <Nzeyi> bwolfe:I had a lot of disconnections from yesterday
14:41:16 *** cancerb0y has left #openmrs
14:41:17 <Nzeyi> So, the hall day I was offline
14:41:40 <Nzeyi> but I think I can get updated
14:42:59 <Nzeyi> I 'm changing my project wiki page for the Project Goals
14:45:16 <Nzeyi> bwolfe:I want to know how to commit .some of my project codes are gona be achieved by this weekend
14:45:43 <bwolfe> Nzeyi: cool
14:46:09 <bwolfe> see http://openmrs.org/wiki/Subversion_Repository_Code_of_Conduct#Commit_Comments
14:46:11 <OpenMRSBot> <http://ln-s.net/1v$h> (at openmrs.org)
14:46:15 <bwolfe> abd
14:46:19 <bwolfe> err, and
14:46:20 <bwolfe> http://openmrs.org/wiki/Developers#Requesting_Subversion_Repository_Access
14:46:21 <OpenMRSBot> <http://ln-s.net/1r5W> (at openmrs.org)
14:46:46 *** vagrawal has quit IRC
14:49:45 <Nzeyi> thanks,I'm gona check it
14:50:11 *** [OmegentooX] has quit IRC
14:52:14 <rfoecking> is it normal to be able to add multiple observations of the same type to one encounter?
14:52:34 <bwolfe> rfoecking: define "type"
14:52:56 <rfoecking> of the same concept
14:53:06 <rfoecking> number of siblings, for example
14:53:10 <bwolfe> yeah, sure
14:53:15 <rfoecking> okay good :)
14:53:59 <bwolfe> odd choice for an example...why woul dyou need two questions answered that way ?
14:54:51 <bwolfe> rfoecking: having that is unusual...but not disallowed. I think when you see stuff like that happening you should look into using obs_groups (hierarchal) obs
14:54:55 <rfoecking> oh, i dont need that to happen. i think i accidently added two observations like that, and i thought i had messed up the code
14:59:25 *** pombreda has quit IRC
15:00:56 *** bwolfe has quit IRC
15:00:56 *** rfoecking has quit IRC
15:03:11 *** rfoecking has joined #openmrs
15:03:21 *** rfoecking has left #openmrs
15:03:45 *** rfoecking has joined #openmrs
15:05:21 *** vdgreat has joined #openmrs
15:06:21 *** pombreda has joined #openmrs
15:06:21 *** ChanServ sets mode: +v pombreda
15:06:46 *** bwolfe has joined #openmrs
15:06:46 *** irc.freenode.net sets mode: +o bwolfe
15:08:15 <bwolfe> whats going on with freenode today ?
15:08:23 <bwolfe> who's trying to hack it? :-p
15:08:45 <jacobb> bwolfe: I need it on the encounter form
15:08:54 <jacobb> trying to think if there's anywher else it's a big deal...can't think of any
15:08:59 <jacobb> the encounter form is the biggie
15:09:38 <bwolfe> the one in the admin section ?
15:09:45 <jacobb> yeah
15:09:47 <bwolfe> I thought you were creating your own...
15:09:52 <jacobb> i do
15:09:57 <jacobb> i overwrite it
15:10:06 <jacobb> so I can add itmyself
15:10:10 <jacobb> as JS or osmething
15:10:13 <jacobb> that's what i was saying
15:11:42 <bwolfe> jacobb: you could use jsp to pull it out of the current user's userproperties
15:11:48 <bwolfe> that would be a tiny bit less hacky
15:12:19 <jacobb> yeah I also might just be able to do it with my form controller
15:12:38 *** pearlbear has joined #openmrs
15:12:38 *** ChanServ sets mode: +v pearlbear
15:16:51 *** vdgreat has quit IRC
15:23:48 *** [OmegentooX] has joined #openmrs
15:23:48 *** ChanServ sets mode: +v [OmegentooX]
15:26:33 <jacobb> bwolfe: problem solved, just added a check to the encounterFormController when returning the formBackingObject
15:27:04 <bwolfe> jacobb: probably the least hacky solution. :-)
15:27:07 <bwolfe> excellent choice
15:28:09 <jacobb> yeah, wasn't hacky at all
15:28:41 <jacobb> i already use it to set a default date and stuff on new encounter
15:28:50 <jacobb> i just didnt' do location before because it was in the core :)
15:29:35 *** james_regen has quit IRC
15:37:25 <rfoecking> so, i'm looking at the concept dictionary entry for number of siblings on the demo, and i changed the datatype to numeric, and now i see absolute low, absolute high, critical low, critical high, etc
15:37:42 <rfoecking> is this the range of values that the user is allowed to input for the number of siblings?
15:37:51 <bwolfe> rfoecking: yep
15:38:04 <bwolfe> error when outside of absolute values
15:38:17 <rfoecking> okay, so changed it to: absolute low, 1, and absolute high, 20
15:38:18 <bwolfe> warnings when outside of other boundaries
15:38:26 <bwolfe> not zero ?
15:38:27 <rfoecking> and it still lets me add 30 siblings
15:38:33 <rfoecking> well, okay, zero :)
15:39:10 <rfoecking> it should give an error if i try to add 30, though, no/
15:39:21 <bwolfe> probably goes along with this ticket
15:39:25 <bwolfe> !ticket 669
15:39:25 <OpenMRSBot> bwolfe: Ticket #669: http://dev.openmrs.org/ticket/669
15:39:27 <bwolfe> err
15:39:34 <bwolfe> !ticket 696
15:39:34 <OpenMRSBot> bwolfe: Ticket #696: http://dev.openmrs.org/ticket/696
15:40:03 <rfoecking> okay, so thats another thing we have to fix
15:40:04 <rfoecking> thanks :)
15:55:53 *** nribeka has joined #openmrs
16:02:58 *** bmckown has quit IRC
16:04:14 *** bwolfe has quit IRC
16:05:02 *** rfoecking has left #openmrs
16:06:47 *** njero has joined #openmrs
16:06:47 *** ChanServ sets mode: +v njero
16:09:16 *** Nzeyi has quit IRC
16:35:59 *** Nzeyi has joined #openmrs
16:53:28 *** bwolfe has joined #openmrs
16:53:28 *** ChanServ sets mode: +o bwolfe
17:11:46 *** OpenMRSBot has joined #openmrs
17:11:46 *** ChanServ sets mode: +o OpenMRSBot
17:12:12 *** njero has quit IRC
17:21:27 *** pombreda has quit IRC
17:29:33 *** pombreda has joined #openmrs
17:29:33 *** ChanServ sets mode: +v pombreda
17:30:59 *** yanokwa has joined #openmrs
17:30:59 *** ChanServ sets mode: +v yanokwa
17:45:43 *** yanokwa has quit IRC
17:51:35 *** Nzeyi has quit IRC
18:17:54 *** Keelhaul has joined #openmrs
18:17:54 *** ChanServ sets mode: +v Keelhaul
18:32:00 <Keelhaul> can i override the font color somehow?
18:36:06 *** nribeka has quit IRC
18:53:07 *** TorLye has quit IRC
19:58:43 *** nribeka has joined #openmrs
20:11:55 <bwolfe> Keelhaul: you can add a custom css file to your openmrs install
20:12:22 <Keelhaul> =/
20:12:29 <Keelhaul> no, i need a red font in a special situation
20:12:33 <bwolfe> see the overriding openmrs properties
20:12:48 <Keelhaul> like if a value is less than x, put it out in red
20:13:38 <bwolfe> <span style="font-color: red">Your value is less than x!</span>
20:14:06 <Keelhaul> =o
20:14:09 <Keelhaul> nice
20:14:14 <Keelhaul> that works w/o a custom css?
20:19:29 <bwolfe> yeah
20:19:34 <bwolfe> thats just normal html Keelhaul
20:22:16 *** atomicturtle has joined #openmrs
20:24:04 *** atomicturtle has quit IRC
20:24:15 <Keelhaul> too bad it cant color values in a selectbox =/
20:24:32 <bwolfe> I think you can somehow
20:24:55 <Keelhaul> with html?
20:25:44 <Keelhaul> bwolfe: where is <openmrs:forEachRecord> defined?
20:26:08 <bwolfe> Keelhaul: yeah, with css in your html
20:26:14 <bwolfe> Keelhaul: do a control-h for it
20:26:22 <bwolfe> be sure to choose the file search tab
20:26:43 <bwolfe> its in the openmrs.tld file
20:26:54 *** atomicturtle has joined #openmrs
20:26:56 <bwolfe> and then the java is in the /src/web somewhere
20:27:01 <Keelhaul> thx
20:29:34 <Keelhaul> hm
20:29:37 <bwolfe> atomicturtle: servers seem stable. :-)
20:30:14 <atomicturtle> I have several core dumps too
20:30:44 <atomicturtle> they were all POST's so far
20:32:11 <Keelhaul> bwolfe: ah daym, it only retrieves predefined element types
20:32:18 *** r0bby has joined #openmrs
20:32:18 *** ChanServ sets mode: +v r0bby
20:33:02 <Keelhaul> bwolfe: how can get a set of Case elements into a dashboard tab
20:33:12 <Keelhaul> seems like you cannot assign a custom portletcontroller to tabs
20:34:09 <bwolfe> Keelhaul: I thought you got that figured out...
20:34:30 <Keelhaul> bwolfe: for boxes, yes
20:34:33 <bwolfe> Keelhaul: you should be able to :-/
20:34:36 <Keelhaul> doing the same for tabs will make it fail
20:34:51 <bwolfe> Keelhaul: you mean your own whole new tab ?
20:34:55 <Keelhaul> yes
20:35:00 <bwolfe> its just a portlet itself...why can't you ?
20:35:13 <Keelhaul> PatientDashboardTabExt
20:35:46 <Keelhaul> if i map a controller to the portlet's url, it will behave just as if theres a jsp error in the portlet itself
20:35:50 <Keelhaul> i.e. stop loading
20:36:03 <Keelhaul> even if the jsp itself is empty
20:36:14 <Keelhaul> unlink the controller, and it loads again
20:37:51 <bwolfe> are you sure theres not an error in your controller ?
20:37:53 *** pearlbear has quit IRC
20:37:55 <bwolfe> anything in your tomcat logs ?
20:38:22 <Keelhaul> yes, i even tried using the same as for a box that works, only adding one list of elements to the model
20:38:23 <r0bby> jesus h.
20:38:28 <r0bby> christ
20:38:33 <r0bby> :'(
20:39:52 <bwolfe> Keelhaul: send me your mapping, config, java, and jsp
20:40:44 <Keelhaul> in a zip?
20:43:01 <bwolfe> sure
20:43:06 <Keelhaul> ok
20:43:22 <Keelhaul> too bad there's no port open for dcc for this laptop
20:43:26 <Keelhaul> i'll put it on the webserver
20:44:44 <bwolfe> or email would have worked :-P
20:45:12 <Keelhaul> yea but this is faster
20:45:19 <Keelhaul> just a drap to the www dir
20:45:27 <Keelhaul> email would have required a few more keystrokes
20:45:34 <Keelhaul> drag*
20:46:10 <bwolfe> heh
20:46:16 <Keelhaul> if i were to look in the tomcat logs, which file do errors like that go into
20:46:18 <bwolfe> whats the error you're getting ?
20:46:25 <bwolfe> catalina.out
20:46:28 <bwolfe> if on linux
20:46:46 <bwolfe> the most recently modified catalina file I think
20:47:09 <Keelhaul> i'm not getting any error
20:47:26 <Keelhaul> btw, there's an error in patientCases.jps
20:47:28 <Keelhaul> jsp
20:47:36 <Keelhaul> <c:forEach var="case" name=
20:47:57 <Keelhaul> ignore it
20:48:10 <Keelhaul> it was correct before, i was just testing something
20:48:25 <bwolfe> Keelhaul: I think upul may have solved your problem
20:48:26 <Keelhaul> name="${model.patientCases}" instead of name="inpatientcarE_c
20:48:28 <Keelhaul> ases"
20:48:32 <Keelhaul> o
20:48:35 <Keelhaul> how
20:49:07 <bwolfe> atomicturtle: man, trac and svn are running /a lot/ faster on vm1 than it used to
20:49:27 <bwolfe> atomicturtle: and of course the wiki etc is great on rax...no hangups yet
20:50:27 <bwolfe> !refer Keelhaul [ticket 652]
20:50:27 * OpenMRSBot refers Keelhaul to Ticket #652: http://dev.openmrs.org/ticket/652
20:50:43 <bwolfe> check out his patch Keelhaul
20:52:59 <Keelhaul> nothing in catalina.log
20:53:19 <bwolfe> Keelhaul: whats the most recently modified file ?
20:54:28 <Keelhaul> stdout
20:54:38 <bwolfe> that might be it
20:54:44 <bwolfe> its been too long since I was in windows :-p
20:55:43 <Keelhaul> INFO - DWRPatientService.findPatients(71) |2008-06-12 03:55:08,198|
20:55:54 <Keelhaul> thats all it adds though if you open the dashboard
20:57:24 <Keelhaul> localhost.log isnt the most recently saved file, contains a 2 seconds more recent entry though
20:57:28 <Keelhaul> http://rafb.net/p/UMK0o830.html
20:57:29 <Keelhaul> this
20:58:26 <Keelhaul> at org.openmrs.module.inpatientcare.web.controller.CasePortletController.populateModel(CasePortletController.java:23)
20:58:29 <Keelhaul> which is
20:58:32 <Keelhaul> Patient p = Context.getPatientService().getPatient((Integer) o);
20:59:05 <Keelhaul> maybe the tab portlets dont get a patientId passed to?
21:02:15 *** pombreda has quit IRC
21:05:33 <bwolfe> Keelhaul: not sure, check. if it doesn't we can make it
21:06:16 <Keelhaul> bwolfe: which problem would that tribes patch solve?
21:06:19 <Keelhaul> i'm a bit confused
21:07:36 *** [OmegentooX] has quit IRC
21:08:07 <bwolfe> Keelhaul: it adds a bit to the foreachrecord tag for random classes you pass in
21:08:33 <Keelhaul> =o
21:08:42 <Keelhaul> that would be nice
21:09:13 <Keelhaul> bwolfe: btw, you are now listed correctly in my mario kart
21:09:19 <Keelhaul> with your mii etc
21:09:38 <bwolfe> cool
21:09:42 <bwolfe> I haven't checked mine recently
21:10:07 <Keelhaul> adding a check whether o != null has eliminated that error
21:10:15 <Keelhaul> but of course, since it's null i receive no data
21:10:25 <Keelhaul> so that must be the problem
21:10:37 <Keelhaul> whats that jsp for the whole dashboard called
21:12:30 <Keelhaul> <openmrs:extensionPointpointId="org.openmrs.patientDashboardTab"type="html">
21:12:30 <Keelhaul> <openmrs:hasPrivilegeprivilege="${extension.requiredPrivilege}">
21:12:30 <Keelhaul> <li>
21:12:30 <Keelhaul> <a id="${extension.tabId}Tab" href="#" onclick="return changeTab(this);" hidefocus="hidefocus"><spring:messagecode="${extension.tabName}"/></a>
21:12:30 <Keelhaul> </li>
21:12:31 <Keelhaul> </openmrs:hasPrivilege>
21:12:33 <Keelhaul> </openmrs:extensionPoint>
21:12:39 <Keelhaul> i dont see a patientId
21:14:07 <Keelhaul> on ther other hand, i'm not quite sure where to add it
21:14:13 <Keelhaul> it's not an <openmrs:portlet>
21:16:19 *** upul has joined #openmrs
21:19:24 <bwolfe> Keelhaul: extension points have a reference data or something
21:19:56 <bwolfe> !extensionpoints
21:19:56 <OpenMRSBot> bwolfe: "extensionpoints" --- http://openmrs.org/wiki/Module_Extension_Points
21:27:02 <Keelhaul> they have a parameterMap
21:27:12 <Keelhaul> but i'm not sure how to use it
21:27:46 *** [OmegentooX] has joined #openmrs
21:27:46 *** ChanServ sets mode: +v [OmegentooX]
21:30:11 <Keelhaul> bwolfe: yea i think tabs arent designed to use a controller
21:30:20 <Keelhaul> e.g. the encounters tab uses <openmrs:forEachEncounter>
21:30:45 <Keelhaul> oh nm, it still has a model object
21:34:10 <Keelhaul> yes, it uses PortletController
21:41:59 <r0bby> by the way -- what would cause my local copy of openmrs to not draw the graphs?
21:42:49 <r0bby> I think my openmrs install has a few problems -- i can't add drug regimens for example
21:43:05 <r0bby> hrm
21:43:12 <r0bby> oh well night
21:43:19 <Keelhaul> gn
21:43:27 <r0bby> I had a long day
21:43:30 <Keelhaul> btw, one of my installations seems to have no concepts
21:43:36 <Keelhaul> all other data seems to be there though
21:47:14 <r0bby> I wrote a lil bit but ran into a snag
21:47:38 <Keelhaul> wrote what
21:48:48 <Keelhaul> bwolfe: strange, very strange
21:49:08 <Keelhaul> remember that "populateModel" in PortletController?
21:49:17 <Keelhaul> for extensions to overwrite
21:49:29 <Keelhaul> well it gets passed the original request object and the model object
21:49:35 <bwolfe> right
21:49:39 <bwolfe> is that a problem ?
21:49:44 <Keelhaul> so in my box controllers i pull the patientId from request
21:49:47 <Keelhaul> etc
21:49:55 <Keelhaul> doesnt seem to work in tab portlets
21:50:08 <Keelhaul> but since model is also passed, the patient object is already in there
21:50:10 <Keelhaul> i just used that
21:50:46 <Keelhaul> populateModel is called after "model" is already filled with a bunch of data
21:57:29 <r0bby> I did rip out all groovy compile/processing steps :D
21:57:48 <r0bby> i did that on the train =)
22:06:41 *** pombreda has joined #openmrs
22:06:41 *** ChanServ sets mode: +v pombreda
22:12:07 <Keelhaul> <tr class="<c:choose><c:whentest="${count%2==0}">evenRow</c:when><c:otherwise>oddRow</c:otherwise></c:choose>">
22:12:20 <Keelhaul> bwolfe: is that "count" variable only available if using those custom loops?
22:12:25 <Keelhaul> forEachEncounter etc
22:12:46 <bwolfe> no, I think its a normal c:forEach option
22:13:49 <Keelhaul> weird
22:13:53 <Keelhaul> because i get all lines grey
22:23:32 <Keelhaul> bwolfe: i tried displaying ${count} and it shows up empty
22:23:39 <Keelhaul> so maybe it's not there
22:24:13 <bwolfe> Keelhaul: check the forEach tag documentation
22:24:21 <bwolfe> it might be in a the varStatus thing
22:24:38 <bwolfe> c:forEach .... .... varStatus="varStat">
22:24:43 <bwolfe> ${varStat.count}
22:24:47 <bwolfe> </c:forEach>
22:24:50 <Keelhaul> yea, i just saw on a page
22:25:00 <Keelhaul> the custom loop must be producing the count var
22:27:49 <Keelhaul> bwolfe: is there a way to add example concepts to the db if the db already exists?
22:28:07 <Keelhaul> i run that all-in-one sql file on a different installation
22:28:11 <Keelhaul> and there are no concepts
22:28:42 <bwolfe> hmm, there should be some :-/
22:34:28 <Keelhaul> guess i'll have to export mine
22:36:14 <bwolfe> Keelhaul: I'm showing it as having concepts
22:38:38 *** bwolfe has quit IRC
23:28:39 *** nribeka has quit IRC
23:30:10 *** pombreda1 has joined #openmrs
23:47:00 *** pombreda has quit IRC
23:58:45 *** pombreda has joined #openmrs
23:58:45 *** ChanServ sets mode: +v pombreda