Wiki Spaces


Get Help from Others

Q&A: Ask OpenMRS »
Discussion: OpenMRS Talk »
Real-Time: IRC Chat

IRC Logs

Child pages
  • 2008-08-01 - OpenMRS
Skip to end of metadata
Go to start of metadata
00:15:11 *** nribeka has joined #openmrs
00:25:58 *** sgrannis has joined #openmrs
00:26:07 *** ChanServ sets mode: +v sgrannis
00:26:55 <sgrannis> lotsa ppl in the haus!
00:36:00 *** njero has quit IRC
00:39:32 <nribeka> yeps sgrannis
00:39:45 <nribeka> you're still awake at this time?
00:39:51 <sgrannis> hey :)
00:39:55 <sgrannis> yep
00:40:04 <sgrannis> much to do...
00:40:12 <sgrannis> how're things?
00:40:20 <nribeka> working on it right now
00:40:24 <nribeka> using tammy's code
00:41:07 <sgrannis> great
00:41:11 <nribeka> we can't use it outside of the web though
00:41:29 <sgrannis> so we use it in the web interface?
00:41:48 <nribeka> i think so
00:41:54 <sgrannis> thats fine
00:42:08 <nribeka> because the service itself comes from spring
00:42:21 <nribeka> so i think i might need to write a simple jsp :P
00:42:24 <sgrannis> gotcha
00:42:44 <sgrannis> yeah - right now this is not the chief objective
00:42:57 <sgrannis> just right something to get data into the system is fine
00:43:09 <sgrannis> mebbe later we polish it up
00:43:31 <nribeka> yep. or probably i can use the jmock to simulate httprequest
00:43:54 <nribeka> spring has it for testing the controller, unit testing
00:44:12 <sgrannis> jmock? never heard
00:45:39 <nribeka> lemme check
00:45:56 <nribeka> there's a package in spring dist for simulate httprequest
00:46:11 <sgrannis> reading
00:48:57 <nribeka> MockHttpServletRequest
00:49:19 <nribeka> from spring
00:53:51 <nribeka> i think we don't need to create webpage
00:54:00 *** njero has joined #openmrs
00:54:00 *** ChanServ sets mode: +v njero
00:54:38 <nribeka> i remember i write unit test once and we can reference the application context directly
00:54:44 <nribeka> if i remember it correctly
00:57:00 <r0bby> ugh
00:57:05 <r0bby> Idea isant working
00:57:07 <r0bby> :(
00:57:41 <nribeka> why rob?
00:57:54 <nribeka> did you get the correct version with your os?
00:57:58 <nribeka> vista ...
00:58:09 <r0bby> it's java
00:59:32 <r0bby> ugh
00:59:35 <r0bby> gonna use eclipse
01:03:00 <nribeka> haha lol
01:03:10 <nribeka> yeps rob switch to eclipse :D
01:20:55 *** huntp has quit IRC
01:40:09 <r0bby> i cant use eclipse
01:40:12 <r0bby> I just cant
01:54:36 <nribeka> bed time rob
02:00:20 <r0bby> wth
02:00:20 <r0bby> I need sleep
02:00:21 <r0bby> i spent the entire day fighting
03:05:37 *** upul has quit IRC
03:08:18 *** huntp has joined #openmrs
03:16:20 *** upul has joined #openmrs
03:36:06 *** TorLye has joined #openmrs
04:15:19 *** njero has quit IRC
04:55:10 *** njero has joined #openmrs
05:21:39 *** njero has quit IRC
05:22:50 <huntp> hey robby - you there?
05:35:47 *** upul has quit IRC
06:43:29 *** njero has joined #openmrs
06:43:29 *** ChanServ sets mode: +v njero
06:59:07 *** njero has quit IRC
07:02:01 *** bwolfe has joined #openmrs
07:02:01 *** ChanServ sets mode: +o bwolfe
07:03:06 *** Keelhaul|afk has quit IRC
07:06:10 *** njero has joined #openmrs
07:08:15 *** ChanServ sets mode: +v njero
07:09:10 *** sgrannis has quit IRC
07:28:36 *** njero has quit IRC
07:37:39 *** sioraiocht has quit IRC
07:51:13 *** huntp has quit IRC
07:54:22 *** njero has joined #openmrs
07:55:04 *** ChanServ sets mode: +v njero
08:22:49 *** njero has quit IRC
08:40:59 *** nribeka has quit IRC
08:41:13 *** nribeka has joined #openmrs
09:05:58 *** sioraiocht has joined #openmrs
09:26:24 *** atomicturtle has quit IRC
09:54:46 *** njero has joined #openmrs
09:54:46 *** ChanServ sets mode: +v njero
10:06:04 *** TorLye has quit IRC
10:06:11 *** njero_ has joined #openmrs
10:11:41 *** atomicturtle has joined #openmrs
10:18:14 <nribeka> hi all
10:18:23 <nribeka> i have a question
10:18:36 <nribeka> anyone have ever used the ClassPathXmlApplicationContext
10:19:30 <nribeka> or anyone could explain how to access the openmrs services out from the web app context
10:23:28 *** njero has quit IRC
10:25:46 <bwolfe> nribeka: define out of the webapp context. do you mean using the openmrs api jar in a different app ?
10:26:18 <nribeka> hi bwolfe
10:26:33 <nribeka> yes different app
10:26:40 <nribeka> but non web one
10:26:45 <nribeka> can we?
10:27:02 <bwolfe> yeah
10:27:25 <nribeka> how bwolfe :D
10:27:28 <bwolfe> you should just have to call Context.startup(String, String, String) or something
10:27:38 <bwolfe> you shouldn't have to worry about the applicationContext
10:28:40 <nribeka> ah ic
10:28:46 <nribeka> checking ...
10:29:55 <nribeka> aha ...
10:30:03 <nribeka> thanks bwolfe :D
10:51:04 *** njero_ has quit IRC
10:58:15 *** sgrannis has joined #openmrs
10:58:30 *** ChanServ sets mode: +v sgrannis
11:20:49 *** bwolfe has quit IRC
11:34:48 *** sioraiocht has quit IRC
12:18:17 *** njero has joined #openmrs
12:18:17 *** ChanServ sets mode: +v njero
12:33:30 *** njero has quit IRC
12:47:58 *** sioraiocht has joined #openmrs
13:08:43 *** njero has joined #openmrs
13:08:43 *** ChanServ sets mode: +v njero
13:12:32 *** vdgreat has joined #openmrs
13:55:35 *** vdgreat has quit IRC
14:01:56 *** bmckown has joined #openmrs
14:01:56 *** ChanServ sets mode: +o bmckown
14:03:12 <nribeka> bmckown, are u suby?
14:03:24 <bmckown> what is a suby?
14:03:28 <nribeka> busy :P
14:03:48 <nribeka> i have a question :D
14:03:59 <bmckown> ah. well what can i do for you? Sure. ask away. :-)
14:04:26 <nribeka> i want to load Context from outside web app
14:04:40 <bmckown> okay.
14:04:45 <nribeka> bwolfe told me to use the Context.startup(blabla) method
14:05:02 <bmckown> okay.
14:05:10 <nribeka> but I get the contextDAO is null exception
14:05:34 <r0bby> bmckown: if I do a jsp include outside of the tomcat webapps dir
14:05:39 <nribeka> the startup needs the contextDAO to be instantiated
14:05:50 <bmckown> is the context accessing the database?
14:05:58 <r0bby> :|
14:06:02 * r0bby grumbles
14:06:02 <bmckown> is it 'able' to access.
14:06:10 <r0bby> RequestDispatcher will not work
14:06:27 <nribeka> yes
14:06:39 <nribeka> i need it to put some patient data to the database
14:06:45 <r0bby> argh
14:06:50 <r0bby> I hate JSP
14:07:08 <nribeka> so you hate jsp and me r0b? :P
14:07:30 <bmckown> do you get a stacktrace with the contextDAO is null exception - that you could pastebin?
14:08:14 <nribeka>
14:08:16 <OpenMRSBot> <> (at
14:09:53 <nribeka> it's the first line in the Context.startup(Properties) method throwing it
14:10:54 <nribeka> my code which i don't think i did it correctly
14:10:54 <nribeka>
14:11:47 <OpenMRSBot> <> (at
14:15:32 <bmckown> are you sure it's using your openmrs-runtime properties? how do you know it's able to access the database from your application?
14:17:19 <bmckown> you put your inside the ApplicationDataDirectory? That's okay if you want it there, just asking.
14:18:53 <nribeka> yes, the file is there
14:19:35 <nribeka> i want to access the same database used by the openmrs web that's why i use the same props file
14:20:13 <bmckown> it's there, but is openmrs actually using that file... or is it looking elsewhere?
14:20:31 <bmckown> hmm
14:23:57 <r0bby> def map = ["groovyForms":GroovyFormsContainer.groovyForms]
14:23:59 <r0bby> map
14:24:20 <r0bby> my referenceData() method :)
14:24:53 <bmckown> nribeka, just curious... do you have to create the context before you call it?
14:25:17 <bmckown> Context c = new org.openmrs.api.context.Context(); ??
14:26:19 <bmckown> and then do, c.startup(properties);
14:26:20 <nribeka> no, i don't think so
14:26:46 <nribeka> just Context.startup
14:27:09 <bmckown> I haven't loaded the context outside of the webapp... who loads the Context then?
14:27:45 <bmckown> is it a stand-alone app? you 'are' just using the api jar file, right?
14:27:57 <nribeka> right
14:28:12 <r0bby> dual monitors ftw
14:28:23 <bmckown> but then tomcat isn't starting it and it isn't a war file. so how does the context get initialized?
14:28:54 <bmckown> That is, i'm curious, if you are not initializing Context, then who/what does?
14:29:55 <nribeka> hm then i can't access the service from standalone app?
14:30:01 <bmckown> you know more about what you're working on than me... i'm just inquiring.
14:30:24 <bmckown> It's made to work that way i thought.
14:30:48 <bmckown> Just seems that someone would have to initialize Context, since it's not a static class.
14:31:21 <bmckown> Have you tried that? Initializing it before you call the startup?
14:33:24 <nribeka> you mean Context c = new Context() then c.startup?
14:33:29 <bmckown> yes
14:33:49 <nribeka> ok ... trying it now.
14:34:16 <r0bby> :|
14:34:24 <bmckown> : |
14:34:35 <nribeka> the same bmckown :(
14:34:52 <bmckown> boo. darn.
14:35:07 <bmckown> i'm stumped.
14:35:45 <bmckown> and i'm not even going to try to answer r0bby's question... r0bby, the 'quick' answer is "i don't know"
14:36:27 <bmckown> and the benmeister is gone for the day/weekend. foobar.
14:36:41 <nribeka> eh where's bwolfe?
14:36:46 <nribeka> he's gone already?
14:37:28 <bmckown> nribeka, didn't sgrannis already make the stand alone application? sorry, i should say james_regen already created the standalone app?
14:37:37 <r0bby> bmckown: I'm thinking ill need to forward to a controller which in turn will load a JSP :X
14:37:43 <bmckown> yea, ben's away for the weekend i think
14:38:02 <r0bby> bmckown: he's my backup mentor
14:38:09 <r0bby> so now both mentors are MIA!
14:38:25 <r0bby> ffs
14:38:31 <bmckown> you've scared them away.
14:38:46 <nribeka> r0bby: lol :D
14:39:30 <nribeka> bmckown, i'll probably create a (simple) web page then to load the patient data :D
14:39:52 <bmckown> sorry 'bout that. i don't have any more ideas at the moment.
14:39:58 <nribeka> originally my plan was creating a simple java app (no gui) to load the patient data from csv file :D
14:40:12 <bmckown> it seems like it 'has' to work.
14:40:15 <bmckown> but.
14:40:43 <bmckown> does hibernate require a web environment to work? hmm. never thought of that.
14:40:52 <nribeka> but i need to to access the context to use the service provided by openmrs api, Context.getPatientService()
14:41:04 <bmckown> doesn't seem right. seems like the stand alone app should work.
14:41:30 <nribeka> hibernate don't need gui, i think
14:41:51 <r0bby> bmckown: no doubt, i drove burke out of the country
14:41:57 <bmckown> well, tomcat or something similar i meant.
14:42:00 <nribeka> anyway, i will create simple page and put them in the Controller then :D
14:42:06 * r0bby beats IDEA
14:42:06 <bmckown> r0bby, hehe.
14:42:18 <bmckown> okay, nribeka
14:42:19 <r0bby> it won't f'en work w/ my subvversion checkout
14:42:20 <r0bby> :|
14:42:25 <nribeka> r0bby, use eclipse :D
14:42:40 <nribeka> bmckown, sorry for interrupting your work :)
14:42:47 <r0bby> when sandy told me i was like "haha burke told her to say a nearby office..."
14:42:55 <bmckown> no problem. sorry i couldn't help more.
14:43:12 <r0bby> MS is epic fail
14:43:19 <nribeka> what did sandy told you r0bby?
14:44:33 <bmckown> that's funny. I understand sandy told r0bby that burke is out of the country and r0bby is suggesting that that was burke's way of eluding r0bby while he was actually still in "a nearby office"
14:44:44 <bmckown> hehe
14:45:39 <nribeka> hehe ... you should come to rg rob and see if he's there :)
14:46:53 <bmckown> it would be a wasted trip
14:46:57 <bmckown> he's not
14:56:12 <r0bby> okay appears idea 7.0.3 doesnt support svn 1.5 format
14:57:00 <r0bby> /jj
14:57:03 <r0bby> er
14:59:25 <r0bby> Vista has to be the most braindead OS ever
15:02:45 <r0bby> /gg
15:13:47 <sgrannis> nribeka: how's it going?
15:13:59 <nribeka> hi sgrannis
15:14:13 <nribeka> still working with the load data now
15:14:27 <nribeka> going for the simple web page way
15:14:40 <sgrannis> do you have a good path forward?
15:15:01 <nribeka> yes with the web page solution
15:16:12 <nribeka> i was thinking it will be simpler to use the openmrs service api outside the web (using simple java class with only "main" method)
15:16:37 <nribeka> but i was unable to get the reference to the service object :D
15:16:53 <nribeka> reverting to simple web page solution now
15:20:55 *** jacobb has quit IRC
15:21:18 <r0bby> I love Groovy GStrings
15:21:45 <r0bby> def f = GroovyFormsUtil.getControllerDirectory(formId).canonicalPath+"/${form.controllerClazzName}.groovy"
15:22:09 <r0bby> :)
15:22:25 <r0bby> I WILL get you all drinking the kool-aid if it's the last thing I do
15:24:00 *** james_regen has quit IRC
15:25:58 *** jacobb has joined #openmrs
15:27:31 <nribeka> wow ... it works now. hacked :D
15:29:28 <r0bby> nribeka: DRINK THE KOOL-AIOD
15:29:31 <r0bby> AID*
15:30:37 <nribeka> what is kool-aid rob? is it another American pop culture references?
15:47:20 <r0bby> Jonestown Cult Mass suicide reference
15:52:28 <r0bby> ##swing);
15:52:28 <r0bby> 15:12 Kog|Work wonder if @NotNull works on varargs
15:52:31 <r0bby> er wrong
15:52:40 <r0bby>
15:52:42 <OpenMRSBot> <> (at
16:19:24 *** sioraiocht has quit IRC
16:39:34 *** [mharrison] has quit IRC
17:06:07 *** atomicturtle has quit IRC
17:10:27 *** sunbiz has joined #openmrs
17:55:04 <sunbiz> hey guys !!
17:55:10 <sunbiz> silent room today ??
17:55:21 <sunbiz> hi bmckown
17:57:24 <bmckown> hi, sunbiz
17:57:52 <sunbiz> bmckown: how goes ??
17:58:11 <bmckown> going well. i see you've committed a lot these days. :-)
17:58:13 <sunbiz> bmckown: did u check the registrationSummary page ??
17:58:30 <bmckown> haven't checked it. updated, but not yet checked.
17:58:40 <sunbiz> yes... had a backlog of commits on a lot of different machines
18:03:33 <sunbiz> bmckown: I just found out that no one in OpenMRS was using AbstractFormController
18:04:03 <sunbiz> every1 was using SimpleFormController when it was not even a form
18:04:30 <bmckown> yes most everywhere is simpleformcontroller (in openmrs code)
18:04:50 <bmckown> just got a stacktrace. darn.
18:05:31 <sunbiz> hhmmmm... on my module ??
18:05:45 <sunbiz> may be NPE on creating the patient...
18:06:09 <bmckown> yup
18:06:11 <sunbiz> its still far from complete because Im finishing the ID uplaoding ATM
18:06:18 <bmckown> no it was with program workflows
18:06:27 <bmckown> do ya want a pastebin?
18:06:33 <sunbiz> yes
18:07:23 <bmckown>
18:07:37 <bmckown> from the jsp page of the summary
18:08:28 <r0bby> sunbiz: i hate your code
18:08:34 <r0bby> scriptlets blow
18:08:50 <sunbiz> r0bby: where r the scriptlets ?
18:09:03 <r0bby> I saw some in one of your JSPs
18:09:06 * bmckown slaps r0bby for scolding my student
18:09:07 <sunbiz> r0bby: any examples ??
18:09:14 <r0bby> i didn't scold :)
18:09:21 <r0bby> I just told him they blow
18:09:23 * bmckown takes back the scold part
18:09:27 <sunbiz> r0bby: I'll fix those if they can be
18:09:37 * bmckown slaps r0bby again.
18:09:39 <r0bby> use EL whenever possible :)
18:10:15 <bmckown> yea. i forgot. folks from ny come off a little brash sometimes.
18:10:40 <sunbiz> r0bby: using EL is not always the best options... I can assure u taglibs can decrease performance for some of the basic task that scriptlets can do faster and better
18:11:12 <r0bby> I hope new specs remove that crap
18:11:28 <r0bby> sunbiz: premature optimization :P
18:11:47 * r0bby shuts up
18:11:48 <sunbiz> r0bby: kindof
18:11:54 <r0bby> not kindof it is
18:12:43 <sunbiz> r0bby: BTW isnt Groovy slower than Java by some generations ??
18:12:47 <sunbiz> :P
18:12:56 <bmckown> :P
18:13:10 <sunbiz> r0bby: does that mean u love slow things in general ?? :P
18:14:49 <bmckown> anyhow, sunbiz i haven't taken any time to investigate that. just pastebinned it at first look.
18:15:16 <sunbiz> bmckown: do u have the demo patient Testarius ??
18:15:32 <sunbiz> I've created that summary page for his patient identifier
18:15:34 <bmckown> no i don't think so.
18:15:48 <bmckown> maybe my demo database has that.
18:15:49 <sunbiz> that seems to be the reason for the exception
18:15:58 <r0bby> sunbiz: Groovy's performance increased drammatically with 1.6
18:16:10 <r0bby> and there is a summer of code project improving performance
18:16:16 <sunbiz> r0bby: but it still is pretty bad compared to Java
18:16:30 <r0bby> in some respects
18:16:30 <sunbiz> r0bby: wanna see some benchmarks ??
18:16:36 <r0bby> No, I'm aware
18:16:45 <sunbiz> r0bby: in every aspect its slower
18:16:56 <r0bby> you benchmarked it?!
18:17:01 * r0bby beats sunbiz up
18:17:16 <sunbiz> yes... for some client's analysis
18:17:22 <r0bby> ah ok
18:17:28 <r0bby> I know it's slow
18:17:42 <r0bby> There's some additional things that occur
18:18:00 * bmckown thinks about kicking r0bby
18:18:06 <r0bby> NO!!!!!
18:18:11 <sunbiz> Groovy isnt for poor guys who dont have Google-like budget for hardware on production systems
18:18:11 *** Keelhaul has joined #openmrs
18:18:11 *** ChanServ sets mode: +v Keelhaul
18:18:13 * r0bby makes a truce with sunbiz
18:18:22 <sunbiz> :P
18:18:29 <r0bby> sunbiz: grails is making headway :)
18:18:49 <sunbiz> grails is making headway in place where rails is already ruling
18:19:28 <sunbiz> why dont we instead use server-side JavaScript instead of Groovy :P
18:19:53 <r0bby> you win
18:19:57 <r0bby> use whatever you want
18:20:01 <nribeka> !karma
18:20:01 <OpenMRSBot> nribeka: Highest karma: "groovy" (31), "bwolfe" (30), and "burke" (12). Lowest karma: "r0bby" (-6), "scriptlets" (-1), and "--- ping statistics -" (-1). You (nribeka) are ranked 12 out of 63.
18:20:15 <sunbiz> r0bby: I know... it was even before we started the discussion !! ;)
18:20:28 <r0bby> groovy wins see :)
18:21:00 <nribeka> upss ...
18:21:02 <sunbiz> yea... with all the OpenMRS biggies supporting Groovy... y shouldnt it win!!
18:21:34 <sunbiz> r0bby, his mentor are atleast two of the biggest guys I know in OpenMRS :P
18:21:47 <bmckown> i don't think we plan to rewrite openmrs in groovy anytime soon.
18:22:10 <r0bby> I plan on writing it in grails
18:22:21 <bmckown> if they heard that sunbiz they would not be happy.
18:22:34 <sunbiz> that'll probably kill the Kenya servers first... :P
18:22:43 <bmckown> YOU guys are the biggest guys in openmrs.
18:23:04 <r0bby> Somebody remind me why i decided to design this module the way i did
18:23:13 <sunbiz> bmckown: I know man... it was just to get r0bby boy started!!
18:23:33 <nribeka> bmckown, i got Context thing working
18:23:36 <r0bby> and why the heck does the dtd for config.xml not conclude converters?
18:23:42 <nribeka> but still a hack :P
18:23:52 <bmckown> i saw that earlier, nribeka... with the simple web page you said?
18:24:04 <bmckown> right?
18:24:17 <nribeka> nah, outside web :P
18:24:23 <bmckown> what!!?
18:24:26 <bmckown> wow!!
18:24:34 <bmckown> what did you do?
18:24:52 <nribeka> hehe ... it's still a hack
18:24:58 <sunbiz> r0bby: BTW... what do u think of writing <script> tag to have JavaScript inside a JSP/HTML page ??
18:25:04 <bmckown> a hack that works.
18:25:13 <r0bby> sunbiz: you have to :P
18:25:39 <sunbiz> r0bby: really... u have to!!! I thought they called something unobstrctive JavaScript
18:25:45 <nribeka> bypass the database version checking but still passing the username and pssword
18:25:55 <r0bby> sunbiz: get back tow rok before i beat you up
18:25:58 <sunbiz> write a separate JS file ??
18:26:01 * r0bby shakes his fist
18:26:22 <nribeka> lol ... chill out guys :P
18:26:22 <sunbiz> r0bby: what... I caught ur tongue... so u show me ur fist !! :P
18:26:25 * r0bby beats sunbiz up
18:26:35 <r0bby> bring it on..BRING IT
18:26:48 *** r0bby was kicked by bmckown (bmckown)
18:26:49 <sunbiz> r0bby: stop it man... it hurts dude!! u r the macho... Im just a kiddie!!
18:26:52 *** r0bby has joined #openmrs
18:26:52 *** ChanServ sets mode: +v r0bby
18:26:58 <r0bby> oh no you didn't
18:27:02 <bmckown> I LOVE doing that!
18:27:31 <sunbiz> hahahaha... long live bmckown!!! He's my mentor.... what was r0bby expecting!!
18:28:14 <nribeka> hahaha ...
18:33:01 * r0bby hugs sunbiz
18:33:20 * sunbiz loves r0bby too
18:34:16 <nribeka> lol ... funny stuff guys :D
18:34:38 * sunbiz loves nribeka and bmckown also !!
18:34:52 * sunbiz loves the girls too !!
18:34:54 <sunbiz> :P
18:35:24 <nribeka> lol ... we all love you guys.
18:36:07 <bmckown> boy. it's getting kind of fluffy in here.
18:36:24 <bmckown> yea yea love all around. you guys are great.
18:36:25 <sunbiz> man... its 5:05hrs and Im loving people... gotta get back to code... Just 15 days left for GSoC to end!!
18:36:32 <bmckown> NOW BACK TO WORK!
18:36:38 <r0bby> shit 15 days
18:36:38 <bmckown> :-)
18:36:41 <sunbiz> cya guys !!
18:36:47 <bmckown> bye sunbiz
18:36:57 <r0bby> I still have to figure out how to edit the form
18:37:01 <nribeka> cya sunbiz
18:37:06 <r0bby> :X
18:37:15 <sunbiz> bye r0bby... and thanks for thought of keeping view and stuff separate
18:37:40 <sunbiz> r0bby: but it includes u and others doing the JavaScript thing... :P
18:37:42 <sunbiz> bye !!
18:37:56 *** sunbiz has left #openmrs
18:39:05 * r0bby is transferring stuff
18:39:13 <r0bby> I need burke now :|
18:39:25 <r0bby> need ot figure out how best to go about the next step
18:39:30 <bmckown> :|
18:40:09 <r0bby> bmckown: I just don't think business logic has any place in the view layer :)
18:40:14 <r0bby> sorry to scold :X
18:40:20 *** sunbiz has joined #openmrs
18:40:26 <bmckown> that was fine. i was having fun more than anything.
18:40:41 <sunbiz> bmckown: sorry for comig back so soon :P
18:40:54 <bmckown> you're funny.
18:40:59 <r0bby> sunbiz: i just believe that the business logic has no place in the view layer
18:41:05 <sunbiz> but can I file an RFE for getting .summary in the dispatcher for the controller ??
18:41:10 <bmckown> yes there's a time limit before you can rejoin the chat room.
18:41:12 <r0bby> efficient or inefficient its moot
18:41:32 <bmckown> rfe?
18:41:43 <sunbiz> Request For Enhancement
18:41:57 <sunbiz> thats what I think wishlists are called in java world !!
18:42:11 <bmckown> ah. uh, why not?
18:42:14 <sunbiz> or feature requests
18:42:16 <r0bby> it's called that in the software engineering field period
18:42:25 <bmckown> i hated that class.
18:42:51 <r0bby> sunbiz: how's your Java web app skills
18:43:09 <sunbiz> r0bby: is that a question or a comment ??
18:43:18 <r0bby> do you have any idea to refer to a JSP file on the server, but not withion the servlet context
18:43:35 <r0bby> ie with the openmrs application directory
18:43:57 <sunbiz> nope... that would mean ur source is ready for the world to look at !!
18:44:22 <r0bby> hrm
18:44:42 <r0bby> can an include directive load from anywhere on the server?
18:44:59 <sunbiz> actually there was an exploit in apache in 1.1
18:45:39 <sunbiz> yes, if its part of ur webap
18:46:23 <sunbiz> and I think there was also another exploit for mod_jk
18:46:47 <sunbiz> r0bby: why u asking ??
18:47:06 <r0bby> because that's where im loading the view
18:47:16 <r0bby> ugh
18:47:54 <r0bby> I love my finger print reader
18:47:54 <sunbiz> ok...cya guys!!
18:47:56 <r0bby> hey new idea for modules
18:48:05 <r0bby> registration using fingerprints!
18:48:14 * r0bby has a reader to test it!
18:48:27 <sunbiz> wow...really in ur new laptop
18:48:34 <r0bby> it's integrared
18:48:40 <r0bby> Dell Studio 17
18:48:47 <r0bby> it's a REALLY new laptop ;ome
18:48:49 <r0bby> line*
18:48:52 <sunbiz> awesome... u know how to beat it ?
18:49:21 <r0bby> no
18:49:28 <r0bby> I have my thumb and index fingers enrolled
18:49:31 <sunbiz> its pretty lame to beat actually... try Googling
18:49:47 <r0bby> lame = easy?
18:50:02 <sunbiz> yes... easy
18:50:26 <sunbiz> thats why real secure places prefer retinal scanning
18:50:43 <sunbiz> ok... cya guys!!
18:51:01 *** sunbiz has left #openmrs
18:51:36 <r0bby> hehe
18:52:36 <bmckown> laptop arrived, r0bby ?
18:54:24 <r0bby> bmckown: yeh been getting it working for the past 2 days
18:54:31 <r0bby> just got IDEA working
19:14:11 *** sioraiocht has joined #openmrs
19:38:47 *** njero has quit IRC
19:40:22 *** sioraiocht has quit IRC
20:22:46 *** sioraiocht has joined #openmrs
20:32:39 *** bmckown has quit IRC
22:05:21 *** [mharrison] has joined #openmrs
22:26:00 *** sioraiocht has quit IRC
23:42:39 *** njero has joined #openmrs
23:42:40 *** ChanServ sets mode: +v njero
  • No labels