IRC Chat : 2011-06-17 - OpenMRS

00:17:19 *** wluyima has joined #openmrs
00:17:19 *** wyclif has quit IRC
00:19:43 <Shaabneh> what is this error: http://pastebin.com/MHCTBjMt
00:21:05 <Shaabneh> djazayeri?
00:21:36 *** wluyima has quit IRC
00:22:38 *** wyclif has joined #openmrs
00:23:48 *** djazayeri has quit IRC
00:27:39 <Shaabneh> pascal are you netbeans user?
00:28:35 *** Shaabneh has quit IRC
00:49:00 *** mandric has joined #openmrs
00:53:15 *** deadpool has joined #openmrs
01:02:20 <deadpool> hey wyclif can you answer some jquery/javascript questions?
01:06:52 <OpenMRSBot> Recent updates in the world of openmrs: On Twitter: OpenMRS: What do you think #OpenMRS community, should we change? "How GitHub Saved Open Source" by @daeaves - http://bit.ly/jrpNl1 <http://twitter.com/OpenMRS/statuses/81522100015337472>
01:40:52 <OpenMRSBot> Recent updates in the world of openmrs: On Twitter: OpenMRS: RT @ScottMuc: Listening to @djazayeri talk about @OpenMRS at the client site.Great way for #thoughtworks, client collaboration for socia ... <http://twitter.com/OpenMRS/statuses/81533185011355648>
02:00:11 *** chopin has joined #openmrs
02:00:11 *** ChanServ sets mode: +v chopin
02:25:17 *** deadpool has quit IRC
02:28:28 *** mandric has quit IRC
02:38:03 *** jportela has quit IRC
02:57:42 *** yanokwa has quit IRC
03:34:23 *** surangak has joined #openmrs
03:38:07 *** surangak has quit IRC
03:39:59 *** mccallumg has joined #openmrs
03:39:59 *** ChanServ sets mode: +v mccallumg
03:41:06 *** surangak has joined #openmrs
03:42:16 <surangak> mccallumg, good morning ....
03:42:51 <mccallumg> hi surangak
03:43:08 <mccallumg> surangak: no responses to your email on the list
03:48:16 <surangak> mccallumg, hi yep
03:48:20 <surangak> mccallumg, :(
03:48:40 <surangak> mccallumg, i should try poking someone a bit then
03:49:05 <surangak> mccallumg, or maybe put a follow up mail in a few days...
03:49:24 <mccallumg> wait 24 hours. then follow up.
03:49:37 <surangak> mccallumg, aha, will do that way...
03:49:39 <surangak> mccallumg, today i have to commit bens changes (from review)
03:49:50 <surangak> mccallumg, plus Burke has also reviewed...
03:50:27 <mccallumg> surangak: just looking at the comments
03:51:34 <mccallumg> surangak: "remove domain object notion"
03:51:53 <surangak> mccallumg, mmm.... i think he means to change our naming convention
03:52:08 <mccallumg> surangak: in favour or "with a payload versus without a payload"
03:52:13 <mccallumg> _of_
03:52:22 <surangak> mccallumg, as in, i think he wants to think bigger than just domain objects...
03:52:28 <surangak> mccallumg, yes, i think thats it
03:52:34 <mccallumg> surangak: hmmm... hard to think of a different naming convention
03:53:23 <mccallumg> surangak: any ideas?
03:53:36 <surangak> mccallumg, mmm...i was still thinking... :)
03:53:57 <mccallumg> surangak: is payload the only distinguishing factor?
03:54:08 <surangak> mccallumg, it looks to be...
03:54:31 <surangak> mccallumg, how about "customDatatypeObject"
03:54:42 <mccallumg> that's a possibility
03:55:26 <surangak> instead of "DomainObjectHandler" maybe "customDatatypeObjectHandler"
03:55:30 <mccallumg> surangak: I don't like using a technical description for naming (e.g. payload). I prefer a business name for an object.
03:55:46 <mccallumg> surangak: does the word concept need to be in there?
03:55:57 <surangak> mccallumg, no, i dont think so
03:56:02 <mccallumg> surangak: or is this beyond concepts now?
03:56:24 <surangak> mccallumg, it dosnt have to refer to concepts here
03:56:48 <surangak> since we will bw using this, to create the concept...
03:56:57 <surangak> mccallumg, and ideas on names :)
03:57:13 <mccallumg> surangak: so it can/will be used for other purposes in the future?
03:57:36 <surangak> mccallumg, yep, the idea is, for now we impliment only domain objects
03:57:43 <surangak> mccallumg, but later it can be anything...
03:57:55 <surangak> mccallumg, regex validated strings, dates etc. etc...
03:58:17 <mccallumg> respond to burke's comment with the CustomDatatypeObjectHandler suggestion.
03:58:23 <surangak> mccallumg, so i think burke wants to change the name to reflect that we are not only using this for domain objects
03:58:29 <mccallumg> surangak: It sounds reasonable to me.
03:58:35 *** batkinson has quit IRC
03:58:49 <surangak> mccallumg, i think he is stressesing the usage of terms "custom"
04:00:19 <mccallumg> surangak: ok
04:00:40 <mccallumg> surangak: have you seen Darius on irc lately?
04:00:50 <surangak> mccallumg, aha... yep thats a good idea
04:01:03 <surangak> mccallumg, otherwise we will spend the summer changing names :D
04:01:10 <surangak> mccallumg, not since last night
04:01:32 <surangak> mccallumg, i wanted to talk to him regarding a design with web layer handlers.. but he was at a meeting
04:01:46 <mccallumg> surangak: I think his perspective will be different for a review. He's the one that actually proposed the design.
04:01:47 <surangak> mccallumg, was hoping to catch him now, actually...
04:02:29 <surangak> mccallumg, maybe we should ask him to do the review ?
04:02:39 <surangak> to compare their ideas ?
04:04:45 <mccallumg> surangak: he's a busy guy. respond to burke on naming. and finish Ben's suggestions first.
04:05:01 <surangak> sure, will do that way...
04:05:14 <surangak> mccallumg, sure, will do that way...
04:05:31 <mccallumg> surangak: might have to create some technical documentation for him to review the design
04:05:54 <surangak> mccallumg, aha, what had u in mind ?
04:06:27 <mccallumg> surangak: similar to what you did before. sequence interaction diagram(s). class diagram.
04:07:10 <surangak> mccallumg, hmm... let me do that...
04:07:24 <surangak> mccallumg, i'll put that into my wiki...
04:07:57 <mccallumg> surangak: not yet. suggest it to him if he doesn't get a chance to review by his weekend. "would it be easier for you to review if I ..."
04:08:21 <surangak> ok.. thats easier on me :)
04:09:01 <surangak> mccallumg, burke has also commented on the need for a domainObjectHandler class
04:09:14 <surangak> mccallumg, should respond to those too..
04:10:44 <mccallumg> surangak: yes.
04:11:07 *** downeym has joined #openmrs
04:11:29 *** downeym has joined #openmrs
04:11:29 *** ChanServ sets mode: +o downeym
04:11:29 *** downeym has quit IRC
04:11:29 *** downeym has joined #openmrs
04:11:29 *** rowling.freenode.net sets mode: +o downeym
04:12:18 <mccallumg> surangak: I'm dropping off now. good work. I'll be on tomorrow morning (my time) if you need me.
04:12:48 <surangak> mccallumg, sure, will do...
04:12:56 <surangak> mccallumg, good night...
04:13:02 <mccallumg> surangak: good day
04:13:07 <surangak> mccallumg, :)
04:13:12 *** mccallumg has quit IRC
04:17:55 *** downeym has quit IRC
04:26:51 *** goutham has joined #openmrs
04:52:32 *** chopin has quit IRC
05:19:40 *** goutham has quit IRC
05:36:37 *** katta has joined #openmrs
05:38:21 *** bryq has joined #openmrs
05:38:21 *** ChanServ sets mode: +v bryq
05:56:20 *** djazayeri has joined #openmrs
05:56:20 *** ChanServ sets mode: +o djazayeri
06:01:44 *** katta has quit IRC
06:03:02 *** katta has joined #openmrs
06:08:53 *** goutham has joined #openmrs
06:14:40 *** Mkop has quit IRC
06:20:04 <surangak> hi djazayeri this must be pretty late in your time ?
06:28:38 *** dkayiwa has joined #openmrs
06:29:16 <surangak> djazayeri, wonder if u r free .. want to ask a few questions on web handlers...
06:37:02 *** goutham has quit IRC
06:37:03 *** bwolfe has joined #openmrs
06:37:03 *** ChanServ sets mode: +o bwolfe
06:49:20 *** rafa has joined #openmrs
06:49:20 *** ChanServ sets mode: +v rafa
06:54:42 *** goutham has joined #openmrs
07:00:18 <goutham> bwolfe: Status of project is that i created the basic archetypes for each objective in Enhance Module Maven Archetype(DesignPage)
07:00:18 *** bryq has quit IRC
07:00:22 <OpenMRSBot> Recent updates in the world of openmrs: New Changeset: OpenMRS (providers): [katta/zabil] Moved the declaration of MessageSourceService in the conditional block TRUNK 2253 <http://feedproxy.google.com/~r/OMRStrunk/~3/lcNSYXEB2QI/OpenMRS> || New Changeset: OpenMRS (providers): [katta/zabil] Validation logic has been extracted to ProviderValidator from Provider domain class. Tests have been creat... <http://feedproxy.google.com/~r/OMRStrunk/~3/PrQ07RVvYIo/OpenMRS>
07:01:20 <goutham> bwolfe: now i am facing challenge of combining all of them into single archetype
07:01:20 <goutham> bwolfe: there?
07:01:26 <bwolfe> goutham, do you have any documentation or screenshots or examples for people to play with yet?
07:01:39 <bwolfe> ah, so one archetype with just several options?
07:01:46 <bwolfe> is that proving difficult?
07:02:45 <goutham> bwolfe: hum yes..
07:04:02 <goutham> bwolfe: intial i took challenge of creating the wizard questions ..
07:04:46 <goutham> like... " Do you want to enter module-author name" and asking (Y/N)
07:05:14 <bwolfe> shouldn't that just ask?
07:05:20 <bwolfe> don't ask if you're going to ask...
07:07:37 <goutham> bwolfe: sorry dint get you
07:10:30 *** bwolfe has quit IRC
07:11:01 *** bwolfe has joined #openmrs
07:11:01 *** ChanServ sets mode: +o bwolfe
07:20:42 *** katta has quit IRC
07:20:54 <goutham> bwolfe: i dint get your last comment
07:21:09 <bwolfe> sorry, lost power there for a bit
07:21:18 <bwolfe> I meant:
07:21:51 <bwolfe> don't do this in the wizard: 1) do you want to enter the module author name? Y/N (if yes) 2) module author name: _____________
07:22:00 <bwolfe> just do 1) Module author name: ______________
07:22:08 <bwolfe> and if the user puts it in, great, if not, oh well
07:29:32 <goutham> bwolfe: matt told to create a single archetype which allows a developer to choose creation of Service/Serviceimpl/hbm/controller...
07:29:55 <bwolfe> yes, I agree
07:30:42 <bwolfe> but something like "author name" is only in the general one and the user should always answer that question. The user shouldn't have to answer a question about whether they want to answer the question
07:31:12 <bwolfe> your wizard would have things like "do you want a service? Y/N" then "what is the service name? (MODULEIDService) ____"
07:31:15 <bwolfe> that is ok
07:31:15 <OpenMRSBot> Recent updates in the world of openmrs: New Changeset: OpenMRS (obs-codes-expanded): Adding changes suggested by bwolfe (review of Version -01) step 1 <http://feedproxy.google.com/~r/OMRStrunk/~3/4RGWZ5aVrm0/OpenMRS>
07:31:35 <goutham> bwolfe: and now i am dealing the task of asking. "Would you like to create service? (Y/N)"
07:31:43 <goutham> yes...
07:32:26 <goutham> iam trying to create that option...
07:33:59 <goutham> iam stuck here in creating the Yes/No option
07:36:51 <goutham> bwolfe: i guess ArchetypeCreationQueryer will help me in this but i dont know how to include this in archetype and run it
07:39:38 <goutham> bwolfe: Am i clear to u?
07:39:58 <bwolfe> you're clear. I don't know anything about that class though
07:43:19 *** katta has joined #openmrs
07:45:30 <goutham> bwolfe: Matt said that archetype plugin uses a " plexus prompter component "
07:46:04 <goutham> bwolfe: so can you help in creating prompter ?
07:49:08 *** bwolfe has quit IRC
07:49:54 *** pascal` has quit IRC
07:53:43 *** dkayiwa has quit IRC
08:02:51 *** bwolfe has joined #openmrs
08:02:51 *** ChanServ sets mode: +o bwolfe
08:03:04 *** pascal` has joined #openmrs
08:06:44 *** rafa has quit IRC
08:07:16 *** rafa has joined #openmrs
08:07:16 *** ChanServ sets mode: +v rafa
08:45:58 *** batkinson has joined #openmrs
08:58:15 *** pascal` has quit IRC
09:10:25 *** pascal` has joined #openmrs
09:31:47 *** batkinson has quit IRC
09:51:44 *** ena has joined #openmrs
09:51:47 <ena> Hi, everybody!
09:56:28 *** katta has quit IRC
09:56:32 <ena> could somebody help me with installation?
09:56:41 *** rafa has quit IRC
09:59:14 *** ena has quit IRC
10:00:11 <pascal`> dammit
10:00:20 <pascal`> people don't even wait around 5 minutes
10:00:41 <goutham> :D
10:02:08 <bwolfe> 3 mins.
10:02:10 <bwolfe> thats all you get
10:02:16 <bwolfe> and then they're off to another medium
10:07:53 *** katta has joined #openmrs
10:14:53 *** rafa has joined #openmrs
10:14:53 *** ChanServ sets mode: +v rafa
10:15:38 <pascal`> they should at least ping one of us by name
10:15:53 <bwolfe> most people are irc n00bs and don't know that
10:16:00 <bwolfe> they think everyone looks at the window all the time
10:16:08 <pascal`> or OpenMRS should give new people instructions the first couple of times they log in
10:16:09 <bwolfe> if no resposne within seconds, no one must care :-/
10:16:34 <pascal`> OpenMRSBot, be more useful!
10:16:34 <OpenMRSBot> pascal`: Error: "be" is not a valid command.
10:19:02 <bwolfe> the bot does have some welcome instructions
10:19:17 <bwolfe> we could add some "ping someone or wait for at least 13.2 mins"
10:20:20 <pascal`> I dunno, I've just seen it happen a few times recently
10:20:37 <pascal`> I wouldn't want people to fail during install and then never try again because we missed their help request
10:23:21 *** gauravpaliwal has joined #openmrs
10:23:21 *** ChanServ sets mode: +v gauravpaliwal
10:25:06 <pascal`> hi goutham, please ask in the channel
10:25:19 <pascal`> and to answer your question, no, I don't know anything about maven
10:25:45 <pascal`> bwolfe, would probably be the best person to ask about maven archetype customization
10:26:24 <goutham> pascal`: Ok
10:26:46 <bwolfe> doubtful.
10:26:51 * bwolfe only fakes knowing a lot about maven
10:27:21 <pascal`> There are a couple of people in #maven
10:27:34 <pascal`> but there might be an official channel on another server, or with another name, I'm not sure
10:30:26 <goutham> pascal`: can you name them
10:31:53 <pascal`> I've never used maven
10:32:26 <goutham> i think Matthew Blanchette is good at maven but its hard to catch him online
10:32:37 *** ena has joined #openmrs
10:33:15 * goutham thinks some body is back
10:33:21 <pascal`> Hi ena
10:33:24 <goutham> :)
10:33:34 <ena> hi
10:33:36 <pascal`> ena, what problem are you having with the install?
10:33:49 <ena> oh, thanx for asking
10:33:55 <ena> i tried to install
10:34:01 <ena> and got this exception
10:34:22 <ena> http://forum.openmrs.org/viewtopic.php?f=8&t=785&sid=c3da28a6b5386b58e5c1b82d0ebc072d
10:34:28 <OpenMRSBot> <http://ln-s.net/8v5g> (at forum.openmrs.org)
10:35:30 <ena> i am working on a branch, not on the trunk
10:37:13 <pascal`> ena, so this is your own custom build, not an official release?
10:37:39 <ena> they have created a branch for me, few days ago
10:37:50 <ena> i haven't changed much
10:38:03 <ena> maybe few classes connected with Person
10:38:16 <ena> if that is what you ask?
10:39:27 <pascal`> ena, did you do a diff like bwolfe suggested in that forum thread? Are you sure you have the latest build file?
10:39:44 <ena> latest from that branch, yes
10:39:54 <ena> i haven't done one step
10:39:54 <pascal`> ena, so the initial branch they made for you worked, then you made some changes and now it doesn't work?
10:40:31 <ena> no, i haven't tried before i made changes
10:40:55 <ena> you think it could be connected with that?
10:41:07 <ena> Delete all the directories and war files related to openmrs in your webapps directory.
10:41:20 <ena> i haven't done this, only tomcat, clean work dir
10:41:22 <pascal`> ena, well, it was never confirmed that the original branch even worked, right?
10:41:32 <ena> yes
10:41:53 <ena> i could start from the beginning
10:42:38 <pascal`> the error is pretty descriptive
10:43:00 <pascal`> diff you build file against trunk or some other, working, branch
10:43:15 <pascal`> since Lu's error seemed to be resolved up updating the build file
10:46:08 <ena> they are the same
10:48:41 *** dkayiwa has joined #openmrs
10:50:17 <katta> hi is there anyone around who is aware of the provider design? https://wiki.openmrs.org/display/projects/Multiple+providers+per+encounter
10:50:23 <OpenMRSBot> <http://ln-s.net/8v5l> (at wiki.openmrs.org)
10:50:23 <pascal`> well, then i guess you have to figure out why there's no stylesheet code
10:50:38 <ena> could you tell me where to look
10:50:47 <ena> where is that css
10:51:14 <bwolfe> katta, a little. whats your quesiton?
10:51:21 <pascal`> not sure ena, perhaps do a search on a working branch
10:51:43 <ena> ok, thank you
10:51:54 <ena> i will try to look for that en_gb
10:52:11 <katta> bwolfe, i wanted to know what does the column "identifier" in provider represent
10:52:15 <katta> or signify
10:52:52 <katta> would be great we can get an example of it's usage and and an example value
10:53:08 <bwolfe> katta, its the doctor's user id or hospital id or some other unique id on the external system
10:53:54 <katta> ok.. does that mean we have to capture that identifier during provider creation ?
10:54:12 <katta> currently it doesn't seem to capture that field during provider creation
10:55:15 <bwolfe> what does it ask for at creation? Just name?
10:56:36 <katta> name or person
10:58:01 <bwolfe> if its just name, then yes, identifier should be requested as well. if its person, then the identifier column isn't used, the identifier should be put on the person (assuming htat person_identifier has been added with that patch as well)
10:58:35 <katta> makes sense..
10:58:43 <katta> thnx ben
11:11:52 *** surangak has quit IRC
11:13:40 *** Zabil has joined #openmrs
11:16:00 *** katta has left #openmrs
11:18:43 *** robbyoconnor has quit IRC
11:41:17 *** ChanServ sets mode: +v pascal`
11:42:32 *** bryq has joined #openmrs
11:42:32 *** ChanServ sets mode: +v bryq
11:47:16 <ena> one question
11:47:26 <ena> how can i do installation again
11:47:38 <ena> i should drop database,
11:47:45 <ena> should i delete some folders?
11:48:31 <bwolfe> delete the openmrs runtime properties file
11:48:57 <bwolfe> https://wiki.openmrs.org/display/docs/Overriding+OpenMRS+Default+Runtime+Properties
11:48:58 <OpenMRSBot> <http://ln-s.net/8c91> (at wiki.openmrs.org)
11:49:10 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: installation exception <http://forum.openmrs.org/viewtopic.php?f=8&t=785#p2978>
11:49:25 <ena> thank you
11:56:05 *** dkayiwa has quit IRC
12:17:05 *** goutham has quit IRC
12:17:29 *** Zabil has quit IRC
12:19:59 *** wyclif has quit IRC
12:27:39 *** gbastien has joined #openmrs
12:36:30 *** chopin has joined #openmrs
12:36:30 *** ChanServ sets mode: +v chopin
12:40:40 *** bwolfe has quit IRC
12:46:56 *** dkayiwa has joined #openmrs
12:53:55 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: installation exception <http://forum.openmrs.org/viewtopic.php?f=8&t=785#p2980> || OpenMRS Forum: Re: installation exception <http://forum.openmrs.org/viewtopic.php?f=8&t=785#p2979>
12:53:57 *** bwolfe has joined #openmrs
12:53:57 *** ChanServ sets mode: +o bwolfe
12:54:16 *** downeym has joined #openmrs
12:54:16 *** OpenMRSBot sets mode: +o downeym
12:54:16 *** ChanServ sets mode: +o downeym
12:58:08 *** gbastien has quit IRC
13:01:11 *** bwolfe has quit IRC
13:05:46 *** Zabil has joined #openmrs
13:12:40 *** dkayiwa has quit IRC
13:13:40 *** Zabil has quit IRC
13:13:48 *** wyclif has joined #openmrs
13:14:28 *** bwolfe has joined #openmrs
13:14:38 *** ChanServ sets mode: +o bwolfe
13:17:23 <gauravpaliwal> Hi downeym ,
13:19:03 <gauravpaliwal> Hi bwolfe
13:19:21 <bwolfe> hey
13:19:33 <gauravpaliwal> just a personnel review , wanted to know with reference to a local LUG , Is it ethical to have a page like this : http://www.lug-iitd.org/Spammers incase people don't stop spamming the mailing list ( PS: I created this page after being spammed a lot of time :( )
13:20:28 <gauravpaliwal> bwolfe : what do you think ?
13:21:30 <bwolfe> you're banning someone for using boxbe??
13:21:37 <bwolfe> (or at least shunning)
13:22:04 <bwolfe> seems like that person just needs to add your wiki sender to their boxbe whitelist
13:22:13 <bwolfe> thats not really them spamming you...
13:24:11 <gauravpaliwal> bwolfe : not banning , but his boxbe mailing are being send to everyone who is sending a mail to the mailing list , okey , Deleted the wiki page content , thanks for the suggestion :) :)
13:24:29 <gauravpaliwal> bwolfe : Deleted the wiki page content , thanks for the suggestion :)
13:25:56 <pascal`> dont ask bwolfe gauravpaliwal, he's actually a spambot himself
13:26:10 <gauravpaliwal> pascal` :P
13:26:41 <gauravpaliwal> pascal` : why ? I found him a really great *MentorBOT*
13:26:42 <gauravpaliwal> :P
13:27:15 <pascal`> bwolfe, !list
13:28:19 <bwolfe> list: karma, spam, delete, harvest, kill, reap
13:29:47 <gauravpaliwal> bwolfe : too big list :)
13:29:53 <pascal`> !list
13:29:53 <OpenMRSBot> pascal`: Admin, Alias, AutoMode, Channel, ChannelLogger, ChannelStats, Config, Factoids, Herald, Karma, Misc, NickCapture, Owner, RSS, Reply, Seen, Services, ShrinkUrl, Status, and User
13:30:12 <pascal`> how many of those actually work?
13:30:26 <gauravpaliwal> !list
13:30:26 <OpenMRSBot> gauravpaliwal: Admin, Alias, AutoMode, Channel, ChannelLogger, ChannelStats, Config, Factoids, Herald, Karma, Misc, NickCapture, Owner, RSS, Reply, Seen, Services, ShrinkUrl, Status, and User
13:30:39 <pascal`> OpenMRSBot, Factoids
13:30:39 <OpenMRSBot> pascal`: Error: "Factoids" is not a valid command.
13:30:44 <pascal`> pfft
13:30:48 <pascal`> !Factoids
13:30:48 <OpenMRSBot> pascal`: Error: "Factoids" is not a valid command.
13:30:53 <bwolfe> !list Factoids
13:30:53 <OpenMRSBot> bwolfe: change, forget, info, learn, lock, random, search, unlock, and whatis
13:31:00 <bwolfe> !factoids info
13:31:00 <OpenMRSBot> bwolfe: (factoids info [<channel>] <key>) -- Gives information about the factoid(s) associated with <key>. <channel> is only necessary if the message isn't sent in the channel itself.
13:31:05 <pascal`> !Factoids random
13:31:05 <OpenMRSBot> pascal`: "bwolfealsosays": To greatly increase your chances of getting accepted by openmrs you should demonstrate your knowledge/skills in both java and potentially openmrs. The best way to do that is to finish a few small tickets. Type !trivialtickets and !introtickets for links to some that we have defined.; "pastebin": http://www.rafb.net/paste/; "roadmap": http://openmrs.org/wiki/Road_Map
13:31:09 <bwolfe> heh
13:31:19 <pascal`> !Factoids random
13:31:19 <OpenMRSBot> pascal`: "groovyforms module": An amazing module to dynamically create forms with ease, and without microsoft products (InfoPath, access, etc); "codereview": http://openmrs.org/wiki/Code_Review_Schedule; "burke": http://burkeware.com
13:31:49 <gauravpaliwal> !Factoids random
13:31:49 <OpenMRSBot> gauravpaliwal: "burke": uberg33k; "datamodel": The OpenMRS data model is described here: http://openmrs.org/wiki/Data_Model; "countdown": http://goo.gl/JPGx3
13:31:50 *** Zabil has joined #openmrs
13:32:03 <pascal`> gauravpaliwal++
13:32:08 <pascal`> !karma gauravpaliwal
13:32:08 <OpenMRSBot> pascal`: Karma for "gauravpaliwal" has been increased 3 times and decreased 0 times for a total karma of 3.
13:33:00 <gauravpaliwal> pascal` : even bot knows about GSoC :D
13:33:35 <pascal`> !gsoc
13:33:35 <OpenMRSBot> pascal`: Get more information about OpenMRS and Summer of Code 2011 with answers to all your questions at http://go.openmrs.org/soc2011
13:36:25 *** Zabil has quit IRC
13:57:57 *** dkayiwa has joined #openmrs
14:06:44 *** Shaabneh has joined #openmrs
14:07:11 <Shaabneh> anyone uses netbeans
14:07:13 <Shaabneh> ?
14:07:26 <pascal`> !karam netbeans
14:07:26 <OpenMRSBot> pascal`: Error: "karam" is not a valid command.
14:07:32 <pascal`> !karma netbeans
14:07:32 <OpenMRSBot> pascal`: Karma for "netbeans" has been increased 2 times and decreased 0 times for a total karma of 2.
14:07:40 <pascal`> !karma eclipse
14:07:40 <OpenMRSBot> pascal`: Karma for "eclipse" has been increased 2 times and decreased 0 times for a total karma of 2.
14:07:49 <pascal`> bwolfe, seen this: https://github.com/MrMEEE/bumblebee/commit/a047be ?
14:07:56 <OpenMRSBot> <http://ln-s.net/8v13> (at github.com)
14:08:16 <pascal`> Shaabneh, the vast majority of people use eclipse afaik, are you having issues with netbeans?
14:08:24 <Shaabneh> yes
14:08:34 <Shaabneh> i have some errors in web app
14:08:45 <pascal`> Shaabneh, what kind of errors?
14:09:37 <Shaabneh> http://pastebin.com/NDm81YRQ
14:09:39 <djazayeri> Shaabneh: have you been able to run the webapp in jetty?
14:10:24 <Shaabneh> no how to do that ?
14:10:56 <Shaabneh> i tried in netbeans
14:11:18 <Shaabneh> custom -> goals-> jetty:run
14:11:29 <Shaabneh> but nothing changed
14:12:48 <bwolfe> pascal`, yes, via your tweet I think
14:13:06 <bwolfe> Shaabneh, theres a wiki page on how to use netbeans, have you seen that?
14:13:18 <Shaabneh> sorry pacal error url is this not above one https://tickets.openmrs.org/secure/CantBrowseCreatedIssue.jspa?issueKey=ERR-116
14:13:19 <OpenMRSBot> <http://ln-s.net/8uzS> (at tickets.openmrs.org)
14:13:45 <Shaabneh> bwolfe: yes i seen it followed all steps
14:13:51 <pascal`> didn't tweet that bwolfe, funny though (=
14:14:05 <bwolfe> pascal`, oh, someone did. maybe gauravpaliwal?
14:14:40 *** Katta has joined #openmrs
14:14:49 <downeym> Hi Katta and welcome to the #openmrs IRC channel.
14:15:58 <pascal`> Shaabneh, so the error is the one on ticket REPORT-70
14:16:03 <pascal`> !ticket REPORT-70
14:16:03 <OpenMRSBot> pascal`: Allow me to help you with that. More details on ticket REPORT-70 can be found at http://tickets.openmrs.org/browse/REPORT-70
14:16:16 <Shaabneh> i pasted it to the site
14:17:13 <pascal`> Shaabneh, just to confirm, can you please paste the link which contains your error
14:17:34 *** Shaabneh has quit IRC
14:18:00 <pascal`> great
14:18:23 *** shaabneh has joined #openmrs
14:19:07 <shaabneh> pascal: did you see this error: http://pastebin.com/Rm1Mx5Qq
14:19:29 <shaabneh> when try to add form in administration
14:21:02 <shaabneh> ?
14:21:08 <shaabneh> ?
14:21:21 <pascal`> No, that's the first time I'm seen you paste that link
14:21:29 <pascal`> shaabneh, how about pasting the full stack trace?
14:21:43 <shaabneh> wait please
14:23:01 <shaabneh> http://pastebin.com/XihV6xdU
14:23:44 <shaabneh> do you think that error caused by apache failure?
14:24:37 <pascal`> shaabneh, I see four different errors and the four links you've pasted.
14:25:27 <pascal`> *and=at
14:25:46 <shaabneh> sorry pascal last one is the most impoortant one
14:25:59 *** Katta has left #openmrs
14:27:29 <pascal`> shaabneh, what version of OpenMRS are you running?
14:27:34 <djazayeri> shaabneh: are you still running OpenMRS Trunk?
14:27:41 <pascal`> shaabneh, is it still correct that you're seeing this when adding a form?
14:27:42 <djazayeri> you should be using 1.8.x.
14:28:00 <djazayeri> Also, what is the ticket number of the error report you created in tickets.openmrs.org about that bug?
14:28:01 <shaabneh> pascal :yes
14:28:32 <shaabneh> djaz: 1.8.x when try build give error
14:28:46 <shaabneh> failed to build
14:29:44 *** aja has joined #openmrs
14:29:51 <shaabneh> pascal this error (when press add visit tab)
14:30:31 <pascal`> Right
14:30:47 <djazayeri> shaabneh: you need to add \ before the " in about 4-6 places on that line
14:30:52 <pascal`> Well, as a temporary fix you might be able to add -Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false to your JAVA_OPTS when starting tomcat
14:31:17 <pascal`> or yeah, doing what djazayeri is probably the right thing to do
14:31:18 <aja> can any body help me to understand the mechanism behind the concept mapping?
14:31:29 <shaabneh> jazayeri can you give me folder and files name to edit?
14:31:36 <pascal`> I didn't realize we were talking about your own custom code
14:31:46 <bwolfe> aja, have you seen the concept mappings wiki page?
14:31:50 <djazayeri> pascal`: it's not his custom code
14:32:17 <djazayeri> shaabneh: /WEB-INF/tags/attributesForType.tag
14:32:22 <djazayeri> it's listed in the error message
14:32:26 <pascal`> ok, guess I'm confused then
14:32:27 <djazayeri> line 24
14:32:54 <djazayeri> every
14:32:55 <aja> bwolfe, yes that is not telling actual mechanism and other options
14:33:07 <djazayeri> every " that is between the <%= and %> needs to have a \ before it
14:34:17 <shaabneh> ok i'll try that now
14:35:47 <aja> bwolfe, are there any mechanism to do the adding the mapping in bulk
14:35:54 <pascal`> djazayeri++
14:39:19 <djazayeri> aja: I don't think so.
14:41:45 <aja> djazayeri,do you know other modules which use concept mapping (rxNorm and Snomed)
14:41:55 <djazayeri> aja: I don't
14:43:18 <aja> djazayeri,i searched on mailing list archive there were discussion on these topics
14:44:24 <aja> djazayeri,who else can help me?
14:45:52 <pascal`> aja, are you a developer?
14:46:16 <shaabneh> djazayeri: formFieldName="<%= jspContext.getAttribute("formFieldNamePrefix") + "[" + i + "]" %>"
14:46:25 <djazayeri> aja: I don't know. MVP is using that functionality, but I don't know who else is. And they don't really have anyone on irc.
14:46:26 <aja> pascal`:GSOC student
14:46:40 <pascal`> aja, then the code should be all you need :)
14:47:18 <djazayeri> shaabneh: every " that is between the <%= and %> needs to have a \ before it
14:48:15 <shaabneh> formFieldName="<%= jspContext.getAttribute(\"formFieldNamePrefix\") +\ "[\" + i + \"]\" %>"
14:48:20 <shaabneh> like that
14:48:37 <pascal`> shaabneh, you've got one that has an extra space
14:48:40 <djazayeri> yes, except that you have an extra space
14:49:15 <shaabneh> but in netbeans give red underline
14:49:28 <shaabneh> maybe /
14:49:32 <djazayeri> no, it's \
14:49:35 <djazayeri> just try running it
14:49:41 <shaabneh> ok i will
14:52:20 <shaabneh> @djazayeri: where to add this code:-Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false
14:52:47 <djazayeri> shaabneh: you do not need that code
14:52:51 <shaabneh> ok
14:57:21 *** bwolfe has quit IRC
14:58:29 <gauravpaliwal> pascal` : which retweet of bwolfe ?
15:01:13 <shaabneh> djazayeri: nothing changed
15:01:14 *** aja has quit IRC
15:03:50 <shaabneh> ?
15:04:11 <shaabneh> give me the same error
15:05:56 *** yanokwa has joined #openmrs
15:06:18 <shaabneh> djazyeri
15:06:20 <shaabneh> ?
15:06:28 <shaabneh> are you busy?
15:08:18 *** yanokwa has quit IRC
15:09:47 <djazayeri> shaabneh: if that didn't work, I don't know what to tell
15:09:50 <djazayeri> to tell you
15:10:03 <djazayeri> besides: #1 Use jetty (via maven)
15:10:17 <shaabneh> how?
15:10:21 <djazayeri> 2, use 1.8.x, not trunk
15:10:36 <djazayeri> did you look at the links I sent you yesterday from the OpenMRS wiki about using maven in netbeans?
15:10:44 <shaabneh> i used it but it doesn't work
15:11:11 <shaabneh> 1.8.x
15:12:29 *** gauravpaliwal has left #openmrs
15:12:37 <djazayeri> shaabneh: you followed the instructions on the wiki, and they didn't work?
15:12:50 <djazayeri> what didn't work about them?
15:13:04 <shaabneh> please can you give me the link again?
15:13:20 <shaabneh> i missed it
15:13:39 <shaabneh> and 1.8.x have errors
15:14:05 <shaabneh> load prroject failed, contains errors
15:14:06 <djazayeri> go to wiki.openmrs.org and search for netbeans
15:14:12 <shaabneh> ok
15:15:14 <shaabneh> excuse me, i'm so annoying
15:15:29 <shaabneh> another error http://pastebin.com/Rm1Mx5Qq
15:15:49 <shaabneh> while try to add location
15:21:19 <shaabneh> sunbiz supporter where he is?
15:22:01 <shaabneh> he is netbeans developer
15:30:12 *** dkayiwa has quit IRC
15:32:58 <djazayeri> shaabneh: as I told you yesterday, that last error (about adding a location) is a known bug
15:32:58 <shaabneh> [ERROR]Unknown lifecycle phase "mvn". You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-artifact-id>[:<plugin-version>]:<goal>. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-res
15:33:25 <djazayeri> if you want production-ready code, you need to be looking at 1.8.x, not trunk.
15:33:40 <djazayeri> shaabneh: try getting rid of the "mvn" in whatever command you did.
15:33:55 <shaabneh> then what? i have important discussion tomorrow
15:35:00 <shaabneh> i told you, i added arabic language to program
15:35:20 <djazayeri> shaabneh: I'm sorry that I can't help you further. All I can say is that you should be using 1.8.x, and you should be using jetty.
15:35:21 <shaabneh> i need trunk
15:35:29 <djazayeri> then use jetty
15:35:47 <shaabneh> did you know about sunbiz user
15:35:56 *** gbastien has joined #openmrs
15:35:57 <djazayeri> if the instructions on the wiki page for using maven and netbeans are bad, please add a comment to the wiki page saying what doesn't work.
15:36:12 <shaabneh> i find him here two weeks ago
15:36:18 <djazayeri> sunbiz is not online now
15:36:25 <shaabneh> but i can't catch him again
15:37:20 <shaabneh> do you at what time could he come?
15:37:30 <djazayeri> no idea
15:38:09 <shaabneh> his email ( very necessary)
15:38:32 <djazayeri> try the openmrs developers mailing list
15:38:48 <djazayeri> but shaabneh: you need to comment on the wiki page saying what doesn't work.
15:39:35 <shaabneh> i will do, i already send them ticket issue
15:39:47 <shaabneh> snet*
15:39:49 <shaabneh> sent*
15:39:57 <djazayeri> what ticket number?
15:40:41 <shaabneh> i don't know only this url: https://tickets.openmrs.org/secure/CantBrowseCreatedIssue.jspa?issueKey=ERR-116
15:40:42 <OpenMRSBot> <http://ln-s.net/8uzS> (at tickets.openmrs.org)
15:41:28 <djazayeri> shaabneh: have you created an Openmrs ID?
15:41:35 <shaabneh> no
15:42:52 <djazayeri> downeym: can I move an issue from ERR to TRUNK with an anonymous reporter?
15:45:04 <djazayeri> shaabneh: what is the problem trying to use maven+netbeans following the instructions on the wiki page?
15:45:15 <djazayeri> please describe your problem as a comment on that wiki page.
15:51:48 <downeym> djazayeri: better to copy the issue instead of move
15:51:54 <downeym> as the structure is different
15:52:03 <djazayeri> okay, but can I set Anonymous as the reporter?
15:52:08 <downeym> djazayeri: yeah
15:52:19 <downeym> (i think) :)
15:52:57 <djazayeri> oops, I just cloned the ticket in place
15:53:04 <djazayeri> how do I copy it to trunk?
15:53:16 <djazayeri> downeym: ^^
15:53:48 <downeym> i was thinking ctrl-c :)
15:54:08 <djazayeri> oh, I see.
15:54:39 <downeym> although there is a new plugin that allows a copy & link, i should look at that
15:54:43 *** rafa has quit IRC
15:54:49 <djazayeri> so, I'm supposed to leave the one issue in the ERR queue, and link it as what relationship?
15:55:24 <downeym> duplicate maybe -- might check with ben to see how he's done such things in the past
15:55:48 <djazayeri> okay, too bad he's offline now. :-)
15:56:05 <downeym> gmail IM :)
16:14:05 *** mandric has joined #openmrs
16:16:27 *** gbastien has quit IRC
16:17:26 *** szrrizvi has joined #openmrs
16:19:18 *** shaabneh has quit IRC
16:23:03 <djazayeri> wyclif: can you comment on the RESTWS ticket before you go to lunch?
16:30:55 *** deadpool has joined #openmrs
16:32:42 <deadpool> djazayeri: quick question if i have my own javascript/jquery functions i have coded and use in multiple places how do i put it in a file and include it on the jsp page?
16:32:56 <deadpool> i mean i know how to put it in a file
16:32:59 <djazayeri> deadpool: in a module?
16:33:03 <deadpool> yeah
16:33:21 <deadpool> i mean i know how to put it but i don't know where to put it
16:34:22 <djazayeri> in web/module/resources (if it's a pre-maven module)
16:34:43 <djazayeri> not sure offhand where it goes in a mavenized module
16:34:58 <deadpool> uh ok and then i just use openmrs include file tag?
16:35:06 <djazayeri> yes
16:35:18 <deadpool> cool thanks djazayeri
16:35:25 <djazayeri> deadpool
16:35:32 <djazayeri> you need to do something like:
16:35:46 <djazayeri> <openmrs:htmlIncludefile="/moduleResources/htmlformentry/htmlFormEntry.js"/>
16:35:53 <djazayeri> except with your moduleid and filename, obviously
16:36:11 <deadpool> gotcha thanks
16:36:42 <deadpool> djazayeri: just another quick question before i start this does openmrs have a form validation function?
16:36:52 <djazayeri> in javascript you mean?
16:36:58 <deadpool> yeah
16:37:11 <deadpool> just to make sure it isn't "" or null or a number where it should be
16:38:01 <djazayeri> we don't have any standard form validation js, no.
16:38:16 <deadpool> ah ok
16:40:16 *** szrrizvi has quit IRC
16:40:38 <djazayeri> downeym: what Resolution do you suggest I use for a ticket where the solution was "upgrade a dependent module to the latest version"?
16:41:15 *** rafa has joined #openmrs
16:41:15 *** ChanServ sets mode: +v rafa
16:57:27 *** szrrizvi has joined #openmrs
17:00:30 <szrrizvi> Hi quick question. How can I add to messages.properties without having it crash? Everytime I try some messages, compile, and run I get stuck with the "Waiting for changelog lock..."
17:01:08 <djazayeri> szrrizvi: in core or a module?
17:01:36 <szrrizvi> in core
17:02:17 <szrrizvi> I pretty much have the relationship admin page working. just need better labels
17:02:33 <djazayeri> you shouldn't need to recompile to see new messages, they should auto-reload.
17:03:22 <szrrizvi> but when I run the app with "jetty:run" it doesnt start. it keeps displaying the message "Waiting for changelog lock"
17:03:53 <djazayeri> in that case you need to do (as sql) "delete from liquibasechangeloglock"
17:05:33 <szrrizvi> so in the mysql command line client, i type in that command?
17:05:38 <djazayeri> yes
17:06:04 <szrrizvi> alrite. thank you
17:07:00 <szrrizvi> and i guess, once i have that page completely functional. i can submit it as a module?
17:07:14 <djazayeri> yes
17:07:33 <djazayeri> if it's just a page to manage relationships, you can probably submit it for core. we'll see once you're done
17:07:36 <OpenMRSBot> Recent updates in the world of openmrs: New Changeset: OpenMRS (trunk): when try to add visit, it give me an error (tomcat-specific) - TRUNK-2363 <http://feedproxy.google.com/~r/OMRStrunk/~3/9KlsTOu1hTM/OpenMRS>
17:08:21 <szrrizvi> alrite
17:16:32 *** gauravpaliwal has joined #openmrs
17:16:32 *** ChanServ sets mode: +v gauravpaliwal
17:21:11 *** goutham has joined #openmrs
17:24:09 *** gauravpaliwal has quit IRC
17:29:24 <downeym> djazayeri: just saw your question re: resolution. It sounds like an "Information Provided"? But i'm not sure of the context
17:29:43 <djazayeri> that's what I chose. Just FYI "Information provided" isn't very intuitive to me
17:29:53 <djazayeri> I don't understand if it's me providing info or them providing info
17:29:58 *** robbyoconnor has joined #openmrs
17:29:58 *** ChanServ sets mode: +v robbyoconnor
17:30:00 <djazayeri> downeym: ^^
17:30:04 *** goutham has quit IRC
17:30:27 <downeym> djazayeri: it's kind of meant to be vague :)
17:32:34 *** szrrizvi has quit IRC
17:32:50 <downeym> djazayeri: was it a case of answering a question or that it was a bug that wasn't really a bug?
17:32:58 <djazayeri> bug wasn't really a bug
17:33:06 <downeym> what about cannot reproduce?
17:33:49 <djazayeri> I guess. I mean, it's really more "invalid request" or something
17:35:02 <downeym> putting my english language thinking cap on
17:35:21 <djazayeri> how about "not really a bug". :-)
17:35:30 <djazayeri> or "no change required"
17:38:00 <downeym> Won't Fix?
17:38:40 <djazayeri> That could work, though it's not actually a bug.
17:38:44 *** gbastien has joined #openmrs
17:38:47 <djazayeri> so there's nothing to fix
17:38:50 *** mccallumg has joined #openmrs
17:38:50 *** ChanServ sets mode: +v mccallumg
17:49:00 *** chughgaurav has joined #openmrs
17:53:11 *** mccallumg has quit IRC
17:58:01 *** gauravpaliwal has joined #openmrs
17:58:01 *** ChanServ sets mode: +v gauravpaliwal
17:59:46 *** chughgaurav has quit IRC
18:07:12 *** mandric has quit IRC
18:12:45 <OpenMRSBot> Recent updates in the world of openmrs: New Changeset: OpenMRS (1.8.x): Adding alias that was left out when merging, Fix EncounterService.getCountOfEncounters() and getEncounters(String, Integ... <http://feedproxy.google.com/~r/OMRStrunk/~3/8L29jpHZD4I/OpenMRS> || New Changeset: OpenMRS (): Replacing the 1.8.0 tag <http://feedproxy.google.com/~r/OMRStrunk/~3/Ghw0-_DW2IE/OpenMRS>
18:13:03 *** shaabneh has joined #openmrs
18:13:25 <shaabneh> djazayeri: hi
18:13:34 <shaabneh> visit is working now
18:13:38 <shaabneh> :0
18:13:46 <shaabneh> :)
18:15:00 <shaabneh> How do Encounter work?
18:15:45 <shaabneh> i need help
18:16:04 <shaabneh> any one have time ?
18:16:09 <shaabneh> plzz
18:16:42 <shaabneh> pascal:are u busy?
18:17:00 <gauravpaliwal> shaabneh: https://wiki.openmrs.org/display/docs/Research+Encounters+Module tried this ?
18:17:07 <OpenMRSBot> <http://ln-s.net/8v+-> (at wiki.openmrs.org)
18:17:15 <shaabneh> thank u
18:17:27 <gauravpaliwal> shaabneh:it is pascal` not pascal :)
18:17:57 <shaabneh> ok :0
18:18:00 <shaabneh> :)
18:18:20 <shaabneh> what's its function web app
18:18:20 <shaabneh> ?
18:18:35 <shaabneh> how to store encounter?
18:19:30 *** bwolfe has joined #openmrs
18:19:35 *** ChanServ sets mode: +o bwolfe
18:21:19 <gauravpaliwal> shaabneh: bwolfe might help you :)
18:21:29 <shaabneh> gauravpaliwal:ok thank u
18:21:31 <shaabneh> :)
18:21:36 <bwolfe> oh is THAT what you think!?
18:21:47 <bwolfe> I strive to be very unhelpful in here
18:21:59 <shaabneh> bwolfe:can you :)
18:22:01 <bwolfe> especially while I'm having a Tusker
18:22:51 <bwolfe> what was the question?
18:23:12 <gauravpaliwal> bwolfe : I have to use dictionary two time first time for finding the meaning of shunning and other time for Tusker :(
18:24:12 <gauravpaliwal> bwolfe : (11:45:00 PM) shaabneh: How do Encounter work? I have given him a link to documentation but he is asking "(11:48:20 PM) shaabneh: what's its function web app" which I don't know :(
18:24:19 <bwolfe> haha, did you find Tusker? its a great Kenyan beer
18:24:45 <bwolfe> an encounter is "one encounter a patient has with a doctor"
18:24:47 <bwolfe> so it can be a visit
18:24:49 <bwolfe> a phone call
18:24:56 <bwolfe> a nurse taking initial measurements
18:25:05 <bwolfe> a worker coming to a patient's home to collect data, etc
18:25:12 <bwolfe> an encounter has one or more "observations" in it
18:26:00 <bwolfe> an observation is a single data point collected. eg. weight, height, cd4 count, eye color, mode of transportation, etc. that would be 5 observations in one encounter
18:26:02 <shaabneh> do i need observation tab for encounter?
18:26:39 <bwolfe> shaabneh, a tab?
18:26:50 <bwolfe> not sure you mean what you think you mean
18:28:36 <bwolfe> shaabneh, can you add some of the tidbits of knowledge to the wiki in places where you've looked? If you're having issues with things then I'm sure other people have similar questions
18:28:38 <shaabneh> i mean encounter tab have nothing inside , nothing to edit , where can doctor write report for patient?
18:28:53 <bwolfe> a doctor would fill out a form
18:29:02 <shaabneh> entry form?
18:29:05 <bwolfe> so you need a formentry type of module (formentry, htmlformentry, xforms)
18:29:16 <bwolfe> the form gets translated into an encounter+many observations
18:29:16 <shaabneh> create one?
18:30:22 <shaabneh> bwolfe the problem in manage form , when try to add form give me an error, why?
18:30:40 <gauravpaliwal> bwolfe , shaabneh: I think their is a video by bawolfe showing all this stuff, let me check the logs.
18:30:48 <shaabneh> ok
18:30:51 <shaabneh> http://pastebin.com/pADCbT1V
18:31:05 *** Suranga has joined #openmrs
18:31:35 <bwolfe> shaabneh, thats a known issue with trunk right now
18:31:46 <bwolfe> you should be able to find the bug in tickets.openmrs.org
18:32:23 <gauravpaliwal> shaabneh: see the video https://wiki.openmrs.org/display/docs/2011-06-02+Developer+Meeting
18:32:29 <OpenMRSBot> <http://ln-s.net/8v+I> (at wiki.openmrs.org)
18:33:23 <shaabneh> gauravpaliwal: thank you
18:33:59 <shaabneh> bwolfe : if i find the ticket, how to resolve it in trunk?
18:35:14 <bwolfe> shaabneh, I think chopin (jeremy keiper) is working on it. (as you will see from the ticket when you find it)
18:36:05 <Suranga> bwolfe, hello.. thanks for responding to my mail on fieldGen....
18:36:19 <Suranga> bwolfe, however, by saying "Try putting it in the body of hte tag and using variables from the taglib in the fieldgen tag parameters"
18:37:01 <Suranga> bwolfe, u mean that the fledGen tag should live in the body of a jsp page, and that my java tag class should return it params, is it ?
18:37:01 <djazayeri> Suranga: the taglib class you're writing actually produces html
18:37:10 <djazayeri> not jsp that's going to be later processed for other tags
18:38:04 <djazayeri> I actually don't know how to have a taglib class call another taglib or .tag file, but maybe there's a way
18:38:16 <Suranga> hmm... it seemd that the the jsp failed to interpret the fieldGen code..
18:38:53 <Suranga> i tried writing a basic drop down list that doesnt use a custom tag, and that worked fine...
18:39:11 <Suranga> maybe if does not recognize that the <openmrs:fieldGen is special ?
18:39:33 <djazayeri> Correct, it doesn't know that
18:39:47 <djazayeri> you're producing *html* from the taglib class
18:39:51 <djazayeri> plain html
18:40:02 <djazayeri> that will get passed straight through to the browser
18:40:05 <Suranga> aha, i think i see what you mean...
18:40:25 <Suranga> could i pass parameters to the jsp and create the tag there, d'you think ?
18:40:38 <Suranga> im not really understanding what Ben ment by "Try putting it in the body of hte tag and using variables from the taglib in the fieldgen tag parameters"
18:40:55 <djazayeri> are you writing a taglib that's called by a .tag?
18:41:20 <Suranga> nops.. the jsp is calling a java tag
18:41:20 <djazayeri> Honestly I would avoid writing a taglib class until you have everything working from end to end using some hackier method
18:41:46 <Suranga> u mean i should use a jsp tag class instead, is it ?
18:41:48 *** muthah has joined #openmrs
18:42:05 <djazayeri> i.e. I would recommend doing what I did when working on attributes: use a .tag file (which lets you use java in a hacky way) and html, including calling other tags.
18:42:31 <djazayeri> It's "bad style"
18:42:44 <Suranga> u mean to use a jsp tag, as you had, right ?
18:42:45 <djazayeri> but once you have everything actually working, we can figure out how to refactor and get rid of the bad style.
18:42:50 <djazayeri> A .tag file, yes
18:43:09 <shaabneh> bwolfe: can give link to tickets ?
18:43:13 <djazayeri> What you're trying to do is quite complex
18:43:57 <djazayeri> Suranga: so just try to get something working at all
18:43:59 <djazayeri> :-)
18:44:06 <bwolfe> shaabneh, search with the error message, you'll find it
18:44:42 <Suranga> djazayeri, i initially tried to do that, but i hit on a problem where I could not import java classes from the api.obs.handler package
18:44:52 <djazayeri> hmm
18:44:54 <bwolfe> Suranga, or even just a textbox where you have to put in the patient_id/location_id/etc_id manually
18:44:54 <Suranga> djazayeri, which left me clueless...
18:45:18 <shaabneh> ok
18:45:26 <Suranga> bwolfe, aha, that sounds like a good idea for now...
18:45:48 <Suranga> let me try it that way first, i think ...
18:48:15 <shaabneh> bwolfe: how can i use the patch file?
18:48:18 <bwolfe> yes, just keep moving forward
18:48:29 <bwolfe> as you get more jsp/tag/taglib experience the other suggestions will make more sense. :-)
18:48:45 <shaabneh> sure
18:48:52 <bwolfe> it gets frustrating when you're stuck on something for too long. so just hack around it and come back to it
18:49:41 <Suranga> :-) i understand the feeling :p
18:54:26 <shaabneh> bwolfe: how can i use patch file?
18:54:34 <bwolfe> !patches
18:54:34 <OpenMRSBot> bwolfe: "patches" --- http://openmrs.org/wiki/Patches
18:54:41 <bwolfe> shaabneh ^^
18:55:08 *** gauravpaliwal has quit IRC
18:56:18 *** gauravpaliwal has joined #openmrs
18:56:18 *** ChanServ sets mode: +v gauravpaliwal
19:00:12 *** szrrizvi has joined #openmrs
19:04:39 <szrrizvi> Hi, quick question. What is the serialVersionUID? And if I am creating a new object (something similar to Privilege), how should I give it a value?
19:04:51 <djazayeri> it should be 1L
19:04:58 <djazayeri> for a new class
19:06:25 <chopin> shaabneh: I will try to get that patched soon, unless you want to fix it
19:06:39 <szrrizvi> alrite. thank you
19:06:55 <djazayeri> shaabneh: you ***REALLY*** should be using 1.8.x, not trunk
19:07:00 <djazayeri> I don't know how much more strongly I can tell you this.
19:07:17 <chopin> djazayeri: more caps
19:07:18 <bwolfe> http://svn.openmrs.org/openmrs/branches/1.8.x
19:07:23 <bwolfe> (instead of trunk)
19:07:39 *** gauravpaliwal has left #openmrs
19:07:44 <djazayeri> If you're looking at going into production soon, you will be using 1.8.x, so you don't want to be misled by new features (and new bugs) in trunk.
19:08:11 *** gbastien has quit IRC
19:08:15 <chopin> <blink>&laquo; 1.8 &raquo;</blink>
19:08:34 <bwolfe> good try chopin
19:08:46 <bwolfe> but its <marquee>1.8</marquee>
19:08:48 <chopin> deprecated html ftl
19:09:16 *** szrrizvi has quit IRC
19:12:57 <downeym> wyclif hopes to be done with 1.8 in an hour or two
19:13:20 <djazayeri> if you see wyclif, as him to comment on that ticket for me. :-)
19:13:26 *** rafa has quit IRC
19:14:12 <downeym> i see him, he's about 1 meter away
19:14:15 <OpenMRSBot> Recent updates in the world of openmrs: New Changeset: OpenMRS (trunk): CODE REVIEW (POST-COMMIT) - issue TRUNK-1993: UUID used by equals and hashCode in OpenmrsObject ... <http://feedproxy.google.com/~r/OMRStrunk/~3/IvJDJPO5amA/OpenMRS> || New Changeset: OpenMRS (1.8.x): [maven-release-plugin] prepare for next development iteration <http://feedproxy.google.com/~r/OMRStrunk/~3/FA9VoVBGmds/OpenMRS> || New Changeset: OpenMRS (): [maven-release-plugin] copy for tag 1.8.0 <http://feedproxy.google.com/~r/OMRStrunk/~3/1Vw-JCLuHQs/OpenMRS> || New Changeset: OpenMRS (1.8.x): [maven-release-plugin] prepare release 1.8.0 <http://feedproxy.google.com/~r/OMRStrunk/~3/8QqW676m1g8/OpenMRS>
19:14:17 <downeym> he's kind of wired in right now
19:14:29 <djazayeri> okay
19:14:32 <djazayeri> nm
19:14:56 <downeym> i will tell him in a minute or two once data is importing
19:16:02 <downeym> he says he needs to confirm before commenting, and will do so after 1.8 is out the door
19:16:13 <downeym> it is fixable
19:16:21 <downeym> "there's a bug somewhere in it"
19:16:32 <djazayeri> okay…tell him to comment anyway and just say he hasn't confirmed...
19:16:35 <downeym> !ticket RESTWS-141
19:16:35 <OpenMRSBot> downeym: Allow me to help you with that. More details on ticket RESTWS-141 can be found at http://tickets.openmrs.org/browse/RESTWS-141
19:17:20 <djazayeri> That ticket is actually the second most important thing for us this week. Not sure why we assigned the top *two* most important things to wyclif at the same time. :-)
19:17:30 <downeym> wyclif is superhuman
19:17:39 <downeym> or at least non-human :D
19:18:47 <bwolfe> or just ugandan
19:21:11 *** Suranga has quit IRC
19:22:04 *** Suranga has joined #openmrs
19:23:49 <chopin> for some reason jetty's not picking up on code changes in web
19:23:54 <chopin> :(
19:24:03 <djazayeri> it only finds things in webapp, right?
19:24:06 <chopin> yea
19:24:12 <chopin> boo
19:24:17 <djazayeri> That's "by design"
19:24:27 <chopin> i thought so
19:24:35 <chopin> realizing that i'm running it from the webapp folder
19:24:45 <shaabneh> hello
19:24:52 <shaabneh> some body have time
19:24:55 <shaabneh> can help mee
19:24:56 <chopin> thanks for the "compile" target tho ... much better than running tests each time
19:25:00 <chopin> shaabneh: just ask
19:25:26 <downeym> shaabneh: What is your question?
19:25:41 <shaabneh> in form entry :
19:25:44 <shaabneh> Your administrator has not installed an updated form entry module
19:26:49 <djazayeri> you have to install either the htmlformentry or xforms module
19:26:54 <djazayeri> (or formentry)
19:27:09 <shaabneh> where?
19:27:20 <djazayeri> modules.openmrs.org
19:27:30 <shaabneh> in trunk
19:27:53 <djazayeri> you install them by going to Administration -> Manage Modules
19:28:31 <shaabneh> add module?
19:29:03 <djazayeri> yes
19:29:05 <shaabneh> is there ready example?
19:29:23 <shaabneh> where to get?
19:30:02 <djazayeri> https://wiki.openmrs.org/x/sw0z
19:30:13 <shaabneh> thanks so much
19:32:07 *** hamzahmree_ has joined #openmrs
19:32:23 <downeym> Hi hamzahmree_ and welcome to the #openmrs IRC channel.
20:07:47 <shaabneh> @djazayeri: what is the extension of the form?
20:08:03 <djazayeri> I don't understand the question
20:09:25 <shaabneh> to save html form
20:09:37 <shaabneh> what extension?
20:09:39 <djazayeri> you have to upload it to your server via Manage Html Forms
20:09:43 <djazayeri> it doesn't need an extension
20:10:12 <djazayeri> Administration -> Manage HTML Forms -> Add/Create (I forget the name)
20:10:19 <shaabneh> write it with notepad
20:10:25 <djazayeri> yes
20:10:30 <djazayeri> it's technically xml
20:10:41 <shaabneh> save as x.xml
20:10:51 <djazayeri> But note that when you create an html form with the module it's going to give you a default example form.
20:10:57 <djazayeri> you might want to start from that
20:11:05 <shaabneh> ok
20:11:14 <djazayeri> for small changes, you can edit them in the big textarea in the webapp
20:12:07 <shaabneh> i want to create form have a text area, do you know the exact code to do?
20:12:32 <djazayeri> Have you installed the module yet?
20:12:42 <shaabneh> no
20:12:44 <djazayeri> Have you created a new HTML Form?
20:12:49 <djazayeri> Do those two things first.
20:12:55 <shaabneh> ok
20:20:27 *** mandric has joined #openmrs
20:25:24 *** Suranga has quit IRC
20:33:04 *** mandric has quit IRC
20:34:11 <hamzahmree_> hi
20:34:23 <hamzahmree_> 4 every body
20:37:23 <djazayeri> hi
20:40:42 *** bwolfe has quit IRC
20:41:28 *** shaabneh has quit IRC
20:41:36 *** pascal` has quit IRC
20:42:34 *** hamzahmree_ has quit IRC
20:47:33 *** gbastien has joined #openmrs
20:50:40 *** chopin has quit IRC
20:53:01 *** bryq has quit IRC
20:54:45 *** downeym has left #openmrs
21:06:09 *** mandric has joined #openmrs
21:53:04 <OpenMRSBot> Recent updates in the world of openmrs: New Changeset: OpenMRS (localize-setup-wizard): TRUNK-2055 : completed translation of messages for update wizard <http://feedproxy.google.com/~r/OMRStrunk/~3/EcqUsXAnnZQ/OpenMRS>
21:54:56 *** downeym has joined #openmrs
21:54:56 *** OpenMRSBot sets mode: +o downeym
21:54:56 *** ChanServ sets mode: +o downeym
22:18:53 *** downeym has quit IRC
22:23:27 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: installation exception <http://forum.openmrs.org/viewtopic.php?f=8&t=785#p2981>
22:25:11 *** mandric has quit IRC
22:37:31 *** jwishnie has joined #openmrs
22:57:26 *** wyclif has quit IRC
23:38:35 *** deadpool has quit IRC
23:41:08 *** mandric has joined #openmrs
23:42:48 *** wyclif has joined #openmrs
23:49:23 *** deadpool has joined #openmrs
23:50:01 *** jwishnie has quit IRC
23:51:45 <deadpool> djazayeri: if i wanted to display a person's first middle and last name on a jsp page would it be patient.personname.firstname
23:52:34 <djazayeri> you can try <openmrs:formatperson="${person}"/>
23:52:51 <deadpool> oh ok cool.
23:52:59 <djazayeri> if you want the specific components, they're givenName, middleName, familyName
23:53:15 <deadpool> djazayeri: uuhh what do i pass in as a person i have the patient
23:53:20 <deadpool> object
23:53:25 <deadpool> can i just pass that in?
23:53:28 <djazayeri> Patient extends Person, so you can pass one in just fine
23:53:36 <deadpool> cool thanks
23:54:59 *** mandric has quit IRC