00:09:46
|
<deadpool_> r_friedman: so where are you at for the lab module?
|
00:35:39
|
*** deadpool_ has quit IRC
|
02:58:18
|
*** upul` has joined #openmrs
|
02:58:18
|
*** ChanServ sets mode: +v upul`
|
04:24:02
|
*** surangak has joined #openmrs
|
04:42:08
|
*** dmexs has joined #openmrs
|
04:53:12
|
*** r_friedman_ has joined #openmrs
|
04:54:42
|
*** r_friedman has quit IRC
|
05:07:32
|
*** surangak_ has joined #openmrs
|
05:07:32
|
*** surangak has quit IRC
|
05:37:11
|
*** dmexs has quit IRC
|
06:13:02
|
*** kishoreyekkanti has joined #openmrs
|
06:22:08
|
*** morristic has joined #openmrs
|
07:48:37
|
*** bryq has joined #openmrs
|
07:48:37
|
*** ChanServ sets mode: +v bryq
|
07:48:59
|
*** bryq has quit IRC
|
08:25:48
|
*** kishoreyekkanti has quit IRC
|
08:54:09
|
*** surangak_ has quit IRC
|
09:08:18
|
*** kishoreyekkanti has joined #openmrs
|
09:16:48
|
*** rafa has joined #openmrs
|
09:16:56
|
*** ChanServ sets mode: +v rafa
|
10:38:36
|
*** surangak has joined #openmrs
|
10:40:43
|
*** kishoreyekkanti has quit IRC
|
11:01:45
|
<surangak> howdy rafa r u around ? :)
|
11:01:55
|
<rafa> surangak: hey
|
11:02:14
|
<surangak> rafa, I just ran into a problem, so I rememberd that u r still here :P
|
11:02:22
|
<surangak> can I borrow 2 minutes ? :)
|
11:02:25
|
<rafa> surangak: sure
|
11:02:46
|
<surangak> its like this, Im tryin to add hibernate to the patientmatching module
|
11:02:53
|
<surangak> so I have the hbm file written
|
11:03:06
|
<surangak> and I added the <mappingfiles> bit to the config.xml
|
11:03:34
|
<surangak> and to the class where Im writing the stuff into the db, I put the private SessionFactory sessionFactory;
|
11:03:41
|
<surangak> and the getters setters
|
11:04:07
|
<surangak> unfortunately, when I try to load the module, and try it out, I get an error saying the sessionFactory is null :(
|
11:04:38
|
<rafa> surangak: have you configured in moduleApplicationContext to inject sessionFactory?
|
11:05:08
|
<surangak> rafa, I have
|
11:05:09
|
<surangak> <bean class="org.openmrs.module.patientmatching.db.hibernate.HibernatePatientMatchingReportMetadataDAO">
|
11:05:09
|
<surangak> <property name="sessionFactory"><ref bean="sessionFactory"/></property>
|
11:05:09
|
<surangak> </bean>
|
11:05:21
|
<surangak> :)
|
11:06:25
|
<rafa> hmmm any exceptions before nullpointer?
|
11:07:36
|
<rafa> and are you sure null pointer is for sessionFactory?
|
11:07:55
|
<surangak> giv me a minute, to check........
|
11:09:44
|
*** bryq has joined #openmrs
|
11:09:44
|
*** ChanServ sets mode: +v bryq
|
11:11:26
|
<surangak> rafa, im afraid thats the case
|
11:11:31
|
<surangak> I just tried debuggin
|
11:12:09
|
<rafa> surangak: are you running your module in a unit test?
|
11:12:32
|
<surangak> rafa, nopz, Im uploading it to openmrs
|
11:12:50
|
<rafa> surangak: okay, it's faster to fix it in a unit test
|
11:13:11
|
<rafa> surangak: write some simple test
|
11:13:20
|
<rafa> surangak: then make sure that your setter works :)
|
11:13:27
|
<surangak> rafa, I dont really have a test-applicationcontext yet.. mmm let me seee :P
|
11:13:52
|
<rafa> surangak: i.e. it's not sessionFactory = sessionFactory :)
|
11:14:10
|
<rafa> surangak: rather this.sessionFactory = sessionFactory ;)
|
11:14:41
|
<surangak> mm... rafa , I didnt get u :(
|
11:14:57
|
<rafa> surangak: so you have a setter for sessionFactory right?
|
11:15:05
|
<surangak> yepss
|
11:15:16
|
<surangak> public SessionFactory getSessionFactory()
|
11:15:17
|
<surangak> {
|
11:15:17
|
<surangak> return sessionFactory;
|
11:15:17
|
<surangak> }
|
11:15:17
|
<surangak> public void setSessionFactory(SessionFactory sessionFactory)
|
11:15:18
|
<surangak> {
|
11:15:19
|
<surangak> this.sessionFactory=sessionFactory;
|
11:15:21
|
<surangak>
|
11:15:23
|
<surangak> }
|
11:15:34
|
<rafa> okay looks good :)
|
11:16:41
|
<rafa> pastebin your applicationContext
|
11:17:58
|
<surangak> rafa, its at http://pastebin.com/6dGBPss8
|
11:19:41
|
<rafa> surangak: line 69 doesn't look right
|
11:19:56
|
<rafa> surangak: patientMatchingReportMetadataDao should it be?
|
11:21:04
|
<rafa> surangak: if you have a setter setPatientMatchingReportMetadataDao then it should be patientMatchingReportMetadataDao
|
11:22:10
|
<rafa> surangak: <property name="patientMatchingReportMetadataDao">
|
11:22:16
|
<surangak> rafa, mm... sorry, didnt really get u there :(
|
11:23:01
|
<rafa> surangak: do you have a method setPatientMatchingReportMetadataDao in PatientMatchingReportMetadataServiceImpl?
|
11:23:49
|
<surangak> mm.... yep, it looks like ...
|
11:24:12
|
<rafa> surangak: then in line 69 you should say <property name="PatientMatchingReportMetadataDao">
|
11:24:20
|
<rafa> ergh
|
11:24:24
|
<rafa> <property name="patientMatchingReportMetadataDao">
|
11:24:37
|
<rafa> with the small "p"
|
11:24:54
|
<surangak> Ohhhhhhhhhhhhhh !!!!!!!!
|
11:24:59
|
<surangak> thats embarassing :P
|
11:25:08
|
* surangak runs to check if it works :)
|
11:32:05
|
<surangak> mm.. rafa mmm.. unfortunately I seem to be still facing the same problem :(
|
11:32:17
|
<surangak> still gettin null pointer
|
11:34:52
|
<rafa> surangak: make sure you use Context.getService(PatientMatchingReportMetadataService.class) to access your bean
|
11:36:01
|
*** upul` has quit IRC
|
11:36:21
|
<rafa> surangak: also change line 80 to <ref bean="transactionAttributeSource" />
|
11:37:28
|
<surangak> mm... im not sure I understand the part about Context.getService(PatientMatchingReportMetadataService.class)
|
11:38:35
|
<rafa> surangak: in other words you never do PatientMatchinReportMetadataService service = new PatientMatchingReportMetadataServiceImpl();
|
11:38:54
|
<rafa> surangak: rather PatientMachingReportMetadataService service = Context.getService(PatientMatchingReportMetadataService.class);
|
11:39:36
|
<surangak> oh, I seee... so I use this to create an instance of the bean right ?
|
11:39:41
|
<surangak> let me do that :)
|
11:40:04
|
<rafa> surangak: it's not really creating a new instance, services are singletons by default
|
11:40:31
|
<rafa> surangak: so it's always the same object tht getService returns
|
11:40:57
|
<rafa> surangak: and fix line 80
|
11:51:40
|
<surangak> hi rafa , mm.. it it PatientMatchingReportMetadataService.class or PatientMatchingReportMetadataServiceImpl.class that I should be using ? in the applicationcontext.xml ive been using PatientMatchingReportMetadataServiceImpl all along... :)
|
11:52:17
|
<rafa> surangak: pardon?
|
11:52:49
|
<surangak> i mean, for the applicationcontext.xml, I've been using PatientMatchingReportMetadataServiceImpl .class alll along...
|
11:52:59
|
<rafa> oh :)
|
11:53:02
|
<surangak> so when I do a Context.getService
|
11:53:25
|
<surangak> should I be calling the service class or the impl class ? :(
|
11:53:41
|
<rafa> the service class (the interface)
|
11:53:57
|
<rafa> it's what you declared in line 60 in applicationContext <value>org.openmrs.module.patientmatching.PatientMatchingReportMetadataService</value>
|
11:54:09
|
<rafa> sorry 64
|
12:31:13
|
<OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Modules: Spreadsheet Import 0.4.1 uploaded to OpenMRS Module Repository <https://dev.openmrs.org/modules/view.jsp?module=spreadsheetimport&version=&0.4.1>
|
12:53:49
|
<surangak> rafa, It works !!!!!!!!
|
12:53:52
|
<surangak> :-)
|
12:54:02
|
<rafa> surangak: cool :)
|
12:54:25
|
<surangak> rafa, thanks for helping me out :)
|
12:54:33
|
<rafa> np
|
13:11:54
|
*** kishoreyekkanti has joined #openmrs
|
13:15:58
|
*** morristic has quit IRC
|
14:34:23
|
*** surangak_ has joined #openmrs
|
14:34:54
|
*** surangak has quit IRC
|
14:43:21
|
*** kishoreyekkanti has quit IRC
|
14:43:44
|
*** kishoreyekkanti has joined #openmrs
|
14:47:07
|
*** surangak_ has quit IRC
|
15:15:24
|
*** kishoreyekkanti has joined #openmrs
|
15:18:00
|
*** kishoreyekkanti has quit IRC
|
16:11:54
|
*** dmexs has joined #openmrs
|
16:29:06
|
*** dmexs has quit IRC
|
16:44:04
|
*** deadpool_ has joined #openmrs
|
16:44:13
|
<deadpool_> hey rafa
|
16:46:02
|
*** kishoreyekkanti has joined #openmrs
|
16:59:11
|
*** r_friedman has joined #openmrs
|
16:59:35
|
<r_friedman> hey rafa, got a minute?
|
17:04:03
|
*** kishoreyekkanti_ has joined #openmrs
|
17:04:10
|
*** kishoreyekkanti has quit IRC
|
17:04:10
|
*** kishoreyekkanti_ is now known as kishoreyekkanti
|
17:10:59
|
<r_friedman> hey wyclif, ,are you really there?
|
17:13:20
|
<deadpool_> hey r_friedman think they are afk
|
17:13:43
|
<r_friedman> deadpool_: tks, hope springs eternal
|
17:13:55
|
<deadpool_> yeah it does
|
17:14:00
|
<deadpool_> hence the reason i am here
|
17:14:13
|
<r_friedman> not a very deadpoolish sentiment :-)
|
17:14:34
|
<r_friedman> have no hope all ye who enter here is your line
|
17:14:40
|
<deadpool_> nah
|
17:14:46
|
<deadpool_> i got the name from the comics
|
17:14:56
|
<r_friedman> really?
|
17:14:59
|
<deadpool_> yeah
|
17:15:12
|
<deadpool_> i kinda liked the character
|
17:15:20
|
<deadpool_> well not kinda i thought he was hilarious
|
17:15:23
|
<wyclif> hi r_friedman
|
17:15:33
|
<r_friedman> well well
|
17:15:51
|
<r_friedman> wyclif: hi wy, any action on the enum mapping front?
|
17:16:41
|
<wyclif> r_friedman, i sent you emails, have you checked?
|
17:16:44
|
<r_friedman> deadpool_: my son describes him as an anti-Captain America
|
17:17:14
|
<r_friedman> wyclif: not received, maybe i was too recondite in giving my email
|
17:17:28
|
<deadpool_> r_friedman: not really but i can see why he says that
|
17:17:45
|
<deadpool_> ooh wyclif after you help out r_friedman can i ask you a question?
|
17:18:15
|
<wyclif> deadpool_, sure
|
17:18:51
|
<r_friedman> wyclif: try resending them to r dot friedman at mindspring dot com
|
17:19:25
|
<wyclif> r_friedman, anyways i can tell from here
|
17:19:34
|
<wyclif> r_friedman, i got it working in my module
|
17:19:40
|
<r_friedman> wyclif: yay
|
17:27:08
|
<wyclif> r_friedman, can you correct the name of the property your mapping to in the hbm file, your bean has a different one from that in the hbm file
|
17:27:56
|
<wyclif> r_friedman, i also notices that the Hibernate enum type in core was fixed to load files from modules but this change is in 1.9 i think
|
17:28:35
|
<wyclif> r_friedman, see https://source.openmrs.org/changelog/OpenMRS?cs=24719, so might need to extend it and overide the method for older versions
|
17:31:33
|
<deadpool_> wyclif: i am trying to use the htmlInclude in my module but i don't think i am setting the path correctly is it just resources/script.js?
|
17:34:11
|
<wyclif> deadpool_, is that a js file in your module?
|
17:34:18
|
<wyclif> deadpool_, or it is from core
|
17:34:20
|
<deadpool_> wyclif:
|
17:34:22
|
<deadpool_> yes
|
17:34:26
|
<deadpool_> it is from my module
|
17:35:06
|
<deadpool_> so right now i have this <openmrs:htmlIncludefile="/module/Pharmacy/resources/script.js"/>
|
17:35:26
|
<wyclif> deadpool_, that is a wrong path
|
17:35:37
|
<deadpool_> i have tried different paths
|
17:35:39
|
<deadpool_> but nothing works
|
17:35:51
|
<deadpool_> what do i do?
|
17:36:03
|
<wyclif> deadpool_, you put file in that resource folder but actually when the module gets installed, they copied over , just use the same pattern as that in core
|
17:36:18
|
<deadpool_> uh and that is?
|
17:36:25
|
<wyclif> because the module engine copies them over
|
17:36:50
|
<deadpool_> yeah i get that but what is the path then?
|
17:39:01
|
<deadpool_> so it would be then /script.js?
|
17:41:30
|
<wyclif> deadpool_, <openmrs:htmlIncludefile="<openmrs:contextPath/>/moduleResources/moduleId/pathToYourScript"/>
|
17:43:58
|
<wyclif> deadpool_, or <openmrs:htmlIncludefile="/moduleResources/moduleId/script.js"/>
|
17:44:24
|
<wyclif> r_friedman, did you get it?
|
17:44:42
|
<r_friedman> wyclif: nice catch on the name difference
|
17:44:57
|
<r_friedman> reviewing the change, it appears to be in 1.8.2 per Ben and the rev #s
|
17:45:03
|
<r_friedman> i am testing it right now
|
17:45:18
|
<wyclif> r_friedman, and your module requires which version?
|
17:45:47
|
<r_friedman> at the moment 1.8.0 but can be changed, actually running on 1.8.2 or 1.8.3
|
17:46:57
|
<wyclif> r_friedman, i think people running any 1.8.x version can always upgrade, so i suggest require 1.8.3
|
17:47:03
|
<wyclif> r_friedman, if it contains the fix
|
17:47:22
|
<wyclif> deadpool_, did you get it working
|
17:47:30
|
<deadpool_> no
|
17:47:36
|
<deadpool_> i get something funny
|
17:47:53
|
<deadpool_> <script src="/openmrs/moduleResources/Pharmacy/script.js?v=1.8.2.21762" type="text/javascript" ></script>
|
17:47:55
|
<r_friedman> wyclif: right, have people install the latest but I want the POM to request the earliest feasible
|
17:47:55
|
<wyclif> deadpool_, which of the options above did you use
|
17:48:01
|
<deadpool_> i used the bottom
|
17:48:09
|
<deadpool_> i am going to try to use the first one
|
17:49:04
|
<wyclif> deadpool_, they should all work
|
17:49:40
|
<wyclif> deadpool_, i hope you replaced the 'moduleId' with that of your module
|
17:49:45
|
<deadpool_> yeah i did
|
17:49:53
|
<deadpool_> do i need to change moduleResources?
|
17:49:58
|
<deadpool_> to something else?
|
17:50:32
|
<wyclif> deadpool_, no, and your file should be under the resource folder under the webapp source folder
|
17:51:29
|
<wyclif> deadpool_, you can also use ${pageContext.request.contextPath} instead of the contextPath tag
|
17:51:34
|
<deadpool_> wyclif: it worked I made a small spelling mistake
|
17:51:42
|
<wyclif> deadpool_, cool
|
17:51:43
|
<deadpool_> sorry
|
17:52:39
|
<deadpool_> wyclif: thanks it was causing me frustration all day yesturday
|
17:53:24
|
<wyclif> deadpool_, you should always look in the module documentation, the page with this info is https://wiki.openmrs.org/display/docs/Module+Resources
|
17:53:25
|
<OpenMRSBot> <http://ln-s.net/8wxJ> (at wiki.openmrs.org)
|
17:53:40
|
<deadpool_> wyclif: i did
|
17:54:03
|
<deadpool_> all it said was put your files there but not on how to include them
|
17:54:08
|
*** kishoreyekkanti has quit IRC
|
17:54:09
|
<deadpool_> in your jsp file
|
18:07:07
|
*** kishoreyekkanti has joined #openmrs
|
18:11:47
|
*** kishoreyekkanti has quit IRC
|
18:14:09
|
<r_friedman> wyclif: i had 1.8.2 installed, it didn't work, am downloading 1.8.3 to see whether it has the fix, meanwhile i ran 1.8.4 SNAPSHOT under jetty and it worked
|
18:16:14
|
<wyclif> r_friedman, it was backported to 1.8.x so 1.8.3 should work
|
18:17:23
|
<r_friedman> wyclif: was done 12/5, don't know the date of 1.8.3
|
18:20:07
|
<r_friedman> wyclif: looks like 1.8.3 was 11/28 so no go
|
18:21:22
|
<wyclif> r_friedman,does it work or not?
|
18:21:53
|
<r_friedman> wyclif: haven't installed it, just checking dates in the war file
|
18:25:14
|
<wyclif> r_friedman, yeah the changeset never made it to 1.8.3
|
18:26:00
|
<deadpool_> wyclif: if i wanted to do a drop down menu for the header for the links is that possible?
|
18:26:10
|
<wyclif> r_friedman, your option is to extends that class and override that method to use the fix in that revision and use your subclass in the hbm file for the enum type mapping
|
18:26:28
|
<deadpool_> i mean is there an easy way to do that other than hacking the url part of the extension?
|
18:26:50
|
<wyclif> deadpool_, i dont seem to get well what you are asking
|
18:27:07
|
<r_friedman> wyclif: running in the dev environment is fine for now
|
18:27:10
|
<deadpool_> so we have a header with all the links right
|
18:27:29
|
<wyclif> r_friedman, i mean if you want to support older versions up to 1.7
|
18:27:30
|
<deadpool_> i have added to that with my module
|
18:27:56
|
<r_friedman> wyclif: tks, we are only starting with 1.8
|
18:28:04
|
<wyclif> deadpool_, do you mean the links on the admin page
|
18:28:20
|
<deadpool_> ah no to the header
|
18:28:30
|
<wyclif> r_friedman, then you will need to do what i suggested above
|
18:28:34
|
<deadpool_> so something like this http://www.stunicholls.com/menu/pro_dropdown_2.html
|
18:28:38
|
<OpenMRSBot> <http://ln-s.net/9UYd> (at www.stunicholls.com)
|
18:29:00
|
<deadpool_> if you go there you will see the header in green and if you hover over some links they drop down
|
18:29:22
|
<wyclif> deadpool_, of cource you can add it anywhere you want in your jsps, you are not limited
|
18:29:57
|
<r_friedman> wyclif: dev env has 1.8.4 SNAPSHOT which does include the fix so copacetic
|
18:30:09
|
<wyclif> deadpool_, but we have no generic widget to do that for you
|
18:30:12
|
<deadpool_> wyclif: i want to do it for the openmrs header
|
18:30:22
|
<deadpool_> so then i have to kinda hack it then
|
18:30:30
|
<deadpool_> cause i don't want to mess with the core
|
18:31:36
|
<wyclif> r_friedman, trunk will always have the latest changes but users of your module can be running older versions so you need to choose your required versions, as for now there is no official release with that fix and that is why i suggested you extend that class
|
18:32:17
|
<wyclif> deadpool_, what you can do it to replace the header with your own
|
18:32:33
|
<r_friedman> wyclif: there are no users except the people developing the front end
|
18:32:57
|
<deadpool_> wyclif: can i usurp the headerfull.jsp?
|
18:33:42
|
<r_friedman> deadpool_: take a look at the Role Based Home Page module, it will most likely be the entry point for a pharmacy module rather than vanilla openmrs
|
18:34:23
|
<r_friedman> deadpool_: certainly for modules like pharm, lab, hr that have their own tables and processes and users
|
18:34:32
|
<deadpool_> yeah
|
18:35:20
|
<r_friedman> deadpool_: your admin pages will still be there but you won't be using the patient-encounter interface
|
18:35:40
|
<wyclif> deadpool_, there is an extension point for that see https://wiki.openmrs.org/display/docs/Module+Extension+Points
|
18:35:41
|
<OpenMRSBot> <http://ln-s.net/8g-I> (at wiki.openmrs.org)
|
18:36:20
|
<deadpool_> wyclif: yeah i know but being a software developer and engineer i am trying to do it in the laziest way possible
|
18:36:25
|
<deadpool_> ;)
|
18:36:43
|
<wyclif> deadpool_, whay do you mean?
|
18:36:54
|
<r_friedman> deadpool_: i guess your generation didn't read Tootle
|
18:36:57
|
<wyclif> deadpool_, sorry i dont seem to get you well
|
18:37:27
|
<deadpool_> wyclif: so i think i can hack the linkext for org.openmrs.guttertool
|
18:37:40
|
<r_friedman> wyclif: deadpool_ likes to hack until he blows up omrs
|
18:37:42
|
<deadpool_> when you ask for the url i know that i can insert my own html code inthere
|
18:38:09
|
<deadpool_> for me that seems like the easiest way to do it then to create my own openmrs header
|
18:38:32
|
<deadpool_> the problem arises when i need to call my own javascript files
|
18:38:44
|
<deadpool_> but i am experimenting and will see if that works too
|
18:41:33
|
<deadpool_> r_friedman: what is tootle?
|
18:41:55
|
<r_friedman> deadpool_: will get back to you
|
18:42:05
|
<deadpool_> all right
|
18:44:42
|
<wyclif> deadpool_, use the extension point and replace it
|
18:45:03
|
<deadpool_> wyclif: what do you mean?
|
18:45:10
|
<deadpool_> i am already using an extension point
|
18:46:52
|
<wyclif> deadpool_, i mean use that extension point to add your own gutter
|
18:47:04
|
<deadpool_> ah hmm ok
|
18:55:36
|
<rafa> wyclif: hi
|
18:55:52
|
<rafa> wyclif: how are things going? :)
|
18:56:42
|
<rafa> wyclif: it's just us this week
|
18:57:49
|
*** dawn_ has joined #openmrs
|
18:58:56
|
<wyclif> hi rafa,
|
18:59:10
|
<wyclif> rafa, it is only us
|
18:59:54
|
<rafa> wyclif: yeah you can ping me if you have any problems or any code to review :)
|
19:01:30
|
*** dawn_ has quit IRC
|
19:02:40
|
<wyclif> rafa, sure, same there
|
19:03:08
|
<wyclif> rafa, are we having a scrum chat?
|
19:03:23
|
<wyclif> let me get you my update
|
19:03:28
|
<rafa> wyclif: okay
|
19:04:26
|
<rafa> here's mine:
|
19:04:27
|
<rafa> Today:
|
19:04:27
|
<rafa> * Committed TRUNK-3005: ConceptValidator finds duplicate names only for the current system locale
|
19:04:27
|
<rafa> https://tickets.openmrs.org/browse/TRUNK-3005
|
19:04:27
|
<rafa> * Re-running validators on the mvp dictionary
|
19:04:27
|
<rafa> Tomorrow:
|
19:04:27
|
<rafa> * Work on the maven module archetype
|
19:04:27
|
<rafa> No blockers.
|
19:04:51
|
<wyclif> rafa, will review that
|
19:05:02
|
<rafa> thx
|
19:05:03
|
<wyclif> friday(4hrs of work at RG):
|
19:05:03
|
<wyclif> * TRUNK-3001 - Add initialization/update wizard messages for languages other than english
|
19:05:03
|
<wyclif> * TRUNK-3003 - User should get redirected back to the remote details setup page when authentication fails
|
19:05:03
|
<wyclif> * Started work on TRUNK-3002 - Remove validation logic for Openmrs Objects from controllers
|
19:05:03
|
<wyclif> Tuesday 27/12/2011:
|
19:05:03
|
<wyclif> * Writing script for TRUNK-3001 to ease creation of spreadsheets for with the codes to localize
|
19:05:05
|
<wyclif> * TRUNK-3002 - Remove validation logic for Openmrs Objects from controllers
|
19:05:07
|
<wyclif> * Testing SMART module, i wanted to release a 1.0 but i have so far failed to get demo apps for testing
|
19:05:43
|
<rafa> !ticket TRUNK-3001
|
19:05:44
|
<OpenMRSBot> rafa: [#TRUNK-3001] Add initialization/update wizard messages for languages other than english - OpenMRS JIRA - https://tickets.openmrs.org/browse/TRUNK-3001
|
19:06:08
|
<wyclif> blockers No demo apps for with appropriate links for testing
|
19:06:28
|
<rafa> wyclif: I know nothing about SMART apps :/
|
19:06:30
|
<wyclif> rafa, am tryin gto get in touch with josh mandel to see if he can get me sample apps
|
19:07:08
|
<rafa> good
|
19:08:11
|
<wyclif> rafa, for the init wizard, i wrote a small script to create excel documents for the code to be translated for the other languages so that i can use google docs to share and edit them online
|
19:11:21
|
*** rafa has quit IRC
|
20:31:35
|
<deadpool_> wyclif: is there a way to specify where the .OpenMRS folder should be located when you do the installation wizard?
|
20:39:17
|
<wyclif> deadpool_, yes
|
20:39:34
|
<wyclif> you can set an environmental variable
|
20:41:10
|
<wyclif> deadpool_, see https://wiki.openmrs.org/display/docs/Application+Data+Directory
|
20:47:51
|
<deadpool_> uh wyclif can you take a look at this and see why the jsp page is not calling the javascript http://pastebin.com/6nE2TeDV
|
20:48:01
|
<deadpool_> i tried and it doesn't seem to work anymore
|
20:49:35
|
<wyclif> deadpool_, i thought you said it had worked before
|
20:50:10
|
<deadpool_> this is a different page
|
20:50:25
|
<wyclif> deadpool_, it should be able to work for all pages
|
20:50:26
|
<deadpool_> it worked before i moved the function i had in the script to the pharmacy.js
|
20:50:54
|
<deadpool_> yeah for some reason the form is not calling the validateForm() i have on the page
|
20:50:55
|
<wyclif> deadpool_, make sure the files are under the resource folder and the paths are correct
|
20:51:32
|
<deadpool_> well the first problem is that the function i have on this jsp validateForm is just specific for this and now when i click save it is not getting called
|
20:51:38
|
<deadpool_> and i have no idea why
|
20:52:20
|
<wyclif> deadpool_, make sure the scripts are actually inside a js file or on the page
|
20:52:56
|
<deadpool_> yeah this is on the page itself wyclif
|
20:53:15
|
<deadpool_> i have the function on the page and calling it within the page but it is not getting called
|
20:54:05
|
<wyclif> deadpool_, you need to use something like firebug if you are using firefox
|
20:54:33
|
<wyclif> deadpool_, because probably the scripts are broken somewhere, try debuging them
|
20:54:41
|
<deadpool_> ok
|
20:55:00
|
<wyclif> deadpool_,am off my PC preparing to go somewhere
|
21:01:17
|
<deadpool_> wyclif: all right thanks for the help
|
21:31:03
|
<deadpool_> r_friedman: so are you working on openmrs fulltime?
|
21:31:49
|
<r_friedman> deadpool_: my real job is to help countries improve their health information systems
|
21:32:00
|
<r_friedman> so I do a lot of travel and consulting around that
|
21:32:21
|
<r_friedman> but we've been supporting the use of openmrs for quite a while and i'm trying to make sure it has the features we need
|
21:32:45
|
<r_friedman> i've had an unusual amount of time since Sep
|
21:32:57
|
<r_friedman> to work on openmrs
|
21:34:30
|
<r_friedman> deadpool_: btw, tootle is a child's story about a young train who liked to get of the tracks and play
|
21:34:58
|
<r_friedman> but he had been taught always to stop for a red flag waving, so the railroad men filled the field with red flags
|
21:35:12
|
<r_friedman> and tootle decided he'd rather stay on the tracks
|
21:35:44
|
<r_friedman> far cry from deadpool
|
21:39:07
|
<deadpool_> ah
|
21:39:16
|
<deadpool_> so are you working for an ngo?
|
22:12:47
|
*** bryq has left #openmrs
|
22:40:39
|
*** jriley has joined #openmrs
|