IRC Chat : 2011-04-29 - OpenMRS

00:00:58 <downeym> can you use the openmrs scheduler?
00:01:09 <downeym> e.g. quartz scheduler?
00:01:10 <deadpool> uhhh...what is that?
00:01:42 <downeym> https://wiki.openmrs.org/display/docs/Quartz+Scheduler+Module
00:01:43 <downeym> :)
00:01:46 <OpenMRSBot> <http://ln-s.net/8lfu> (at wiki.openmrs.org)
00:02:03 <downeym> there are some other pages on the wiki related to it as well, user guide, etc.
00:02:47 <deadpool> will look into it thanks
00:02:47 *** gbastien has quit IRC
00:05:13 *** gbastien has joined #openmrs
00:13:40 *** gauravpaliwal has joined #openmrs
00:13:40 *** ChanServ sets mode: +v gauravpaliwal
00:34:03 *** gbastien has quit IRC
00:43:22 *** downeym has quit IRC
00:51:41 *** chopin has joined #openmrs
00:51:41 *** ChanServ sets mode: +v chopin
01:07:04 <djazayeri> deadpool: in addition to the quartz scheduler, there's a more primitive scheduler built in. See Scheduled Tasks
01:07:09 *** djazayeri has quit IRC
01:07:36 *** dkayiwa has quit IRC
01:10:08 *** gauravpaliwal has left #openmrs
01:10:57 *** gauravpaliwal has joined #openmrs
01:10:57 *** ChanServ sets mode: +v gauravpaliwal
01:19:53 *** gauravpaliwal1 has joined #openmrs
01:23:17 *** gauravpaliwal has quit IRC
01:29:28 <deadpool> chopin: what is the url for checking out modules i tried svn.openmrs.org/openmrsmodules and svn.openmrs.org/openmrs-modules and tried searching the wiki pages but couldn't find anything
01:38:57 *** deadpool has quit IRC
01:45:41 *** gauravpaliwal1 has quit IRC
01:45:46 *** gauravpaliwal has joined #openmrs
01:45:46 *** ChanServ sets mode: +v gauravpaliwal
02:04:48 *** chopin has quit IRC
02:20:07 <gauravpaliwal> @deadpool : see : http://svn.openmrs.org/openmrs-modules/ their are code for module available their
03:21:39 *** gauravpaliwal1 has joined #openmrs
03:22:25 *** gauravpaliwal1 has left #openmrs
03:23:57 *** gauravpaliwal has quit IRC
03:39:13 *** surangak has joined #openmrs
04:18:02 *** bwolfe has joined #openmrs
04:18:02 *** ChanServ sets mode: +o bwolfe
04:33:31 *** dkayiwa has joined #openmrs
04:35:00 *** rafa has joined #openmrs
04:35:00 *** ChanServ sets mode: +v rafa
04:41:26 *** bryq has joined #openmrs
04:41:26 *** ChanServ sets mode: +v bryq
05:04:45 <surangak> .say hello guys... may I ask an question which will highlight my ignorance of liquibase ... :-)
05:05:14 <surangak> hello guys... may I ask an question which will highlight my ignorance of liquibase ... :-)
05:10:13 <bwolfe> sure
05:10:21 <bwolfe> surangak: you don't have to ask if you can ask questions...just ask! :-)
05:10:28 <bwolfe> (and someone will see it eventually and answer)
05:10:53 <surangak> its like this..the liquibase-schema-only.xml file... is it auto generated :-)
05:11:39 <surangak> at least, the ids, such as this ... <changeSet author="ben (generated)" id="1227303685425-294"> seem to be...
05:12:04 <bwolfe> yes, that was auto generated
05:12:10 <bwolfe> (by one awesome dude)
05:12:33 <surangak> :D actually u seem to be the only dude in the entire file :P
05:13:10 <bwolfe> yep
05:13:13 <surangak> so if i create an hbm file, the liquibase-scheme files are mofied automatically...
05:13:17 <bwolfe> thats because the whole file was generated at the same time
05:13:39 <surangak> if i wasn to create a new foreign key or table, if i create the hbm...
05:14:16 <surangak> i dont need to configure the liquobase schema ?
05:14:47 <bwolfe> you don't touch liquibase-schema-only
05:14:53 <bwolfe> you only modify the liquibase-update-to-latest.xml file
05:15:04 <bwolfe> (or if you're in a module, the liquibase.xml file in your module)
05:15:14 <bwolfe> http://wiki.openmrs.org/display/docs/Module+liquibase+File
05:15:15 <bwolfe> or
05:15:19 <OpenMRSBot> <http://ln-s.net/8lkb> (at wiki.openmrs.org)
05:15:23 <bwolfe> http://wiki.openmrs.org/display/docs/Database+Update+Conventions
05:15:25 <OpenMRSBot> <http://ln-s.net/8lkc> (at wiki.openmrs.org)
05:15:39 <surangak> aha, so for every hbm modification, a similar change to the update to latest...
05:15:43 <bwolfe> yes
05:15:50 <surangak> gotcha, ill have alook at the links...
05:16:06 <surangak> thanks a lot for the info...
05:28:54 *** bwolfe has quit IRC
05:32:11 *** bwolfe has joined #openmrs
05:32:11 *** ChanServ sets mode: +o bwolfe
05:33:18 *** bwolfe has quit IRC
05:34:27 *** bwolfe_ has joined #openmrs
05:34:27 *** ChanServ sets mode: +o bwolfe_
05:45:45 *** bwolfe_ has quit IRC
05:57:20 *** bwolfe_ has joined #openmrs
05:57:20 *** ChanServ sets mode: +o bwolfe_
06:09:22 *** rafa has quit IRC
06:11:13 *** surangak has quit IRC
06:11:18 *** batkinson has joined #openmrs
06:28:27 *** bwolfe_ has quit IRC
06:39:55 *** dkayiwa has quit IRC
06:39:58 *** dkayiwa_ has joined #openmrs
06:46:10 *** bwolfe_ has joined #openmrs
06:46:10 *** ChanServ sets mode: +o bwolfe_
07:48:44 <dkayiwa_> hi bwolfe:
07:49:09 <dkayiwa_> Mathew's issue looks like the one we worked on trunk bug fixes sprint
07:49:19 <dkayiwa_> should we backport it to 1.8?
08:00:59 *** batkinson has quit IRC
08:02:53 *** bwolfe_ is now known as bwolfe
08:03:00 <bwolfe> dkayiwa_: did you look up the ticket number?
08:03:08 <bwolfe> !refer dkayiwa_ [tabcomplete]
08:03:08 * OpenMRSBot refers dkayiwa_ to "tabcomplete" --- Most IRC clients let you easily write someone's nickname in the channel using tab completion. Just type the first few letters, then <tab>, and voila!
08:03:14 <dkayiwa_> i had not done that
08:30:27 *** james_regen has joined #openmrs
08:30:27 *** ChanServ sets mode: +v james_regen
08:43:48 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Calls abroad <http://forum.openmrs.org/viewtopic.php?f=7&t=537#p2956>
09:24:49 *** bwolfe_ has joined #openmrs
09:24:49 *** ChanServ sets mode: +o bwolfe_
09:27:17 *** bwolfe has quit IRC
09:29:33 *** gauravpaliwal has joined #openmrs
09:29:33 *** ChanServ sets mode: +v gauravpaliwal
09:50:38 *** bwolfe_ has quit IRC
09:56:31 *** gauravpaliwal has left #openmrs
09:58:42 *** wluyima has joined #openmrs
09:59:04 *** wluyima is now known as Guest43834
10:01:54 *** chopin has joined #openmrs
10:01:54 *** ChanServ sets mode: +v chopin
10:01:54 *** dkayiwa_ has quit IRC
10:01:55 *** bwolfe_ has joined #openmrs
10:01:55 *** ChanServ sets mode: +o bwolfe_
10:02:10 *** dkayiwa has joined #openmrs
10:04:51 *** Guest43834 has quit IRC
10:14:16 *** wluyima_ has joined #openmrs
10:14:33 *** wluyima_ is now known as wyclif
10:37:50 *** batkinson has joined #openmrs
10:50:33 *** downeym has joined #openmrs
10:50:33 *** ChanServ sets mode: +o downeym
10:50:33 *** OpenMRSBot sets mode: +o downeym
10:55:41 *** rafa has joined #openmrs
10:55:41 *** ChanServ sets mode: +v rafa
10:57:12 <downeym> hey rafa
10:57:13 *** surangak has joined #openmrs
10:57:22 <rafa> hi downeym :)
10:57:33 <surangak> hello guys
10:58:37 <downeym> good evening surangak
11:13:45 *** batkinson has quit IRC
11:15:42 *** r-friedman has joined #openmrs
11:16:17 <r-friedman> bwolfe_: Hi Ben, got yr ears on?
11:16:28 *** batkinson has joined #openmrs
11:17:36 <r-friedman> downeym: Hi Mike, got yr ears on?
11:17:46 <downeym> yep
11:18:04 <r-friedman> I'm trying to start over with Eclipse and the dependency installer
11:18:26 <r-friedman> I unzipped the download into the plugins directory and got no instructions
11:18:51 <r-friedman> do i need to move the jar file from its deep folder and put it right in the plugins?
11:19:14 <r-friedman> i'm trying to follow "Step By Step Instructions for Developoers"
11:20:09 <r-friedman> actually, now that i look, there is no jar in the downloaded file
11:24:40 *** Hazamonzo has joined #openmrs
11:24:41 <r-friedman> downeym: actually, see Darius dev list 1/19/2011, page needs fixing
11:24:54 <downeym> sorry had stepped away
11:25:07 <downeym> you're saying the page instructions are wrong?
11:25:10 <downeym> er, instructions on the page?
11:25:40 <r-friedman> downeym: yes per Darius dev list entry
11:25:44 <r-friedman> I will try his link now
11:28:54 <r-friedman> downeym: well, he doesn't have the right one, only the wrong one
11:29:05 <downeym> perhaps you can reply to the thread if you have it handy?
11:29:28 <downeym> chopin or dkayiwa - around and have any ideas?
11:30:35 <downeym> the jar doesn't seem to be in /openmrs-contrib/eclipse/plugins/org.openmrs.eclipsedependencyinstaller at all
11:31:57 <downeym> did you try the one at https://wiki.openmrs.org/pages/viewpageattachments.action?pageId=4489382&metadataLink=true ?
11:32:02 <OpenMRSBot> <http://ln-s.net/8lsY> (at wiki.openmrs.org)
11:32:26 *** dkayiwa has left #openmrs
11:32:59 *** suho has joined #openmrs
11:32:59 *** ChanServ sets mode: +v suho
11:33:05 <downeym> back in a few
11:33:17 * chopin has no clue
11:34:43 <r-friedman> yes, that one does not contain any jar file
11:34:59 *** surangak has quit IRC
11:36:31 <r-friedman> ok, i renamed it from .zip to .jar and it is now running
11:36:42 <r-friedman> however, it started with an error message that went by before I could capture it
11:37:09 <r-friedman> "Could not read" something
11:40:46 *** gauravpaliwal has joined #openmrs
11:40:46 *** ChanServ sets mode: +v gauravpaliwal
11:40:53 *** chopin has quit IRC
11:47:37 *** jriley has joined #openmrs
11:55:46 *** batkinson has quit IRC
11:57:40 *** batkinson has joined #openmrs
11:59:31 *** upul` has joined #openmrs
11:59:31 *** ChanServ sets mode: +v upul`
11:59:48 *** gauravpaliwal has left #openmrs
12:01:42 <r-friedman> downeym: ok, i am now on "Using the M2Eclipse Maven Plugin"
12:01:55 <r-friedman> The following Maven error occurred:
12:02:00 <r-friedman> 4/29/11 11:17:32 AM EDT: Build errors for openmrs-api; org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.googlecode.maven-java-formatter-plugin:maven-java-formatter-plugin:0.3:format (default) on project openmrs-api: Config file [eclipse/OpenMRSFormatter.xml] cannot be found
12:02:30 <r-friedman> so I installed the formatter and code template manually from "Coding Conventions"
12:06:20 *** batkinson has quit IRC
12:06:50 *** dlawson has joined #openmrs
12:07:10 *** djazayeri has joined #openmrs
12:07:10 *** ChanServ sets mode: +o djazayeri
12:09:44 *** batkinson has joined #openmrs
12:13:47 *** rafa is now known as raff
12:13:57 *** raff is now known as rafa
12:17:56 *** dlawson has left #openmrs
12:18:16 *** wyclif has quit IRC
12:20:57 *** djazayeri has quit IRC
12:21:48 *** djazayeri has joined #openmrs
12:21:48 *** ChanServ sets mode: +o djazayeri
12:22:44 *** upul` has quit IRC
12:25:58 *** batkinson has quit IRC
12:29:43 *** rafa is now known as raff
12:30:22 *** raff is now known as rafa
12:31:10 *** wyclif has joined #openmrs
12:40:56 <r-friedman> djazayeri: Hi Darius, got yr ears on?
12:41:11 <djazayeri> r-friedman: sort of
12:41:16 <djazayeri> trying to navigate ubuntu 11.04
12:41:19 <djazayeri> confused
12:41:23 <djazayeri> what's up?
12:41:30 <r-friedman> where do I find UI widgets for objects?
12:42:17 <djazayeri> what do you mean by that?
12:42:41 <r-friedman> for trunk-2269, you talk about a widget for providerattribute, I'm looking for a comparable example for another object
12:43:12 <djazayeri> oh, those don't exist yet
12:43:23 <djazayeri> they're actually being introduced with visits
12:43:29 <djazayeri> but that ticket hasn't been done quite yet
12:43:35 <djazayeri> You can help define it though.
12:43:58 <djazayeri> The idea is that we took the wrong path in the way we did person attributes, because we had their types be a java class.
12:44:22 <djazayeri> we're going to revise that so that the attribute types define a "logical" data type, rather than a concrete java class.
12:44:38 <r-friedman> right
12:44:41 <djazayeri> e.g. "date" rather than java.util.Date, and "regex-validated-string" or "string" rather than java.lang.String
12:44:58 <djazayeri> and in the UI layer there will be widgets to handle those logical data types.
12:45:18 <r-friedman> so are we talking a clickable icon like a date picker
12:45:25 <r-friedman> or just a generic three dots button sort of thing
12:45:27 <djazayeri> I wrote the ones for date and regex-validated-string as examples, but I don't think I checked them in yet.
12:45:42 <djazayeri> each widget defines what it looks like, and how it processes data
12:45:53 <djazayeri> so a date picker can have a calendar icon if implemented correctly.
12:46:07 <r-friedman> and do they use the task pane or a popup or what?
12:46:33 <djazayeri> in the first pass it will use exactly the current date picker you get elsewhere in the application
12:46:36 <djazayeri> so a popup
12:46:47 <djazayeri> (there is no task pane in the webapp)
12:46:59 <r-friedman> true dat
12:47:24 <r-friedman> so how a UI widget for location relate to the location picker in forms if at all?
12:47:34 *** bryq has quit IRC
12:47:37 <djazayeri> in infopath forms: not at all
12:47:52 <djazayeri> (in xforms: not really at all)
12:48:11 <djazayeri> (in html forms: not at all, but could possibly be reimplemented to be the same)
12:48:20 *** aja has joined #openmrs
12:48:43 *** djazayeri_ has joined #openmrs
12:48:46 <r-friedman> ok, i will crawl tickets for the attributable effort
12:48:51 <downeym> Hi djazayeri_ and welcome to the #openmrs IRC channel.
12:48:54 <djazayeri> there's really just the one ticket
12:49:12 <r-friedman> yeah, i sorta wish you hadn't exploded the provider one
12:49:14 *** aja has quit IRC
12:49:26 <djazayeri> maybe it has a dependant ticket or two for visit attributes, but the attributes were intended as a to-do-later thing
12:49:30 <r-friedman> i spend half my time responding to trivial comments like your comment refers to another ticket
12:50:26 <r-friedman> so actually, the provider service should stay the same regardless of how provider attribute is implemented
12:50:43 *** aja has joined #openmrs
12:50:47 *** rafa has quit IRC
12:51:11 *** aja has quit IRC
12:51:16 <r-friedman> we could define the service's attribute-related methods and worry later about what's behind them
12:51:33 <r-friedman> scuse me, brb
12:54:02 *** aja has joined #openmrs
12:56:09 *** batkinson has joined #openmrs
12:56:22 <djazayeri_> sorry, I lost the chat window and couldn't figure out how to find it again
12:56:49 *** djazayeri_ has quit IRC
12:56:55 <r-friedman> np
12:57:05 <r-friedman> like me in skype
12:57:42 <djazayeri> we are planning to enable the sub-tasks feature in JIRA so at least you can see all the tickets in one list.
12:58:07 <r-friedman> goood
12:59:24 *** jriley has left #openmrs
13:01:50 *** bryq has joined #openmrs
13:01:50 *** ChanServ sets mode: +v bryq
13:14:29 <r-friedman> djazayeri: how do you propose to internationalize attribute type names and descriptions?
13:14:49 <r-friedman> right now aren't we using LocalizedStrings?
13:14:59 <djazayeri> That code was written last GSoC but hasn't been merged yet.
13:15:16 <djazayeri> so, the plan is to do it with LocalizedStrings once those are in.
13:15:29 <r-friedman> brb
13:16:51 <r-friedman> djazayeri: I thought using concepts was good because it comes with a better localization method
13:17:03 <r-friedman> but then there are non-concept types such as location
13:17:35 <djazayeri> r-friedman: long ago I argued with Paul that everything (e.g. encounter types and locations too) should be concepts, so we'd just need one mechanism for it all.
13:17:39 <djazayeri> I couldn't convince him though.
13:17:55 <r-friedman> funny, he's always up for complex concepts
13:19:40 *** surangak has joined #openmrs
13:26:09 *** downeym sets mode: +v r-friedman
13:26:13 *** downeym sets mode: +v wyclif
13:26:17 *** downeym sets mode: +v surangak
13:26:19 *** downeym sets mode: +v aja
13:31:27 *** downeym has quit IRC
13:32:29 *** robbyoconnor has quit IRC
13:32:51 *** robbyoconnor has joined #openmrs
13:32:51 *** ChanServ sets mode: +v robbyoconnor
13:35:37 *** surangak has quit IRC
13:36:09 *** downeym has joined #openmrs
13:36:09 *** OpenMRSBot sets mode: +o downeym
13:36:09 *** ChanServ sets mode: +o downeym
13:43:31 *** rafa has joined #openmrs
13:43:31 *** ChanServ sets mode: +v rafa
13:46:17 *** downeym has quit IRC
13:47:11 *** downeym has joined #openmrs
13:47:11 *** ChanServ sets mode: +o downeym
13:47:11 *** OpenMRSBot sets mode: +o downeym
13:50:32 *** james_regen has quit IRC
13:52:12 *** r-friedman has quit IRC
14:01:00 *** cta has joined #openmrs
14:28:10 *** downeym has quit IRC
14:31:46 *** downeym has joined #openmrs
14:31:46 *** ChanServ sets mode: +o downeym
14:31:46 *** OpenMRSBot sets mode: +o downeym
14:35:01 *** aja has quit IRC
14:37:45 *** bryq has quit IRC
14:39:02 *** downeym has quit IRC
14:40:47 *** downeym has joined #openmrs
14:40:47 *** ChanServ sets mode: +o downeym
14:40:47 *** OpenMRSBot sets mode: +o downeym
14:47:36 *** cta has quit IRC
14:50:18 *** rafa has quit IRC
14:53:43 *** bryq has joined #openmrs
14:53:43 *** ChanServ sets mode: +v bryq
15:13:05 *** surangak has joined #openmrs
15:34:16 *** bwolfe_ has quit IRC
15:57:01 *** batkinson has quit IRC
16:21:55 <downeym> !cs 19749
16:21:55 <OpenMRSBot> downeym: Details of changeset 19749 should be available at http://source.openmrs.org/qsearch?q=19749
16:28:08 *** surangak has quit IRC
16:34:06 *** gbastien has joined #openmrs
16:37:32 *** bryq has quit IRC
16:51:56 *** djazayeri has quit IRC
17:02:58 *** wyclif has quit IRC
17:07:37 *** djazayeri has joined #openmrs
17:07:37 *** ChanServ sets mode: +o djazayeri
17:08:59 *** gbastien has quit IRC
17:14:06 *** wyclif has joined #openmrs
17:17:49 *** rafa has joined #openmrs
17:17:49 *** ChanServ sets mode: +v rafa
17:26:43 *** deadpool has joined #openmrs
17:27:19 *** djazayeri has quit IRC
17:33:52 <deadpool> hey downeym can i ask you a question?
17:33:59 <downeym> sure
17:34:52 <deadpool> when i return a modelandview object from an onsubmit i am also trying to pass an object so the jsp page can display it
17:35:41 <deadpool> so i have this return new ModelAndView(new RedirectView("/openmrs/module/Survey/SearchSurvey.list"),"list",surveylist);
17:36:08 <deadpool> so whenever i try to display the "list" item on the jsp page i get a null value
17:36:17 <deadpool> is it because i have redirectview?
17:36:34 <deadpool> i have checked to make sure surveylist is not null and it isn't
17:36:41 <downeym> hmm, better to ask a developer :)
17:36:52 <downeym> wyclif or rafa - ping :)
17:37:15 <wyclif> hey
17:37:33 <downeym> wyclif: see above :)
17:38:03 <deadpool> hey wyclif
17:39:01 <deadpool> oh an one more thing i reload the same page So SearchSurvey.list lets the user search for a particular item and displays it on the same page
17:42:22 <wyclif> i dont seem to understand what you asking about
17:43:15 <rafa> deadpool: you can't use RedirectView as it sets redirect header for the browser and the model is lost
17:43:26 <rafa> deadpool: can't you just point directly to jsp?
17:43:39 <deadpool> rafa: that is what i figured i did that but i get a 404 error
17:43:57 *** wyclif has quit IRC
17:44:28 <rafa> it indicates that you point to non existing jsp
17:44:33 <deadpool> yeah
17:44:50 <deadpool> it gives me /openmrs/WEB-INF/view//openmrs/module/Survey/SearchSurvey.list.jsp
17:45:39 <rafa> how does your return look like right now?
17:46:00 <deadpool> rafa: it looks like http://localhost:8080/openmrs/module/Pharmacy/SearchSurvey.list
17:46:56 <rafa> what jsp do you want to display?
17:47:04 <deadpool> that one i showed you
17:47:10 <deadpool> SearchSurvey.list
17:47:24 *** downeym has quit IRC
17:47:25 *** Echidna has quit IRC
17:47:35 <rafa> why don't you name it with .jsp?
17:47:42 <deadpool> would that work?
17:47:53 <deadpool> cause i have it tied to the moduleapplicationcontext as a .list and all
17:48:05 <deadpool> rafa: is that all?
17:48:32 <rafa> it should help
17:49:03 <deadpool> rafa you are awesome it worked
17:49:29 <rafa> good
17:50:45 *** Echidna has joined #openmrs
17:50:45 *** ChanServ sets mode: +v Echidna
17:53:21 *** rafa has quit IRC
18:21:04 *** deadpool has quit IRC
18:26:21 *** wluyima has joined #openmrs
19:53:37 *** gbastien has joined #openmrs
19:58:18 *** suhothayan has joined #openmrs
19:58:18 *** ChanServ sets mode: +v suhothayan
20:00:52 *** suho has quit IRC
20:30:31 <OpenMRSBot> Recent updates in the world of openmrs: New Changeset: OpenMRS (trunk): Add AttributeTypeHandler to the API, which can be used by multiple classes that need to support user-defined Attributes ... <http://feedproxy.google.com/~r/OMRStrunk/~3/_74-7ufJlY8/OpenMRS>
20:42:49 *** gbastien has quit IRC
21:18:53 *** suhothayan is now known as suho
21:31:52 *** openmrs has joined #openmrs
21:43:25 *** openmrs has quit IRC
22:11:17 *** suho has quit IRC