00:14:43
|
<OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [4747]: groovyforms: remove syntax checking tests <http://dev.openmrs.org/changeset/4747> || OpenMRS Changesets: Changeset [4746]: groovyforms: Class Loading/model syntax checking is done in a servlet now; ⦠<http://dev.openmrs.org/changeset/4746>
|
01:33:10
|
*** nribeka has quit IRC
|
02:25:52
|
*** sioraioc_ has quit IRC
|
02:26:13
|
*** shahid__ has joined #openmrs
|
02:26:43
|
*** shahid__ is now known as maveriick
|
02:37:35
|
*** sioraiocht has joined #openmrs
|
02:59:17
|
*** maveriick has quit IRC
|
02:59:32
|
*** sioraioc_ has joined #openmrs
|
03:08:44
|
*** openmrs_newbenbe has joined #openmrs
|
03:11:51
|
*** sioraiocht has quit IRC
|
03:15:20
|
*** cancerb0y has joined #openmrs
|
03:18:05
|
*** maveriick has joined #openmrs
|
03:19:15
|
*** maveriick has quit IRC
|
03:21:07
|
*** openmrs_newbenbe has quit IRC
|
03:23:46
|
*** cancerb0y has left #openmrs
|
03:26:30
|
*** TorLye has joined #openmrs
|
03:29:14
|
*** sioraioc_ has quit IRC
|
05:58:22
|
*** shahid_ has joined #openmrs
|
05:58:37
|
*** shahid_ is now known as maveriick
|
05:59:00
|
<maveriick> hi evreybody
|
06:08:24
|
*** james_regen has joined #openmrs
|
06:08:24
|
*** ChanServ sets mode: +v james_regen
|
06:19:56
|
<maveriick> I have a question regarding extension point .....
|
06:24:46
|
<maveriick> Anyone listening?
|
06:44:12
|
*** upul has quit IRC
|
06:44:56
|
*** maveriick has quit IRC
|
07:19:59
|
*** bwolfe has joined #openmrs
|
07:19:59
|
*** ChanServ sets mode: +o bwolfe
|
07:57:44
|
*** upul has joined #openmrs
|
08:06:40
|
*** atomicturtle has quit IRC
|
08:06:50
|
*** upul has quit IRC
|
08:07:22
|
*** upul has joined #openmrs
|
08:08:39
|
*** njero has joined #openmrs
|
08:08:39
|
*** ChanServ sets mode: +v njero
|
08:18:50
|
<OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #890 (enhancement created): Show hl7_in_error rows in the webapp <http://dev.openmrs.org/ticket/890> || OpenMRS Tickets: Ticket #881 (task closed): View Fields Privilege Required but doesn't exist <http://dev.openmrs.org/ticket/881#comment:1> || News Blog: OpenMRS 1.3.0 RC4 Released <http://blog.openmrs.org/?p=73>
|
08:21:42
|
*** nribeka has joined #openmrs
|
08:41:02
|
*** upul has quit IRC
|
09:11:39
|
*** atomicturtle has joined #openmrs
|
09:44:50
|
*** bmckown has joined #openmrs
|
09:44:50
|
*** ChanServ sets mode: +o bmckown
|
09:52:22
|
*** TorLye has quit IRC
|
09:55:21
|
*** TorLye has joined #openmrs
|
09:59:10
|
*** maveriick has joined #openmrs
|
09:59:13
|
*** shahid_ has joined #openmrs
|
09:59:16
|
*** maveriick has quit IRC
|
09:59:32
|
*** shahid_ is now known as maveriick
|
09:59:50
|
*** upul has joined #openmrs
|
09:59:55
|
<maveriick> hi ben
|
10:00:01
|
<bwolfe> hey mav
|
10:01:30
|
<maveriick> Say I want to use an extension point like patient dashboard tab..... I can point a protlet to that extension point ...which will receive all the model data of patient dashboard form
|
10:02:43
|
<maveriick> Say I want to load some data from DB for my just implemented dashboard tab extension point .... what should be the Ideal approach?
|
10:03:35
|
<bwolfe> maveriick: your portlet should have a controller behind it
|
10:04:04
|
<bwolfe> maveriick: and that controller should make data available. the controller should do the calls to the database (actually, calls to the service layer)
|
10:04:50
|
<maveriick> Hmm ....but If I am satisfied with all the data in dashboard form ....I might not need any controller ....
|
10:07:34
|
<bwolfe> true
|
10:11:33
|
<bwolfe> r0bby: at one point I was told "compiling jsps into classes is pretty easy: http://tomcat.apache.org/tomcat-5.5-doc/jasper-howto.html"
|
10:12:12
|
<bwolfe> r0bby: I haven't looked at it...but it might be an option (but only if there is a generic way to do it....not just a tomcat-specific way)
|
10:13:43
|
*** TorLye_ has joined #openmrs
|
10:29:36
|
<maveriick> bwolfe, Say for LinkExt there is a method getURL to override to provide the controller url mapping .....but for extension like PatientDashboardTabExt there is just a method getPortletUrl to override ...
|
10:30:18
|
<maveriick> bwolfe: in the later case what would be way to back my portlet with a controller?
|
10:31:46
|
*** TorLye has quit IRC
|
10:35:05
|
*** TorLye_ is now known as TorLye
|
10:40:43
|
*** Nzeyi has joined #openmrs
|
10:54:40
|
<Nzeyi> Hi everybody
|
11:00:51
|
*** jacobb has quit IRC
|
11:05:02
|
*** jacobb has joined #openmrs
|
11:05:12
|
*** jacobb has quit IRC
|
11:05:27
|
*** jacobb has joined #openmrs
|
11:06:19
|
*** Nzeyi has quit IRC
|
11:09:58
|
*** Nzeyi has joined #openmrs
|
11:14:58
|
*** Nzeyi has quit IRC
|
11:16:47
|
*** maveriick has quit IRC
|
11:19:00
|
*** upul has quit IRC
|
11:21:56
|
<r0bby> bwolfe: i'm gonna test RequestDispatcher soon as i get template generation squared away
|
11:22:18
|
<r0bby> =
|
11:22:24
|
<r0bby> =)
|
11:23:09
|
<bwolfe> hmm, missed maceriick :-/
|
11:23:28
|
<bwolfe> to answer his question: the way to back a portlet with a controller is to map it in your moduleApplicationContext
|
11:23:40
|
<bwolfe> look at openmrs-servlet.xml to see how it is mapped there and do a similar thing
|
11:24:04
|
<bwolfe> you will need to set the <order> element on your module's urlMappings in the moduleApplicationContext too
|
11:24:19
|
<r0bby> The pathname must begin with a "/" and is interpreted as relative to the current context root. Use getContext to obtain a RequestDispatcher for resources in foreign contexts. This method returns null if the ServletContext cannot return a RequestDispatcher.
|
11:24:23
|
<r0bby> it wont work
|
11:25:10
|
<r0bby> unless i explicitly specify the path
|
11:38:52
|
*** atomicturtle1 has joined #openmrs
|
11:39:47
|
*** atomicturtle has quit IRC
|
11:52:46
|
*** TorLye has quit IRC
|
11:53:16
|
*** TorLye has joined #openmrs
|
11:58:13
|
*** pombreda1 has quit IRC
|
12:13:32
|
*** nribeka_ has joined #openmrs
|
12:14:51
|
*** nribeka has quit IRC
|
12:21:13
|
*** TorLye has quit IRC
|
12:22:21
|
*** nribeka_ has quit IRC
|
12:35:36
|
*** cancerb0y has joined #openmrs
|
12:36:02
|
*** TorLye has joined #openmrs
|
12:52:15
|
<OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #891 (task created): Syncing concepts broken with deleted and added concept_id <http://dev.openmrs.org/ticket/891>
|
13:00:08
|
*** pombreda has joined #openmrs
|
13:00:08
|
*** ChanServ sets mode: +v pombreda
|
13:02:45
|
*** vagrawal has joined #openmrs
|
13:13:19
|
*** nribeka has joined #openmrs
|
13:40:39
|
*** bwolfe has quit IRC
|
13:50:18
|
*** atomicturtle1 is now known as atomicturtle
|
13:52:08
|
<cancerb0y> bmckown: hi brian
|
13:52:45
|
<cancerb0y> bmckown: do we have any autocomplete javascript library in the openmrs source??
|
13:54:16
|
<bmckown> Hi, Sri Prasanna... well
|
13:54:58
|
<bmckown> we use dojo in openmrs core. in a module you can use a different library if you want.
|
13:55:07
|
* bmckown recommends jquery
|
13:55:11
|
<OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #892 (defect created): Hl7 processor should ignore Problem List as grouped concept <http://dev.openmrs.org/ticket/892>
|
13:55:37
|
<cancerb0y> bmckown: cool... i was thinking of the same...
|
13:56:24
|
<bmckown> but for autocompletion, i don't know if the dojo in openmrs has anything for that. it might.
|
13:56:27
|
<cancerb0y> bmckown: so hows my code??? i fixed few bugs but yet to complete the autocomplete thing.. if thats done then it would facilitate admin to create locations easily
|
13:57:51
|
<cancerb0y> bmckown: no problem... I can manage it with jquery... i thought i could do that with dwr itself.. but then it was so complicating
|
13:57:54
|
<bmckown> i was hoping for maybe an easier way to create locations. Do you have to fill in every blank to create a location?
|
13:58:19
|
<bmckown> I mean fill in the entire hierarchy each time you create a location?
|
13:59:01
|
<cancerb0y> Thats y im looking for autocomplete... wouldnt that make it easier??
|
13:59:39
|
<bmckown> I thought by autocompletion you meant something like tab completion. no?
|
14:01:05
|
<cancerb0y> yeah the one as in http://nodstrum.com/2007/09/19/autocompleter/
|
14:01:39
|
<cancerb0y> bmckown: is that a bad idea?
|
14:02:08
|
<bmckown> The link looks good... I think you should be able to add any kind of location and say what it is...
|
14:02:23
|
<bmckown> and then the hierarchy is taken care of in the background.
|
14:03:13
|
<bmckown> Or maybe I'm not understanding this page: http://localhost:8080/openmrs/module/addresshierarchy/addresshierarchy.form
|
14:03:47
|
<bmckown> It looks like you have to create the location and the hierarchy at the same time.
|
14:04:53
|
<cancerb0y> bmckown: i thought that would be more easier for admin to create locations without any complications... all he needs is to fill the columns... the hierarchy is managed but the system as in the order...
|
14:05:24
|
<cancerb0y> bmckown: with autocompletion it would be more easier to fill it...
|
14:06:09
|
<bmckown> Yea, maybe that's it. What if I want to add a location but don't have all of the information to fill in every field. Looks like all the fields are required right now.
|
14:07:03
|
<cancerb0y> bmckown: even i had the same question in my mind and asked ben... he said as of now i need not worry abt that...
|
14:07:04
|
<bmckown> I was thinking something like: Create hierarchy: Country --> Province --> City --> Street
|
14:07:29
|
<bmckown> Then add location Main=name Street=type
|
14:08:53
|
<bmckown> Right now can I create 3 locations and have them fit in some kind of hierarchy and use them somewhere?
|
14:12:17
|
<cancerb0y> bmckown: i have designed it something like this... if i ve locations like this USA(country)--> x(state)--> y(city/sublocation1) and Uganda(country)-->xx(city/sublocation1)... i create the hierarchies as in the order then if i go to edit location i click on USA next i get option for states but if i click in uganda i get options for sublocation1/city...
|
14:12:39
|
<cancerb0y> i thought i could design something like this in the trunk
|
14:12:52
|
<bmckown> Can you walk me through that so I can do it?
|
14:13:48
|
<cancerb0y> ofcourse... one sec let me commit the changes
|
14:13:58
|
<bmckown> okay.
|
14:21:38
|
<cancerb0y> yeah committed... could you please update the module source? I have fixed a bug in that
|
14:22:49
|
<bmckown> okay
|
14:26:36
|
<cancerb0y> bmckown: updated?
|
14:26:44
|
<bmckown> So I go to this page and want to enter in what I know about my address off the top of my head.... Country=USA, State=Indiana, Sublocation1=Carmel, PostalCode=46032 and press Create Hierarchy and get java.lang.NoSuchMethodError, java.lang.String.isEmpty()
|
14:26:51
|
<bmckown> (updated)
|
14:27:57
|
<bmckown> So as a user I'm not sure how to use the create hierarchy page. All of the fields are required?
|
14:28:00
|
<cancerb0y> Thats not possible... It works fine here
|
14:28:11
|
<cancerb0y> No not all fields are required
|
14:32:10
|
*** cancerb0y has left #openmrs
|
14:32:49
|
*** cancerb0y has joined #openmrs
|
14:33:14
|
<cancerb0y> bmckown: do u still get error after updating??
|
14:33:21
|
*** rfoecking has joined #openmrs
|
14:33:48
|
<bmckown> http://pastebin.com/d58074956
|
14:34:15
|
<bmckown> specifically: AddressHierarchyFormController.java:116
|
14:35:54
|
<cancerb0y> can u try with the module im sending you right now?
|
14:36:15
|
<bmckown> okay
|
14:36:46
|
<bmckown> It might just be the way you are handling .isEmpty() with a null value. Remember, I'm compiling with java 1.5
|
14:38:51
|
<bmckown> hmm i seem to have misplaced the omod you sent.
|
14:39:36
|
<bmckown> there it is.
|
14:40:48
|
<cancerb0y> bmckown: is that not advisable to use isempty()?
|
14:42:18
|
<bmckown> It might be the fact that isEmpty() is Java 6
|
14:42:50
|
<cancerb0y> so does it works properly with the module i sent??
|
14:43:12
|
<bmckown> It doesn't load since I'm running openmrs compiled with java 5
|
14:43:14
|
<cancerb0y> try creating different hierarchies for different countries
|
14:43:40
|
<cancerb0y> oh... let me check whether i can broadcast it from my system
|
14:45:49
|
<bmckown> I'll just recompile openmrs with java 6
|
14:46:12
|
<cancerb0y> bmckown: one sec try to load this http://192.168.1.2:8080/ahs
|
14:47:41
|
<cancerb0y> there will be few js alerts please ignore that
|
14:48:20
|
<bmckown> It's still loading. I've recompiled in java 6... might need to restart tomcat.
|
14:50:03
|
<cancerb0y> i think i ve compiled my openmrs java 5.. but y it works fine with me??
|
14:50:41
|
<cancerb0y> my compiler level is 5.0 only
|
14:52:02
|
<cancerb0y> so does that work fine now?
|
14:52:32
|
<bmckown> hmm. no i still cannot load your compiled omod.
|
14:53:25
|
*** james_regen has quit IRC
|
14:53:29
|
<bmckown> are you sure your compiler is 5.0? don't know how you could even use String.isEmpty() if that were the case.
|
14:56:46
|
<cancerb0y> try with this module im sending you now
|
14:57:27
|
<bmckown> okay
|
14:57:30
|
<cancerb0y> yeah im 100% sure... i have set my openmrs to 5.0 compiler level
|
14:59:14
|
<bmckown> gimme a few minutes. didn't get a clean undeploy and have to manually remove openmrs from webapps folder
|
14:59:21
|
<cancerb0y> okay
|
15:01:16
|
<bmckown> I hate it when that happens.
|
15:05:42
|
<bmckown> I hate it when that happens.
|
15:06:41
|
<cancerb0y> bmckown: does that works fine now??
|
15:07:03
|
<bmckown> I hate it when that happens.
|
15:07:11
|
<bmckown> nah. still trying to reload openmrs.
|
15:07:17
|
<cancerb0y> oops
|
15:07:25
|
<bmckown> that's okay. it happens.
|
15:07:27
|
<bmckown> just that...
|
15:07:31
|
<bmckown> I hate it when that happens.
|
15:07:44
|
<cancerb0y> and you hate it when that happens :P
|
15:07:50
|
*** sgrannis has joined #openmrs
|
15:07:56
|
*** ChanServ sets mode: +v sgrannis
|
15:08:19
|
<sgrannis> nribeka: are you available for a quick phone call?
|
15:08:58
|
<nribeka> right now?
|
15:15:42
|
<bmckown> okay, cancerb0y I have openmrs back. but still getting UnsupportedClassVersionError with your latest omod you sent.
|
15:16:49
|
<cancerb0y> oh no... how come??
|
15:17:15
|
<bmckown> Do you have this in your build.xml file? <compilerarg line="-target 1.5" />
|
15:17:31
|
<bmckown> Line 60, 66, and 74
|
15:18:13
|
<bmckown> actually, line 66 would be: <compilerarg line="-target 1.5 -g" />
|
15:21:23
|
<cancerb0y> no i dint ve... now i have corrected it ... hope it works now... im sending you the module
|
15:23:03
|
<cancerb0y> bmckown: now??
|
15:23:27
|
<bmckown> weird. it works.
|
15:23:44
|
<bmckown> and I'm able to create a location.
|
15:23:55
|
*** njero has quit IRC
|
15:24:13
|
<cancerb0y> have a particular hierarchy for a country
|
15:24:24
|
<cancerb0y> try with different countries
|
15:24:50
|
<cancerb0y> and then u go to manage hierarchy page... u can see how the hierarchies are managed in the backend
|
15:24:59
|
<bmckown> I put in the same as I mentioned before. USA, Indiana, Carmel, 46032.
|
15:25:19
|
<cancerb0y> you can try in manage hierarchy page
|
15:25:32
|
<cancerb0y> first u ll get list of countries
|
15:26:13
|
<bmckown> Yes. got the list of countries.
|
15:26:22
|
<cancerb0y> then select a country
|
15:26:28
|
<bmckown> selected USA
|
15:26:44
|
<cancerb0y> u ll get list of states then
|
15:26:49
|
<cancerb0y> select indiana
|
15:26:54
|
<bmckown> mmm. no list of states.
|
15:27:07
|
<cancerb0y> wat about indiana??
|
15:27:25
|
<bmckown> it's in the database, though.
|
15:27:47
|
<cancerb0y> u created indiana as state right??
|
15:28:18
|
<bmckown> yes.
|
15:28:21
|
<bmckown> twice
|
15:28:33
|
<r0bby> bmckown: i sent my resume out w/ only GSoC on it
|
15:28:41
|
<r0bby> I managed to write a decent resume :)
|
15:29:05
|
<cancerb0y> im sending u the screenshot
|
15:29:06
|
<r0bby> I keep a checkout of all the modules on my system
|
15:29:12
|
<r0bby> I wanna see
|
15:29:16
|
<cancerb0y> this is how it looks in my page
|
15:29:19
|
<r0bby> http://papernapkin.org
|
15:29:23
|
<r0bby> http://papernapkin.org/pastebin
|
15:29:53
|
* r0bby sighs
|
15:30:23
|
<r0bby> hey bmckown -- idea for a module -- integrate wicket into it =)
|
15:30:34
|
*** vagrawal has quit IRC
|
15:30:38
|
* r0bby has a wicket book coming
|
15:30:59
|
<bmckown> cool, r0bby. good
|
15:31:47
|
<cancerb0y> bmckown: could you please look at the screenshot
|
15:31:57
|
<r0bby> it allows you to put java code in java code -- and html in html no JSP
|
15:32:29
|
<bmckown> can you send it again?
|
15:34:02
|
<r0bby> shit totem won't die
|
15:34:45
|
<bmckown> hmm doesn't seem to arrive. ever. hmm.
|
15:35:36
|
<cancerb0y> http://img136.imageshack.us/my.php?image=fireshotcapture1openmrsyi7.png
|
15:35:37
|
<OpenMRSBot> <http://ln-s.net/1zKJ> (at img136.imageshack.us)
|
15:35:45
|
<cancerb0y> u can try with tat
|
15:36:28
|
<bmckown> ok
|
15:37:00
|
<cancerb0y> bmckown: do u get manage hierarchy page like that??
|
15:37:14
|
<bmckown> no it just shows USA
|
15:38:05
|
<bmckown> so when you create the hierarchy, do you only create one part at a time or all at once?
|
15:38:23
|
<r0bby> cancerb0y: update your database
|
15:38:43
|
<r0bby> why aren't you running off of svn?
|
15:41:09
|
<cancerb0y> see if the hierarchy is created like usa-->indiana-->carmel-->46032 for the first time then it will store all of them but when you do the same with same country and state but different city then only that city is saved
|
15:41:53
|
*** r0bby has quit IRC
|
15:42:52
|
<cancerb0y> bmckown: im completely blind about the things i get in the manage hierarchy page
|
15:42:54
|
<cancerb0y> :(
|
15:43:04
|
<bmckown> ?
|
15:43:27
|
<cancerb0y> sorry things u get in the manage hierarchy page
|
15:44:13
|
<bmckown> okay. yea the first time i did usa-->indiana-->carmel-->46032
|
15:44:24
|
<bmckown> and only saw country=usa in the list.
|
15:44:38
|
<bmckown> then I added kenya-->eldoret
|
15:44:42
|
<bmckown> and only saw country=usa in the list.
|
15:44:48
|
<bmckown> and country=kenya
|
15:45:02
|
<bmckown> then added state=indiana by itself.
|
15:45:20
|
<bmckown> but still only see countries available on manage hierarchy page.
|
15:46:00
|
<cancerb0y> even on changin the countries u dont get ur hierachy changed??
|
15:48:42
|
<cancerb0y> bmckown: could you please give a try to this link once again? http://192.168.1.2:8080/ahs
|
15:48:57
|
<cancerb0y> bmckown: i would be little slow though
|
15:51:13
|
<bmckown> i tried it but it didn't load.
|
15:51:44
|
<cancerb0y> :(
|
15:51:46
|
<cancerb0y> :9
|
15:51:49
|
<cancerb0y> :(
|
15:52:56
|
<cancerb0y> bmckown: if u have firebug installed in ur firefox could you please tell whats the post sent and response received on clicking USA
|
15:53:20
|
<bmckown> okay. i'll look in a sec. brb.
|
15:56:25
|
<TorLye> cancerb0y: the url you posted is a local IP-address, it only works on your local network.
|
15:58:06
|
<bmckown> sgrannis, I think that should fix it. can you try now?
|
16:00:10
|
<sgrannis> bmckown: trying now
|
16:00:15
|
*** TorLye has quit IRC
|
16:01:56
|
*** TorLye has joined #openmrs
|
16:02:19
|
<sgrannis> bmckown: works now -- thanks!
|
16:02:53
|
<bmckown> cool that's good.
|
16:04:05
|
*** sioraiocht has joined #openmrs
|
16:04:19
|
<cancerb0y> bmckown: could you please tell me the post and responses when u select a country
|
16:05:06
|
<bmckown> cancerb0y, I'm looking at that. do you mean in the console section of firebug?
|
16:05:55
|
<bmckown> Post is: callCount=1 c0-scriptName=AddressHierarchy c0-methodName=getCountryList c0-id=5380_121485847452 xml=true
|
16:05:58
|
<cancerb0y> bmckown: yeah right there
|
16:06:16
|
<bmckown> Response is: var s0=[];var s1="USA";s0[0]=s1;
|
16:06:17
|
<bmckown> var s2="Kenya";s0[1]=s2;
|
16:06:17
|
<bmckown> DWREngine._handleResponse('5380_1214858474528', s0);
|
16:06:47
|
<cancerb0y> wat about the post after selecting a country?
|
16:07:18
|
<bmckown> getLocationCount ?
|
16:07:34
|
<bmckown> or getNextComponent?
|
16:07:53
|
<cancerb0y> getNextComponent
|
16:08:25
|
<bmckown> Post is: callCount=1
|
16:08:25
|
<bmckown> c0-scriptName=AddressHierarchy
|
16:08:25
|
<bmckown> c0-methodName=getNextComponent
|
16:08:25
|
<bmckown> c0-id=4328_1214860078598
|
16:08:25
|
<bmckown> c0-e1=string:1
|
16:08:27
|
<bmckown> c0-e2=string:0
|
16:08:29
|
<bmckown> c0-e3=string:USA
|
16:08:31
|
<bmckown> c0-param0=Array:[reference:c0-e1,reference:c0-e2,reference:c0-e3]
|
16:08:33
|
<bmckown> xml=true
|
16:08:48
|
<bmckown> and Response is: var s0 = "java.lang.String.isEmpty()Z";
|
16:08:48
|
<bmckown> DWREngine._handleServerError('4328_1214860078598', s0);
|
16:08:48
|
<cancerb0y> post is fine... it should work well then
|
16:09:23
|
<bmckown> Are you using firefox 3 or 2?
|
16:09:51
|
<cancerb0y> i use 3
|
16:10:47
|
<bmckown> same here.... but seamonkey gives me the same result. I can select country, but nothing happens after that.
|
16:12:03
|
<cancerb0y> u created location like this na... country-->usa state-->indiana sublocation1-->carmel and postalcode-->46032 right??
|
16:13:22
|
<cancerb0y> the same hierarchy works pretty well with my system...
|
16:14:16
|
<cancerb0y> even it works well in internet explorer 6
|
16:17:08
|
*** r0bby has joined #openmrs
|
16:17:08
|
*** ChanServ sets mode: +v r0bby
|
16:19:25
|
<bmckown> cancerb0y, yes, that's correct.
|
16:20:41
|
* cancerb0y scratches his head
|
16:21:35
|
<bmckown> I'll maybe empty the database and try again...
|
16:22:41
|
<bmckown> lemme try to send you a png.
|
16:24:19
|
<cancerb0y> bmckown: not received
|
16:24:27
|
<bmckown> hmm.
|
16:24:33
|
<cancerb0y> bmckown: could you please send it once again
|
16:24:37
|
<bmckown> sure
|
16:25:43
|
*** sgrannis has quit IRC
|
16:25:45
|
<bmckown> https://www.slashtmp.iu.edu/public/download.php?FILE=bmckown/48934KpoQae
|
16:25:48
|
<OpenMRSBot> <http://ln-s.net/1zL6> (at www.slashtmp.iu.edu)
|
16:27:13
|
<bmckown> so Indiana has been accidentally added twice let's say.
|
16:27:51
|
<cancerb0y> bmckown: yeah indiana and eldoret at 7 and 8 will never be displayed...
|
16:28:38
|
<bmckown> What happens when one Indiana is a state of USA and the other is not... maybe I get this effect.
|
16:28:42
|
<OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #797 (defect closed): Second XML configuration file not loading properly <http://dev.openmrs.org/ticket/797#comment:1> || OpenMRS Tickets: Ticket #807 (enhancement closed): Add text box to to enter match score threshold on RecMatch Session Tab (tab 3) <http://dev.openmrs.org/ticket/807#comment:1> || OpenMRS Tickets: Ticket #877 (enhancement closed): Maintain history of recent configuration files loaded in RecMatch GUI <http://dev.openmrs.org/ticket/877#comment:1>
|
16:28:42
|
<cancerb0y> bmckown: even then ur table looks really fine... manage hierarchy page must work fine for this
|
16:28:53
|
<bmckown> Let me delete those two from database.
|
16:29:37
|
<cancerb0y> bmckown: u mean if u ve indiana as state under usa and kenya right?? i will not affect at all...
|
16:29:56
|
<cancerb0y> bmckown: since the hierarchy is built up with parentid and typeid
|
16:30:02
|
<bmckown> if Indiana is a state under USA and also a state under null.
|
16:30:23
|
<bmckown> I see. cool.
|
16:30:38
|
<bmckown> it should not adversely affect anything.
|
16:31:10
|
<cancerb0y> any other location type other than country with parent location null will not be listed at all
|
16:34:14
|
<bmckown> okay. I deleted all rows in the table and recreated the USA-->Indiana-->Carmel-->46032 to no avail.
|
16:34:17
|
<cancerb0y> i have designed the algorithm to reproduce the hierarchy simply with parent location id and type id of its next hierarchy component... if i have uganda and it has no states only sub location 1... on selecting uganda the state drop down gets disabled and the values are loaded in the sublocation1 dropdown
|
16:34:29
|
<bmckown> Still only lists countries on the manage hierarchy page.
|
16:34:43
|
<cancerb0y> bmckown: even on selecting usa??
|
16:34:46
|
<bmckown> yes.
|
16:37:32
|
<cancerb0y> bmckown: how weird even i deleted all rows and tried the same it works well with me
|
16:37:58
|
<bmckown> yea.
|
16:38:11
|
<cancerb0y> let me once again send my module please try with it again...
|
16:39:20
|
<cancerb0y> bmckown: did u receive it?
|
16:39:36
|
*** nribeka has quit IRC
|
16:39:48
|
<bmckown> yes
|
16:40:10
|
<bmckown> no change in outcome though
|
16:41:10
|
* cancerb0y smashes his computer
|
16:41:41
|
<bmckown> sorry
|
16:42:18
|
<bmckown> maybe time to try again later?
|
16:42:30
|
<bmckown> Isn't it about 3:00 am there?
|
16:42:48
|
<cancerb0y> yep :)
|
16:43:14
|
<bmckown> yea, at that hour it's too tempting to smash computers.
|
16:43:35
|
<bmckown> besides... I probably need to get going, too.
|
16:47:23
|
* r0bby not in the mood to code ;:<
|
16:49:32
|
*** bmckown has quit IRC
|
16:53:05
|
*** Echidna has quit IRC
|
16:53:57
|
<cancerb0y> r0bby: hey hows ur reverse ajax going??
|
16:54:21
|
<r0bby> It's done
|
16:54:24
|
<r0bby> and works
|
16:54:25
|
<r0bby> :)
|
16:54:34
|
<cancerb0y> cool ;-)
|
16:55:54
|
*** Echidna has joined #openmrs
|
17:00:23
|
<r0bby> cancerb0y: it does a GET operation on my servlet
|
17:00:35
|
<r0bby> my servlet returns XML and the JS processes it
|
17:01:27
|
<r0bby> only thing is, the XML Is kinda slow but that's probably something that can't be avoided
|
17:01:39
|
<r0bby> x/the XML/the AJAX/
|
17:02:00
|
<r0bby> takes >100ms to process
|
17:02:12
|
<r0bby> AJAX is pretty simple to understand oddly enough
|
17:04:55
|
*** TorLye has quit IRC
|
17:08:27
|
<r0bby> I'm still using DWR
|
17:08:30
|
<r0bby> Just not for this :)
|
17:11:19
|
<r0bby> http://css-tricks.com/all-about-floats/
|
17:11:24
|
<r0bby> may be interesting :)
|
17:41:51
|
*** bwolfe has joined #openmrs
|
17:41:51
|
*** ChanServ sets mode: +o bwolfe
|
17:43:57
|
*** atomicturtle has quit IRC
|
17:44:00
|
<r0bby> bwolfe: o/
|
17:44:02
|
<r0bby> run
|
17:44:41
|
<r0bby> I was thinking of making a PDF for my documentation :)
|
17:44:59
|
<r0bby> using a Google Docs presentation
|
17:45:29
|
<bwolfe> not very wiki like
|
17:45:44
|
<r0bby> Well I could sync w/ the wiki
|
17:45:59
|
<r0bby> But the goal is to be able to download it
|
17:46:26
|
<r0bby> I think my adhd is getting the best of me -- I need small goals :/
|
17:48:05
|
<r0bby> :/
|
17:48:53
|
<r0bby> Matt (Harrison not Shanks) faces the same thing =/
|
17:49:02
|
<r0bby> meh
|
17:53:13
|
<r0bby> do you have any tips?
|
17:56:00
|
* r0bby sighs
|
18:01:08
|
<bwolfe> tips for focusing ?
|
18:01:15
|
<bwolfe> smaller goals
|
18:01:34
|
<bwolfe> and those goals should be very discernible
|
18:06:53
|
<r0bby> right now http://docs.google.com/Doc?id=df8w66j7_16df3h84ch
|
18:06:56
|
<OpenMRSBot> <http://ln-s.net/1zMO> (at docs.google.com)
|
18:07:13
|
<r0bby> that's what needs to be done as of right now
|
18:07:49
|
<r0bby> The way i laid out my project plan isn't bad -- but it seems I'm jumping around
|
18:07:58
|
<r0bby> The servlet is written :)
|
18:08:00
|
<r0bby> both
|
18:08:53
|
<r0bby> one servlet is used for the AJAX
|
18:08:53
|
<r0bby> (needed to get at tomcat's classloader
|
18:10:26
|
<r0bby> the classloader allows me to use the classpath that openmrs uses
|
18:10:36
|
<r0bby> which allows us to get at the API
|
18:10:58
|
<r0bby> Sadly, you're able to use EVERYTHING on the classpath
|
18:11:20
|
<r0bby> which means the shit could hit the fan if somebody is malicious
|
18:12:24
|
<r0bby> how busy is burke lately!??!
|
18:12:43
|
<r0bby> he's making me get creative
|
18:46:57
|
*** atomicturtle has joined #openmrs
|
19:15:31
|
<cancerb0y> bwolfe: hi ben
|
19:15:59
|
<cancerb0y> bwolfe: i dunno whats wrong with my module... it works fine in my system but not in brian's system
|
19:16:11
|
<cancerb0y> bwolfe: could not figure out the reason
|
19:17:34
|
*** nribeka has joined #openmrs
|
19:18:37
|
<cancerb0y> bwolfe: could you please give a try to my module?? i will send it now
|
19:25:26
|
*** cancerb01 has joined #openmrs
|
19:35:54
|
<r0bby> cancerb0y: upgrade your OpenMRS to current svn
|
19:37:48
|
<OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #794 (defect closed): Number of u-value random samples returns to default after user changes <http://dev.openmrs.org/ticket/794#comment:2> || OpenMRS Tickets: Ticket #795 (enhancement closed): Random sampling for u-values should only sample fields used for matching, not all fields <http://dev.openmrs.org/ticket/795#comment:1> || OpenMRS Tickets: Ticket #796 (defect closed): Correct standard deviation calculation <http://dev.openmrs.org/ticket/796#comment:1> || OpenMRS Modules: MRN Generator Module 0.1 uploaded to OpenMRS Module Repository <https://dev.openmrs.org/modules/view.jsp?module=mrngen&version=&0.1>
|
19:42:02
|
*** cancerb0y has quit IRC
|
19:45:23
|
*** cancerb0y has joined #openmrs
|
19:47:29
|
<cancerb0y> r0bby: one sec robby... im working on an enhancement thing once im done i ll commit it and let you know
|
19:56:30
|
*** cancerb01 has quit IRC
|