Wiki Spaces


Get Help from Others

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

IRC Logs

Child pages
  • 2009-06-02 - OpenMRS
Skip to end of metadata
Go to start of metadata
00:00:32 <bwolfe> r0bby: I'm not putting the data in for you, just so you know
00:01:29 <Agnor> bwolfe: have you already grant me permission to access my module in SVN?
00:01:40 <Agnor> or are you expecting a confirmation from Darius?
00:01:49 <bwolfe> Agnor: waiting for confirmation
00:01:51 <Agnor> ok
00:01:57 <bwolfe> ping him privately and tell him to ok it :-)
00:02:23 <Agnor> he's quite busy lately
00:02:46 <Agnor> hopefully from today on he'll be more available
00:03:03 <bwolfe> hopefully
00:03:17 <Agnor> well, I'm going to sleep, been working on a school project till now...
00:03:23 <Agnor> (1 AM)
00:03:39 <Agnor> and tomorrow I have to wake up at 6
00:03:40 <Agnor> :S
00:03:51 <Agnor> bye
00:04:05 *** Agnor has quit IRC
00:07:18 <r0bby> bwolfe: that's fine
00:08:19 <r0bby> I have demo data set up :)
00:08:29 <r0bby> not sure how much that's gonna clash though.
00:15:02 <Keelhaul> bwolfe: you havent answered my question =/
00:26:46 <bwolfe> Keelhaul: I would say its worth it
00:26:51 <bwolfe> whats the fancy inheritance stuff?
00:28:36 <r0bby> BaseOpenmrsMetadata
00:28:44 <r0bby> (we use it in our module.)
00:30:14 <Keelhaul> bwolfe: BaseOpenmrsData
00:30:35 <Keelhaul> apart from the hacked hibernate, there's no feature of 1.5 that particualr module requires
00:30:53 <Keelhaul> besides
00:30:58 <Keelhaul> it doesnt work properly for me for some reason
00:31:06 <Keelhaul> creator/dateCreaded dont get set
00:32:46 <Keelhaul> r0bby: does saving whatever extends a baseopenmrs class automatically add the creation metadata for you?
00:32:55 <r0bby> I dont know
00:32:57 <Keelhaul> w/o explicitly setting them in the service
00:33:03 <r0bby> I have *NO* clue to be honest
00:33:11 <r0bby> it's Mike who created this domain model
00:33:17 <r0bby> I'm learning it myself
00:33:44 <Keelhaul> if you extend BaseOpemmrs*ata, the handle is supposed to set the uuid and the creation/change fields automaticallly
00:34:08 <Keelhaul> handler*
00:34:59 <r0bby> hrm
00:35:05 <r0bby> i have a question
00:35:10 <r0bby> unordered lists
00:35:10 <r0bby> <li>
00:35:16 <r0bby> do you have to close those?
00:35:33 <Keelhaul> in xhtml, yes
00:37:32 <r0bby> ok :)
00:37:41 <r0bby> I'm typing my blog post which i'm long overdue for :)
00:37:49 <r0bby> since I have time now :)
00:38:07 <r0bby> oddly enough w/ all this irc'ing i still got it done EARLY :)
00:54:31 *** luzhuangwei has joined #openmrs
00:54:39 <r0bby> luzhuangwei: o/
00:54:43 <r0bby> how was your first week :)
00:54:49 <luzhuangwei> hi
00:55:45 <bwolfe> hi lu
00:55:47 <luzhuangwei> ah, i think the work is not easy, but i am ready to complete them through my effort, and you?
00:55:55 <luzhuangwei> Hi, Ben
00:55:59 <bwolfe> Keelhaul: hmm, how much work is it to take out the baseopenmrsdata logic ?
00:56:36 <Keelhaul> bwolfe: wasnt much, i did it already a few days ago
00:56:39 <Keelhaul> just havent tested it yet
00:57:01 <r0bby> luzhuangwei: the hardest part of last year's soc project is done :)
00:57:11 <Keelhaul> so i'd have to advance the module version while removing features
00:57:13 <Keelhaul> great lol
00:57:21 <r0bby> the backend work isn't the hard part, it's the front-end that's annoyinh
00:57:26 <r0bby> I like mike's thinking :)
00:57:29 <luzhuangwei> ah, well
00:57:40 <r0bby> this is cake compared to last year :)
00:57:52 <r0bby> Just tedious, made me question whether or not i wanted to continue :)
00:58:09 <r0bby> but the feeling i have right now somehow makes it all worth it :)
00:59:31 <luzhuangwei> a good thinking, it is a cake:-)
00:59:33 <Keelhaul> if you guys advance the openmrs version required by your module, always take note why you are doing this
00:59:39 <Keelhaul> i.e. the features you require
00:59:50 <Keelhaul> because i cant remember all of mine now =/
01:00:01 <r0bby> I keep mine @
01:00:21 <r0bby> I'm not supporting anything under it
01:00:40 <Keelhaul> your current gsoc?
01:00:43 <r0bby> yup
01:01:29 <Keelhaul> i think most gsoc projects are aimed at 1.6+
01:01:40 <r0bby> mine is aimed @ 1.5
01:03:22 <Keelhaul> i'm not sure worked properly =P
01:03:53 <Keelhaul> if i require 1.5, i try to keep the required version over the latest known major fix
01:06:24 <r0bby> it's easier to type :)
01:07:20 <r0bby> I feel bad for the students not using the annotation driven controllers :)
01:07:33 <r0bby> I spend less time on the controllers :)
01:08:51 <Keelhaul> rly
01:08:56 <Keelhaul> i've been too lazy to try it
01:08:58 <Keelhaul> > Note: you must browse to a .list or .form extension or else bad things will
01:08:58 <Keelhaul> > happen. (If you were to visit homepage.htm the controller will be bypassed
01:08:58 <Keelhaul> > and you'll just get the jsp file.)
01:09:02 <Keelhaul> can this be avoided?
01:09:34 <r0bby> yeh specify .form explicitly :)
01:09:46 <r0bby> I ALWAYS specify .form/.list/.foobar
01:10:22 <r0bby>
01:10:27 <OpenMRSBot> <> (at
01:10:48 <Keelhaul> hmm
01:10:56 <r0bby> that's how I do it :)
01:11:13 <Keelhaul> do these controllers still have the classic controller methods
01:11:17 <Keelhaul> like formBackingObject
01:11:47 <r0bby>
01:11:50 <OpenMRSBot> <> (at
01:11:59 <r0bby>
01:12:01 <OpenMRSBot> <> (at
01:12:10 <r0bby> all the examples of stuff i wrote
01:14:07 <Keelhaul> 30 @ModelAttribute("scripts")
01:14:08 <Keelhaul> 31 List<GroovyScript> populateScripts() {
01:14:08 <Keelhaul> 32 return GroovyUtil.getService().getAllScripts();
01:14:08 <Keelhaul> 33 }
01:14:12 <Keelhaul> what does this do
01:14:19 <Keelhaul> is it like referenceData
01:14:22 <r0bby> it sets a model attribute
01:14:25 <r0bby> so i can reference it
01:14:26 <r0bby> like
01:14:30 <r0bby> ${script} in the JSP
01:14:35 <r0bby> let me show you the JSPs
01:14:37 <Keelhaul> yea
01:14:43 <Keelhaul> nah its ok
01:14:58 <Keelhaul> do the @ModelAttribute methods called automatically
01:14:59 <r0bby> browse to:
01:15:02 <Keelhaul> +get
01:15:03 <OpenMRSBot> <> (at
01:15:12 <r0bby> the two JSPs are there
01:15:22 <r0bby> browse to:
01:15:23 <OpenMRSBot> <> (at
01:15:30 <r0bby> for both the modules i've touched
01:16:09 <r0bby> ${html} <-- I have a model attribute which is the rendered HTML
01:16:19 <r0bby> called HTML
01:16:24 <r0bby> er html
01:16:44 <Keelhaul> yea, i know how to use those
01:16:52 <Keelhaul> but do you have to call those methods anywhere
01:17:04 <r0bby> NOPE!
01:17:04 <Keelhaul> or is the annotation enough for the attributes to be added
01:17:11 <r0bby> it's populated automatically!
01:17:16 <Keelhaul> ic
01:17:19 <r0bby> :)
01:17:28 <Keelhaul> it's a bit different from normal controllers
01:17:34 <Keelhaul> everythign has its own method
01:17:38 <r0bby> yeh :)
01:17:40 <r0bby> not here :)
01:17:44 <r0bby> it's a lot denser :)
01:18:10 <Keelhaul> i'd have to test it excessively if i wanna do that
01:18:12 <r0bby>
01:18:13 <Keelhaul> so i wont for now
01:18:14 <OpenMRSBot> <> (at
01:18:22 <r0bby> the other :)
01:18:30 <r0bby> no ${}
01:18:35 <r0bby> just ${foo}
01:18:36 <r0bby> :)
01:18:54 <r0bby> check out rwandaprimarycarepilot
01:18:55 <Keelhaul> commandName is when it's in the formbackingobject
01:19:18 <r0bby> Darius wrote the initial module which i used extensively when figuring it out
01:19:26 <r0bby> in addition to the spring mvc docs :)
01:19:52 <Keelhaul> i'll check it out when i need to write a new controller
01:20:01 <Keelhaul> i'm not gonna switch existing ones
01:20:20 <r0bby> switch over one you know is easy :)
01:20:48 <r0bby> it's what ben did
01:26:03 *** jacobb has quit IRC
01:26:25 *** pascal` has quit IRC
01:26:47 *** pascal` has joined #openmrs
01:27:04 *** jacobb has joined #openmrs
01:32:05 *** harshini has joined #openmrs
01:36:48 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1426 (enhancement closed): Groovy Module: Add ability to save script <>
02:10:37 *** luzhuangwei has quit IRC
02:12:11 *** harshini has quit IRC
02:30:14 *** harshini has joined #openmrs
02:46:17 *** bwolfe_ has joined #openmrs
02:46:17 *** ChanServ sets mode: +o bwolfe_
02:47:54 *** bwolfe has quit IRC
03:07:49 *** atomicturtle has joined #openmrs
03:08:24 *** atomicturtle has left #openmrs
03:21:18 *** upul has joined #openmrs
03:21:18 *** ChanServ sets mode: +v upul
03:32:19 *** harshini has quit IRC
03:44:47 *** bwolfe__ has joined #openmrs
03:45:32 *** openmrs_9104 has joined #openmrs
03:45:51 *** jmiranda has quit IRC
03:46:02 *** jmiranda has joined #openmrs
03:46:02 *** ChanServ sets mode: +o jmiranda
03:46:09 *** openmrs_9104 has quit IRC
03:46:51 *** bwolfe_ has quit IRC
03:56:33 *** jmiranda has quit IRC
04:01:16 *** jmiranda has joined #openmrs
04:01:16 *** ChanServ sets mode: +o jmiranda
04:05:13 *** Keelhaul has quit IRC
04:06:13 *** atomicturtle1 has joined #openmrs
04:10:12 *** bwolfe__ has quit IRC
04:14:41 <r0bby>
04:14:42 <r0bby> :)
04:14:43 <OpenMRSBot> <> (at
04:15:04 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8180]: facility data: the coded questions didn't have a label for them ooooops <>
04:18:29 <r0bby> .gg
04:18:30 <r0bby> er
04:31:27 *** atomicturtle1 has quit IRC
04:37:20 *** atomicturtle1 has joined #openmrs
04:47:08 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8183]: facility data: copy/paste error i did not see at first. <> || OpenMRS Changesets: Changeset [8182]: facility data: fixing more HTML syntax errors <> || OpenMRS Changesets: Changeset [8181]: facility data: unclosed HTML tag <>
05:00:45 *** jmiranda has quit IRC
05:11:20 *** openmrs_9173 has joined #openmrs
05:11:30 *** openmrs_9173 has quit IRC
05:12:23 *** am__ has joined #openmrs
05:14:45 *** am__ has quit IRC
05:24:03 *** pascal` has quit IRC
06:13:06 *** openmrs_4196 has joined #openmrs
06:36:03 *** pascal` has joined #openmrs
06:36:54 *** openmrs_4196 has quit IRC
07:07:36 *** atomicturtle has joined #openmrs
07:07:36 *** atomicturtle1 has quit IRC
07:28:02 *** pascal` has quit IRC
07:28:08 *** pascal` has joined #openmrs
07:29:20 *** pascal` has quit IRC
07:31:24 *** pascal` has joined #openmrs
07:32:28 <pascal`> anyone around?
08:31:22 *** deadpool has joined #openmrs
08:32:05 <deadpool> hey
08:32:11 <pascal`> hi
08:34:50 *** deadpool_ has joined #openmrs
08:39:08 <deadpool_> sorry got disconnected
08:53:23 *** atomicturtle has quit IRC
08:54:04 *** deadpool has quit IRC
08:56:24 *** deadpool_ is now known as deadpool
08:57:12 <deadpool> hey can anybody point me to and infopath and openmrs tutorial?
08:57:16 *** HARSHINI has joined #openmrs
08:57:27 <HARSHINI> Hi all.
08:58:04 <HARSHINI> can anybody tell me where would i get info about the openmrs tags
08:58:33 <HARSHINI> example...<openmrs:extensionpoint>
08:58:35 <pascal`> deadpool, seems to yeild some results
08:58:39 <OpenMRSBot> <> (at
08:59:49 <pascal`> deadpool, also have a look at
09:00:13 <deadpool> thanks
09:05:02 <pascal`> HARSHINI,
09:05:03 <OpenMRSBot> <> (at
09:13:19 <HARSHINI> can anybody please tell me about openmrs portlets
09:13:43 <pascal`> what do you need to know?
09:21:31 <HARSHINI> about the portlet parameters
09:22:03 <pascal`> hmm
09:22:12 <pascal`> i'm not sure i follow
09:22:12 <HARSHINI> Are there any UI conventions to be followed while creating a new UI
09:22:46 <pascal`>
09:22:48 <HARSHINI> <openmrs:portleturl="welcome"parameters="showName=true|showLogin=true"/>
09:23:08 <pascal`>
09:23:30 <HARSHINI> showName and showLogin...what do these signify
09:29:01 <pascal`> I'm not 100% sure, but it looks like they just get set as request parameters to the page
09:29:42 <HARSHINI> okay thanks
09:30:10 <pascal`>
09:30:12 <OpenMRSBot> <> (at
09:30:17 <pascal`> That's what I looked at
09:38:21 *** kane77 has joined #openmrs
09:39:33 *** deadpool_ has joined #openmrs
09:41:47 *** deadpool has quit IRC
09:41:59 *** deadpool_ is now known as deadpool
10:07:39 *** atomicturtle1 has joined #openmrs
10:22:28 *** deadpool_ has joined #openmrs
10:38:09 *** HARSHINI has quit IRC
10:43:21 *** deadpool has quit IRC
10:44:44 *** deadpool has joined #openmrs
11:00:53 *** pakon has joined #openmrs
11:01:12 <pakon> hi all
11:01:36 <pascal`> hi
11:02:01 <pakon> i have a question about liquibase
11:02:15 <pakon> can anybody help me?
11:02:34 *** deadpool_ has quit IRC
11:03:43 <pakon> pascal`: have you exeperience with liquibase?
11:03:54 <pascal`> unfortunately I don't pakon
11:04:11 <pakon> Oo.
11:04:28 <pakon> google can't help me too :)
11:04:34 <pascal`> is the solution you're looking for not in the manual?
11:04:45 <pascal`> ?
11:04:52 <pascal`> what do you need to know?
11:04:53 <pakon> no
11:05:24 <pakon> i need change primary key in the table
11:06:02 <pascal`> and you can't just drop it and add a new one?
11:06:55 <pakon> if i drop collumn then i drop all data for this collumn
11:07:32 <pascal`> wait
11:07:44 <pakon> ok
11:07:54 <pascal`> do you need to change which column(s) form the primary key, or do you need to change the value of a primary key?
11:08:26 <pakon> i have table global_property
11:08:35 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: Error opening Basic Form via dashboard <>
11:08:48 <pascal`> i know the one :)
11:09:07 <pakon> and it contains property collumn
11:09:15 <pakon> property is PK
11:09:20 <pascal`> mhm
11:09:55 <pakon> i need to add property_id collumn and set PK to property_id instead property
11:10:08 <pascal`> ok
11:10:15 <pascal`> well, just add the property_id column
11:10:20 <pascal`> drop the PK
11:10:23 <pascal`> and add a new ok
11:10:26 <pascal`> *ok=pk
11:10:40 <pascal`> dropping the primary key doesn't drop the column(s) that make up the key
11:10:42 <pakon> how can i drop PK with liquibase?
11:10:44 <pascal`> (or their data)
11:10:51 <pascal`>
11:10:56 <OpenMRSBot> <> (at
11:10:57 <pakon> !
11:10:57 <pascal`>
11:10:59 <OpenMRSBot> <> (at
11:11:01 <pascal`> then add a new one
11:11:33 <pakon> thanks!
11:11:49 <pakon> i miss this topic :)
11:12:00 <pascal`> no problem
11:12:24 *** james_regen has joined #openmrs
11:12:24 *** ChanServ sets mode: +v james_regen
11:15:32 <pascal`> pakon, your mockup for global property types looks very cool
11:15:50 <pakon> :)
11:16:01 <pascal`> i made:
11:16:02 <OpenMRSBot> <> (at
11:16:07 <pascal`> as my first little openmrs module
11:17:07 <pakon> with Dave Thomas we are working on model for global property now
11:17:46 <pakon> i need merge a lot of revision from trunk
11:17:59 <pakon> i hate merging :)
11:18:43 <pakon> i was reading about your module in dev list
11:19:05 <pascal`> it isn't really a module
11:19:20 <pascal`> just a new frontend to the global property service, but packaged as a module
11:21:12 *** whaley has joined #openmrs
11:22:39 <pakon> pascal`: thanks for you help. it works fine!
11:23:06 <pascal`> no problem
11:28:00 *** upul has quit IRC
11:42:26 *** deadpool_ has joined #openmrs
11:50:56 *** deadpool__ has joined #openmrs
11:56:15 *** Keelhaul has joined #openmrs
11:56:15 *** ChanServ sets mode: +v Keelhaul
12:03:20 *** deadpool has quit IRC
12:08:42 *** deadpool_ has quit IRC
12:14:02 *** pascal` has quit IRC
12:36:05 *** amoga has joined #openmrs
12:36:36 <amoga> hi all
12:36:47 <Keelhaul> hi
12:36:51 <amoga> was trying to understand the patient object
12:37:20 <amoga> its way too different from the patient object specified in the data model
12:40:01 <amoga> in datamodel maiden name, birth place , citizenship , race
12:40:03 <amoga> everything is described
12:40:24 <amoga> but if we see the person object all these fields are missing
12:40:47 <amoga> so should i follow the object or would it be revised according to the data model
12:41:37 <amoga> is anyone there to help :(
12:43:16 <Keelhaul> i think they are saved as person attributes
12:43:22 <amoga> anyone there
12:43:38 <amoga> so first we need to insert attribute type
12:43:55 *** deadpool has joined #openmrs
12:44:05 *** pascal` has joined #openmrs
12:44:12 <amoga> do we have any restricted list of attributes
12:44:45 <amoga> or we can enter it dynamically
12:45:07 <Keelhaul> you can add new attributes if you want
12:45:25 <amoga> but how is it getting refelected in th eUI
12:45:31 <Keelhaul> but each type must be defined in the db
12:45:52 <amoga> i mean when the patient is entered into MRS where do i show the attribute tyoes
12:45:52 <Keelhaul> not sure
12:47:07 <amoga> yes
12:47:26 <amoga> so can we change the list of atttributes
12:47:39 <Keelhaul> i'm not sure you may delete existing ones
12:47:43 <Keelhaul> but you can add your own
12:48:08 <amoga> since we need to integrate our openmrs instance with Openempi
12:48:28 <amoga> we would need to add some attributes in the db
12:48:59 <amoga> may i know who deals with the data model of openmrs
12:49:42 <amoga> cause i would like some attributes to be added as a part of sql script itself
12:50:00 <Keelhaul> attributes or attribute types?
12:50:21 <amoga> attribute types
12:50:44 <Keelhaul> sure you can
12:51:11 <Keelhaul> check the API service for that though
12:51:22 <Keelhaul> i'm not sure you can do Person.getPersonAttribute("name");
12:51:36 *** pakon has quit IRC
12:51:38 <Keelhaul> i remember trying to use person attributes to add a boolean flag to users
12:51:44 <Keelhaul> and ended up using user properties instead
12:51:52 <amoga> and even the Ui should be capable of showing the attribute type so that the data manager enter the relevent data
12:51:59 <amoga> but how would i enter the properties
12:52:12 <Keelhaul> you'd have to make your own page i guess
12:52:26 <amoga> i mean how would a data manager insert attribute vales
12:52:39 <Keelhaul> type them in
12:52:46 <amoga> Find patient needs to be chanded??????
12:52:58 <Keelhaul> not find
12:52:58 <Keelhaul> edit
12:53:07 <Keelhaul> modules can overrride openmrs pages
12:53:07 <amoga> i mean createPatient jsp needs to be changed
12:53:39 <amoga> yes
12:53:45 <amoga> have you coded for patient servcie
12:54:28 <pascal`> you add the attribute in the admin screen
12:54:42 <pascal`> then you manage patients from the admin screen and you can enter a value for the new attribute
12:55:32 <pascal`> no coding necessary
12:56:37 <amoga> OK THATS COOL
12:56:49 <pascal`> O.O
12:56:59 <amoga> but by default only 7 attribute types are available
12:57:47 <Keelhaul> so add more
12:57:50 <amoga> i was asking when we install openmrs at the time of installation can we provide more attribyte types
12:58:27 <pascal`> OpenMRS can't provide for each specific implementation
12:58:32 <amoga> coz when i am integrating with OpenEMPI it asks for a lot of fields which are unavailabe in OpenMRS
12:58:44 <amoga> i understand
12:58:46 <Keelhaul> amoga: your module will have to add more types via sql
12:58:47 <pascal`> that's why it's designed to be extensible. You'll have to add the attribute types yourself
12:59:03 <pascal`> it'll just take one sql script
12:59:03 *** deadpool__ has quit IRC
12:59:23 <amoga> but i would like my attributes to be the part of sql script i.e by default it should be there
12:59:29 <amoga> thanks
12:59:40 <amoga> it made my work much easier
13:00:04 <amoga> in that case OpenMRS sql script have to be redesigned
13:00:14 <amoga> where my code would be included
13:00:20 <Keelhaul> not openmrs
13:00:33 <Keelhaul> core doesnt even use pure sql anymore, it uses liquibase
13:00:53 <Keelhaul> modules can add own tables/cols/rows in the sqldiff file
13:01:19 <amoga> ok
13:01:19 <amoga> then i would modify liquibase
13:01:20 <amoga> ok
13:01:44 <Keelhaul> no
13:01:49 <Keelhaul> dont modify anything in the core
13:01:55 <Keelhaul> unless
13:01:59 <amoga> which means if the user wants a OpenEMPI feature at that time itself sql script can run
13:02:03 <Keelhaul> is your project a module or a branch?
13:02:24 <amoga> well i think its a module
13:02:31 <Keelhaul> then you dont touch anything in the core
13:02:36 <Keelhaul> and do everything via module code
13:02:36 <amoga> ok
13:02:48 <amoga> ok
13:02:56 <Keelhaul> look for metadata/sqldiff.sql in your module dir
13:03:30 <amoga> but in that case the patients which are already existing wont have attributes types in my module
13:03:47 <Keelhaul> attribute types are metadata
13:03:50 <Keelhaul> they are there for all
13:03:54 <Keelhaul> like encounter types
13:04:17 <Keelhaul> types that are defined in the db can be used for any person
13:04:22 <amoga> they can add it if they call edit patient
13:04:30 <Keelhaul> yes
13:04:55 <Keelhaul> afk a bit
13:05:14 <amoga> sorry didnt get you what is afk
13:05:38 *** atomicturtle1 has quit IRC
13:07:11 *** atomicturtle has joined #openmrs
13:12:14 *** sdefabbiakane has joined #openmrs
13:14:07 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8184]: global-property-types branch: Fix hbm-files, liquibase-update-to-latest … <>
13:17:59 <Keelhaul> away from keyboard =)
13:20:44 *** atomicturtle has left #openmrs
13:26:28 *** jmiranda has joined #openmrs
13:26:29 *** ChanServ sets mode: +o jmiranda
13:46:14 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8188]: ncd: Fix and minor refactoring of CodeFrequencyMap. <> || OpenMRS Changesets: Changeset [8187]: serialization: add the previous more reasonable files which deal with the … <> || OpenMRS Changesets: Changeset [8186]: serialization: delete old files <> || OpenMRS Changesets: Changeset [8185]: serialization: delete this file and back to the previous logic in … <>
13:46:46 *** deadpool has quit IRC
13:55:05 *** deadpool has joined #openmrs
14:08:06 *** amoga has quit IRC
14:50:15 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8191]: facility data: add a description to the config.xml <> || OpenMRS Changesets: Changeset [8190]: facility data: capitalize the "f". <> || OpenMRS Changesets: Changeset [8189]: facility data: tweak the config.xml mostly ripping it from the groovy … <>
15:13:51 *** nimanthab has joined #openmrs
15:19:31 <r0bby> nimanthab: hi =)
15:19:41 <nimanthab> hi r0bby
15:26:40 *** upul has joined #openmrs
15:26:40 *** ChanServ sets mode: +v upul
15:29:20 <r0bby> nimanthab: figure out spring mvc :)?
15:29:34 <r0bby> just do what I did: it's black magic :)
15:29:46 <nimanthab> r0bby: :) going through it now
15:29:49 <r0bby> just accept it works :)
15:30:02 <nimanthab> did you check the mail that Darius has sent to the dev list?
15:30:22 <nimanthab> is it the same as what you pointed out?
15:31:32 <r0bby> Yes
15:31:43 <r0bby> I used Darius's code when writing the groovy module controller.
15:31:56 <r0bby> except i explicitly put .form or .list
15:32:41 *** bwolfe__ has joined #openmrs
15:33:09 <r0bby> sup bwolfe__ :)
15:33:14 <nimanthab> explicityly put .form or .list where?
15:33:30 <nimanthab> @RequestMapping("/module/yourModuleId/manageLocations") ??
15:33:35 <r0bby> yup
15:33:46 <nimanthab> i see.. must give it a try
15:33:54 <r0bby> in my case that'd be: @RequestMapping("/module/yourModuleId/manageLocations.form")
15:33:55 <nimanthab> im having a hard time with all those xml mappings
15:33:57 *** bwolfe__ is now known as bwolfe
15:34:01 *** ChanServ sets mode: +o bwolfe
15:34:03 <bwolfe> hi r0bby
15:34:18 <r0bby> see, if you used the annotations this XML would be needed less :)
15:34:30 <nimanthab> r0bby: yaaaaaa
15:34:36 <nimanthab> thanks a lot r0bby
15:34:46 <nimanthab> im going to change the existing code to that structure
15:34:48 <nimanthab> :)
15:34:57 <r0bby> I have no work :S
15:35:12 <nimanthab> your soc project done already?
15:37:30 <r0bby> No
15:38:45 <r0bby> my first pass is though :)
15:41:06 <nimanthab> man!!!! i have a lot more to cover
15:41:13 <nimanthab> :(
15:41:46 *** Mkop has joined #openmrs
15:49:30 <r0bby> nimanthab: oh no, i have a lot to do: my mentor had me mock up a view to render a report form :)
15:50:13 <r0bby>
15:50:14 <OpenMRSBot> <> (at
15:50:20 <r0bby> minus the whole Measles showing twice
15:54:26 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8192]: ncd: Added code to initialize the code frequency map on the creation of a … <>
15:59:25 *** sdefabbiakane has quit IRC
16:03:52 <r0bby> wtf Obama nominated a Republican for Army Secretary
16:04:22 *** atomicturtle has joined #openmrs
16:05:33 *** atomicturtle has left #openmrs
16:13:14 <nimanthab> r0bby: you around?
16:13:24 <r0bby> yeh trying to get IDEA to launch
16:13:51 <nimanthab> r0bby: i am having a problem with that spring annotation
16:14:10 <nimanthab> i tried out the code Darius has sent (the simple Hello thing)
16:14:39 <nimanthab> however it only works if i point my browser to .../module/mymodule/helloworld.htm
16:15:13 <nimanthab> .form and .list give the error helloworl.list" cannot be found. Check the link and try again.
16:19:04 <r0bby> nimanthab: try explicitly putting .form .list etc
16:19:14 <nimanthab> i did
16:19:31 <nimanthab> i put .list in the mapping annotation argument
16:19:42 <nimanthab> still it only works for .htm
16:19:43 <nimanthab> :(
16:20:00 <r0bby> look at:
16:20:02 <OpenMRSBot> <> (at
16:20:30 <r0bby> ignore the fact its groovy
16:20:36 <r0bby> and you need semi-colons
16:20:38 <r0bby>
16:20:39 <OpenMRSBot> <> (at
16:20:42 <r0bby> here's a java one.
16:22:29 <r0bby> use those when writing your controller
16:22:45 <r0bby>
16:22:49 <OpenMRSBot> <> (at
16:22:52 <r0bby>
16:22:59 <r0bby> that's where you can find all controllers
16:26:32 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: Error opening Basic Form via dashboard <>
16:30:57 *** upul has quit IRC
16:31:33 <nimanthab> r0bby: is the part method= RequestMethod.GET necessary in all mappings?
16:34:54 <r0bby> well you want to specify the request method you're supporting
16:35:25 <r0bby> ex) one method can handle GET requests, while one handles POST requests
16:35:52 <nimanthab> i see
16:36:05 <nimanthab> my problem is still there
16:36:07 <nimanthab> :(
16:36:37 <nimanthab> in Darius' mail he has mentioned
16:36:40 <nimanthab> "First off, you need the latest fix (that I just checked in as revisions 8165-8167) to make one small piece of this work, so please do an svn update on 1.4, 1.5, or trunk before trying it out"
16:36:57 <nimanthab> do I need the latest build to get this working?
16:42:57 <r0bby> hmm mine worked just fine :)
16:58:35 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8195]: GlobalPropertyTypes Openmrs. Removed @Override annotations in dao, … <> || OpenMRS Changesets: Changeset [8194]: htmlformentry: Adding 3 new features...The ability to configure a … <> || OpenMRS Changesets: Changeset [8193]: birtreport: Initial commit to begin upgrading BIRT Report Module to … <>
17:12:28 *** Mkop1 has joined #openmrs
17:13:29 *** Mkop1 has quit IRC
17:14:18 <r0bby> uhm what
17:15:24 <r0bby> one of my commits didn't send any files... yet it said it did :X
17:17:19 *** pascal` has quit IRC
17:18:15 *** Mkop has quit IRC
17:20:00 *** nimanthab has quit IRC
17:27:44 *** deadpool_ has joined #openmrs
17:30:44 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8199]: GlobalPropertyType branch. removed liquibase crap from main liquibase … <> || OpenMRS Changesets: Changeset [8198]: facility data module: more tweaks to the config.xml file <> || OpenMRS Changesets: Changeset [8197]: groovy module: remove some excess whitespace <> || OpenMRS Tickets: Ticket #1542 (task created): htmlformentry: allow obs tags to contain an optional body <> || OpenMRS Tickets: Ticket #1541 (task created): htmlformentry: view and query of underlying form schema <> || OpenMRS Changesets: Changeset [8196]: schedulerquartz: Deleted QuartzService, RunOnceUtil, QuartzServiceImpl, … <>
17:32:47 *** deadpool has quit IRC
17:32:54 *** deadpool_ is now known as deadpool
18:00:58 *** jmiranda_ has joined #openmrs
18:01:10 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1545 (task created): minSearchCharacters and default_locale global properties need a namespace. <> || OpenMRS Tickets: Ticket #1544 (task created): htmlformentry: boolean obs widgets should be localized <> || OpenMRS Tickets: Ticket #1543 (task created): htmlformentry: create new section tag <>
18:03:09 *** jmiranda has quit IRC
18:10:29 <r0bby> AWESOME
18:10:33 <r0bby> i did an update from svn
18:14:32 *** jmiranda_ is now known as jmiranda
18:15:16 *** ChanServ sets mode: +o jmiranda
18:17:42 <bwolfe> r0bby: I do an update from svn multiple times per day...why is that "AWESOME" ? :-p
18:18:52 <Keelhaul> lol
18:19:12 <Keelhaul> hm
18:19:19 <Keelhaul> is there a way to force stop a windows service
18:19:26 <Keelhaul> tomcat is neither running nor stopped
18:19:32 <Keelhaul> and doesnt react to commands
18:22:08 <bwolfe> open the process manager and stop the "java" or "tomcat" or "apache tomcat" process
18:23:16 <bwolfe> control-shift-escape opens it
18:23:48 <Keelhaul> thx
18:23:56 <Keelhaul> didnt know services were in the task manager too
18:26:18 <r0bby>
18:26:20 <OpenMRSBot> <> (at
18:26:29 <r0bby> ^^
18:36:10 <r0bby> =(
18:42:00 <r0bby> Keelhaul: I keep the Apache tomcat monitor in my system tray
18:42:09 <Keelhaul> yea so do i
18:42:11 <r0bby> since i have to restart tomcat a lot :)
18:42:19 <Keelhaul> but both start and stop menu options were greyed out
18:44:29 <r0bby> :<
18:44:39 <r0bby> Keelhaul: ever encounter my error :(
18:49:06 <r0bby> sigh
18:50:00 <Keelhaul> dont think so
18:53:48 <r0bby> sigh
18:53:53 <r0bby> I'm running the alpha release
18:58:58 <Keelhaul> has been discontinued
18:58:58 <Keelhaul> Unfortunately, all things must come to an end. I have run this site for almost seven years as a service to the community, but I can no longer devote the time necessary to keep it running reliably, and especially to combat the recent increase in attempts to use this site for purposes other than sharing snippets of code (spam, ddos attacks, porn url exchange, copyright infringement, etc).
18:58:59 <Keelhaul> aw
19:00:10 <Keelhaul> bwolfe: can you help me with this
19:00:10 <Keelhaul>
19:00:18 <Keelhaul> it happens when i try to load my module
19:00:27 <Keelhaul> in 1.4
19:00:42 <r0bby>
19:00:50 <r0bby> much much better :)
19:04:12 *** bwolfe has quit IRC
19:04:24 *** bwolfe has joined #openmrs
19:04:24 *** ChanServ sets mode: +o bwolfe
19:05:27 <bwolfe> Keelhaul: do you have multiple hibernate jars in your war somehow?
19:05:32 <bwolfe> or in a module?
19:05:42 <Keelhaul> it had an extra one in the /lib dir
19:05:46 <Keelhaul> but not added to build path
19:05:49 <Keelhaul> i removed it, no good
19:05:59 <bwolfe> did you do a clean build?
19:06:23 <Keelhaul> i did at some point..
19:09:35 <Keelhaul> now i cant build it lol
19:09:39 <Keelhaul> because something locked the omod file
19:10:26 <Keelhaul> was firefox
19:27:35 <Keelhaul> bwolfe: i tried redeploying the war, but tomcat went into that unresponsive state again
19:27:41 <Keelhaul> had to force shut it down again
19:27:46 <Keelhaul> now my module loads again..
19:31:34 <bwolfe> Keelhaul: odd. perhaps theres something in the tomcat work directory screwing it up?
19:31:43 <Keelhaul> maybe
19:31:51 <Keelhaul> this is tomcat on localhost, havent used that in ages
19:31:57 <Keelhaul> i usually use the one on echidna
19:32:01 <Keelhaul> but it already has 1.5 deployed
19:34:57 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1419 (task closed): BIRT Report: Design a report to display provider summary information for an implementation <> || OpenMRS Tickets: Ticket #1293 (defect closed): Monthly Report generation : NullPointerException in Birt Module <> || OpenMRS Changesets: Changeset [8200]: globalpropertytypes branch. <>
20:01:16 *** james_regen has quit IRC
20:06:59 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8203]: facility module: tweak the title to use an <> || OpenMRS Changesets: Changeset [8202]: medicalproblem: added OpenMRS 1.4 compatibility <> || OpenMRS Changesets: Changeset [8201]: facility data: jar updates; add commons lang <> || OpenMRS Tickets: Ticket #918 (defect closed): BIRT throws "Failed to prepare the following query ..." during report generation <>
20:39:01 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8204]: ncd: Fixed some bugs introduced during refactoring of hibernate object … <>
20:59:37 *** Agnor has joined #openmrs
21:11:04 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8205]: facility data: refactoring. <>
21:12:43 *** bwolfe has quit IRC
22:15:10 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8208]: -- chica * removed deletion of 0 byte files in merge folder <> || OpenMRS Changesets: Changeset [8207]: -- atd * suppress logging of The process cannot access the file because … <> || OpenMRS Changesets: Changeset [8206]: -- dss * added a minor fix to getDirectoryName method <>
22:31:38 *** Keelhaul has quit IRC
22:45:49 *** kane77 has quit IRC
23:10:33 *** atomicturtle has joined #openmrs
23:12:48 *** atomicturtle has left #openmrs
23:22:21 *** Agnor has quit IRC
  • No labels