00:00:02
|
<deadpool> yeah
|
00:00:08
|
<deadpool> i followed the wiki
|
00:00:23
|
<deadpool> and it works when entering the info but when displaying it
|
00:00:28
|
<deadpool> only see one of the inputs
|
00:01:04
|
<deadpool> djazayeri: i think i saw one someone post the same problem but i remember there was a htmlformentry sprint recently and was wondering if that topic got addressed
|
00:01:04
|
<djazayeri> deadpool: what wiki page?
|
00:01:17
|
<djazayeri> deadpool: no, it hasn't been addressed on any real way
|
00:02:57
|
<deadpool> djazayeri: this is the the page https://wiki.openmrs.org/display/docs/HTML+Form+Entry+JavaScript+Reference
|
00:03:56
|
<deadpool> i think it is at the bottom toggle containers
|
00:04:47
|
<djazayeri> deadpool: hmm, I've never tried doing that
|
00:05:15
|
<deadpool> i tried something similiar for other inputs but it doesn't show up on saved forms
|
00:05:17
|
<djazayeri> deadpool: perhaps you should post a comment on the page saying why it isn't working for you?
|
00:05:20
|
<deadpool> but you answered my question
|
00:06:02
|
<deadpool> djazayeri: it works when entering information but not for when reviewing a already saved form
|
00:06:36
|
<deadpool> and i think someone already posted it as a discussion/issues at the bottom of htmlformentry my question was if there was any solution to this problem
|
00:06:37
|
<djazayeri> deadpool: I know, but presumably whoever put that code snippet on the wiki page is also watching the wiki page, and maybe that author knows something
|
00:07:01
|
<deadpool> djazayeri: hmm that is true i will ask the author and see where they are at
|
00:09:41
|
<deadpool> djazayeri: thanks
|
00:09:48
|
<djazayeri> np
|
00:35:20
|
*** harshadura has quit IRC
|
00:47:26
|
<djazayeri> deadpool: I mean to comment on the wiki page that you got the code example from, saying it doesn't work as advertised.
|
00:47:42
|
<djazayeri> that would be useful for the next person, and also maybe reach its author.
|
00:49:23
|
*** bwolfe has joined #openmrs
|
00:49:23
|
*** ChanServ sets mode: +o bwolfe
|
00:51:36
|
*** chopin has joined #openmrs
|
00:53:33
|
*** harshadura has joined #openmrs
|
00:56:01
|
<deadpool> djazayeri: oh ok
|
00:56:04
|
<deadpool> i will do that too
|
00:56:05
|
<deadpool> sorry
|
00:56:15
|
<deadpool> there kinda is already a comment
|
00:56:21
|
<deadpool> sooo...
|
02:53:46
|
*** bwolfe has quit IRC
|
03:02:08
|
*** harshadura has quit IRC
|
03:55:18
|
*** isharapremadasa has joined #openmrs
|
03:58:43
|
*** isharapremadasa is now known as isharap
|
05:00:17
|
*** upul` has joined #openmrs
|
05:00:17
|
*** ChanServ sets mode: +v upul`
|
05:04:28
|
*** bryq has joined #openmrs
|
05:04:28
|
*** ChanServ sets mode: +v bryq
|
05:05:39
|
*** finbrein has joined #openmrs
|
05:09:18
|
*** chopin has quit IRC
|
05:24:15
|
*** bryq has quit IRC
|
05:35:17
|
*** John has quit IRC
|
05:53:05
|
*** tobin_ has joined #openmrs
|
06:13:50
|
*** tobingreensweig has joined #openmrs
|
06:14:26
|
*** tobingreensweig is now known as tgreensweig
|
06:14:42
|
*** tgreensweig is now known as tobing
|
06:15:07
|
*** tobing is now known as tobin_g
|
06:39:10
|
*** r0bby has joined #openmrs
|
06:39:10
|
*** ChanServ sets mode: +v r0bby
|
07:03:34
|
<finbrein> hi r0bby
|
07:04:02
|
<r0bby> Hey finbrein
|
07:05:16
|
<finbrein> r0bby: How is it going?
|
07:07:58
|
<r0bby> Good
|
08:04:57
|
*** bryq has joined #openmrs
|
08:04:57
|
*** ChanServ sets mode: +v bryq
|
08:07:59
|
*** robbyoconnor has joined #openmrs
|
08:08:03
|
*** robbyoconnor has joined #openmrs
|
08:08:03
|
*** ChanServ sets mode: +v robbyoconnor
|
08:20:24
|
*** r0bby has quit IRC
|
08:39:13
|
*** bryq has quit IRC
|
08:43:15
|
*** bryq has joined #openmrs
|
08:43:15
|
*** ChanServ sets mode: +v bryq
|
08:46:30
|
*** rafa has joined #openmrs
|
08:46:30
|
*** ChanServ sets mode: +v rafa
|
08:52:30
|
*** bryq has quit IRC
|
09:01:18
|
*** isharap has quit IRC
|
09:15:31
|
*** kishoreyekkanti has joined #openmrs
|
10:39:34
|
*** kishoreyekkanti_ has joined #openmrs
|
10:41:24
|
*** kishoreyekkanti has quit IRC
|
10:41:24
|
*** kishoreyekkanti_ is now known as kishoreyekkanti
|
11:21:42
|
*** james_regen has joined #openmrs
|
11:21:42
|
*** ChanServ sets mode: +v james_regen
|
11:25:29
|
*** bwolfe has joined #openmrs
|
11:25:29
|
*** ChanServ sets mode: +o bwolfe
|
11:28:17
|
*** upul` has quit IRC
|
11:30:54
|
*** kavuri has quit IRC
|
11:33:49
|
*** suranga has joined #openmrs
|
11:33:49
|
*** ChanServ sets mode: +v suranga
|
11:37:50
|
<tobin_g> Hey, anybody have a moment for a quick HTML form question?
|
11:47:39
|
<bwolfe> tobin_g, you can ask, not sure who here has the expertise
|
11:48:42
|
<tobin_g> Ok should be an easy one. I need to have some textareas on my HTML form default to right-to-left text entry instead of the usual left-to-right
|
11:49:23
|
<tobin_g> It looks like the easiest way is to do this with javascript, but wondering if there's another way to set the attribute of a text box directly?
|
12:16:19
|
*** harshadura has joined #openmrs
|
12:35:10
|
*** suranga has quit IRC
|
12:39:43
|
<bwolfe> tobin_g, sorry, got distracted. you have to put my username in your line so my client blinks at me. :-)
|
12:39:46
|
<bwolfe> !tabcomplete
|
12:39:47
|
<OpenMRSBot> bwolfe: "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!
|
12:40:14
|
<bwolfe> tobin_g, long ago I suggested there should be an easy way to pass those params down. I don't know if it was ever implemented
|
12:40:31
|
<bwolfe> tobin_g, so the only way I know of is js. but ask djazayeri when he is online later
|
12:40:45
|
<bwolfe> or markg sometimes comes in as well
|
12:41:03
|
<tobin_g> ok bwolfe it's been a while since I was on IRC :)
|
12:41:36
|
<tobin_g> thanks bwolfe i'll check with djazayeri or markg
|
12:42:03
|
<tobin_g> bwolfe, the javascript seems to be working but doesn't seem like the cleanest way to go.
|
12:42:58
|
<tobin_g> bwolfe: also, I am planning to try writing my first module later that will add a tab to the dashboard that contains an iframe within. will you be around later if I get stuck? djazayeri got me started with some good tips.
|
12:43:26
|
<bwolfe> I'm in and out for the next 8 hours
|
12:43:46
|
<bwolfe> tobin_g, but there are almost always devs in here. you just have to ping them sometimes to wake them up. :-)
|
12:43:58
|
<bwolfe> (or just ask your question and wait 20 mins for someone to respond....)
|
12:45:21
|
<tobin_g> bwolfe: great, thanks. the issue i need to solve with this module is that our clinic has thousands of word docs on patients that are organized in folders by their ID. clinicians need easy access to these files so I figured i'd setup apache w/ directory browsing enabled then just have the iframe of http://thefileserver/theid. seem reasonable to you?
|
12:45:59
|
<bwolfe> yep
|
12:46:29
|
<tobin_g> bwolfe: k thanks.
|
12:49:01
|
*** Pkirwa has joined #openmrs
|
12:51:49
|
*** dkayiwa has joined #openmrs
|
12:56:20
|
*** downey has joined #openmrs
|
12:56:20
|
*** ChanServ sets mode: +o downey
|
12:56:20
|
*** OpenMRSBot sets mode: +o downey
|
13:08:02
|
*** jriley has joined #openmrs
|
13:14:55
|
*** sgithens has joined #openmrs
|
13:15:11
|
*** nribeka has joined #openmrs
|
13:15:11
|
*** ChanServ sets mode: +v nribeka
|
13:20:42
|
*** dkayiwa has quit IRC
|
13:24:16
|
*** dkayiwa has joined #openmrs
|
13:28:04
|
*** r0bby has joined #openmrs
|
13:28:04
|
*** ChanServ sets mode: +v r0bby
|
13:29:55
|
*** r0bby_ has joined #openmrs
|
13:29:55
|
*** ChanServ sets mode: +v r0bby_
|
13:31:23
|
*** robbyoconnor has quit IRC
|
13:31:28
|
*** mseaton has joined #openmrs
|
13:31:28
|
*** ChanServ sets mode: +v mseaton
|
13:33:10
|
*** r0bby has quit IRC
|
13:35:12
|
*** MarkG has joined #openmrs
|
13:40:39
|
*** mvorobey has joined #openmrs
|
13:40:47
|
<mvorobey> hi all
|
13:41:03
|
*** snoppy has joined #openmrs
|
13:41:11
|
*** nadee has joined #openmrs
|
13:42:39
|
*** Pkirwa has quit IRC
|
13:47:38
|
*** suranga has joined #openmrs
|
13:51:10
|
<suranga> hi snoppy
|
13:51:36
|
<suranga> snoppy: i just wanted to say Hi !
|
13:51:37
|
<snoppy> suranga: hola, suranga!
|
13:51:45
|
<snoppy> )
|
13:53:04
|
<suranga> snoppy: nice to talk to you. Im looking forward to the summer !
|
13:53:47
|
<suranga> snoppy: what time is it at Ukraine ? Im asking so that I can get an understanding of your time zone
|
13:53:59
|
<snoppy> suranga: So do I.
|
13:54:29
|
<downey> http://go.openmrs.org/time
|
13:54:37
|
<snoppy> suranga: my current time 16:54
|
13:55:22
|
<suranga> thanks downey :-)
|
13:55:28
|
<snoppy> suranga: Forum will start in 5 minutes?
|
13:55:37
|
<downey> somewhere between 5 and 10 probably :)
|
13:55:56
|
<suranga> great !
|
13:56:12
|
<bwolfe> downey, thats nice
|
13:56:20
|
<downey> bwolfe: what?
|
13:56:31
|
<bwolfe> the world time buddy you set up
|
13:57:00
|
<suranga> so Im already on freeconferencing,.. incredibly, my connection seems very strong today...
|
13:57:04
|
<downey> bwolfe: yeah, handy UI
|
13:57:07
|
<suranga> (I cant believe it either)
|
13:57:14
|
*** kishoreyekkanti has quit IRC
|
13:59:02
|
<suranga> downey: did u configure timebuddy for us ?
|
13:59:08
|
*** cpower has joined #openmrs
|
13:59:09
|
<suranga> if so, Its a great idea !
|
13:59:54
|
<downey> suranga: yeah
|
14:00:00
|
<downey> i can add other cities if it's helpful
|
14:00:06
|
*** cpower_ has joined #openmrs
|
14:00:31
|
*** cpower has quit IRC
|
14:00:59
|
*** cpower has joined #openmrs
|
14:02:04
|
*** sgithens has quit IRC
|
14:04:24
|
*** bwolfe has quit IRC
|
14:04:35
|
<nadee> hi, i've added the contact freeconferencing, but it seems offline yet :-/ is that the expected behaviour? or should it be green allowing me to dial by now?
|
14:04:43
|
<nadee> *on skype
|
14:06:06
|
<nadee> downey : any clue please
|
14:06:22
|
<suranga> nadee: it should be freeconferencing.com, right ?
|
14:06:48
|
<finbrein> downey: Vaasa, Finland for http://go.openmrs.org/time , thanks;)
|
14:07:26
|
<downey> nadee: Make sure you do NOT use the one called "group calling"
|
14:07:35
|
<downey> nadee: Otherwise, you may be able to use Adobe Connect
|
14:08:03
|
<nadee> oh great thanks, so the .com should work
|
14:09:18
|
*** cpower has joined #openmrs
|
14:09:20
|
*** pulasthi7 has joined #openmrs
|
14:11:46
|
*** cpower14 has joined #openmrs
|
14:11:47
|
*** mvorobey has quit IRC
|
14:11:58
|
<downey> Hi cpower14 and welcome to the #openmrs IRC channel.
|
14:12:08
|
*** cpower has quit IRC
|
14:15:54
|
<nribeka> hi
|
14:16:05
|
<nribeka> hi downey
|
14:16:13
|
*** isharapremadasa has joined #openmrs
|
14:17:16
|
*** mccallumg has joined #openmrs
|
14:17:16
|
*** ChanServ sets mode: +v mccallumg
|
14:17:39
|
*** dkayiwa has quit IRC
|
14:19:17
|
*** bwolfe has joined #openmrs
|
14:19:17
|
*** ChanServ sets mode: +o bwolfe
|
14:20:37
|
*** Sateesh has joined #openmrs
|
14:21:08
|
*** dkayiwa has joined #openmrs
|
14:26:23
|
*** downey sets mode: +v dkayiwa
|
14:26:26
|
*** downey sets mode: +v finbrein
|
14:26:30
|
*** downey sets mode: +v harshadura
|
14:26:33
|
*** downey sets mode: +v isharapremadasa
|
14:26:35
|
*** downey sets mode: +v jriley
|
14:26:37
|
*** downey sets mode: +v MarkG
|
14:26:41
|
*** downey sets mode: +v nadee
|
14:26:44
|
*** downey sets mode: +v pulasthi7
|
14:26:48
|
*** downey sets mode: +v snoppy
|
14:26:51
|
*** downey sets mode: +v suranga
|
14:30:11
|
*** rubailly has joined #openmrs
|
14:32:55
|
*** cpower has joined #openmrs
|
14:33:17
|
*** cpower14 has quit IRC
|
14:33:43
|
*** mvorobey has joined #openmrs
|
14:35:01
|
*** isharapremadasa has quit IRC
|
14:37:47
|
*** bryq has joined #openmrs
|
14:37:47
|
*** ChanServ sets mode: +v bryq
|
14:50:01
|
*** suranga has quit IRC
|
14:50:57
|
*** Goutham has joined #openmrs
|
14:51:16
|
*** dkayiwa has quit IRC
|
14:52:19
|
<nribeka> mseaton, quick random question. can the html form do branching and skip logic?
|
14:53:29
|
<mseaton> nribeka: i don't think so yet, no. MarkG?
|
14:53:52
|
<MarkG> nribeka: you mean dynamic skip logic, based on an answer to a previous question on a form?
|
14:53:57
|
<nribeka> yep
|
14:54:07
|
<nribeka> yep MarkG
|
14:54:07
|
*** wyclif has joined #openmrs
|
14:54:41
|
<MarkG> nribeka: no, not yet
|
14:54:52
|
<nribeka> ah thanks MarkG
|
14:55:39
|
<MarkG> nribeka: actually, wait a minute, you might be able to do it using javascript... hold on a second...
|
14:55:49
|
<nribeka> yeah, i was going to ask that question
|
14:56:52
|
<MarkG> nribeka: https://wiki.openmrs.org/display/docs/HTML+Form+Entry+JavaScript+Reference
|
14:57:06
|
*** Goutham has quit IRC
|
14:57:21
|
<MarkG> nribeka: look at ¨getField¨, etc...
|
14:57:35
|
<nribeka> will do MarkG. thanks :)
|
14:57:57
|
<MarkG> this will allow you access to field values of a form, or bind events to them, so you might be able to do what you need to do
|
14:58:58
|
<nribeka> looking into the reference MarkG
|
15:02:08
|
*** mccallumg has quit IRC
|
15:02:36
|
*** goutham has joined #openmrs
|
15:02:46
|
<mvorobey> rafa: hi ! How are you ?
|
15:03:04
|
<rafa> mvorobey: hi! fine thanks, you?
|
15:03:24
|
<rafa> mvorobey: you had good questions :)
|
15:04:00
|
<mvorobey> rafa: I just wanted to know it fot a long time :)
|
15:04:01
|
*** dkayiwa has joined #openmrs
|
15:04:23
|
<mvorobey> rafa: am goog-good to :)
|
15:04:43
|
<mvorobey> rafa: I just wanted to know if you looked at Atlas module ?
|
15:05:27
|
*** cpower has quit IRC
|
15:05:35
|
<mvorobey> rafa: may be you have any questions to me, which we can discuss right here :)
|
15:05:50
|
*** cpower has joined #openmrs
|
15:06:32
|
*** snoppy has left #openmrs
|
15:07:23
|
<mvorobey> fot=for
|
15:07:25
|
*** wyclif has quit IRC
|
15:07:54
|
*** r7friedman has joined #openmrs
|
15:08:01
|
*** r7friedman is now known as r_friedman
|
15:08:03
|
<downey> Hi r_friedman and welcome to the #openmrs IRC channel.
|
15:08:07
|
*** downey has quit IRC
|
15:09:10
|
<mvorobey> bye, downey, sorry to loose you so fast :)
|
15:09:19
|
<r_friedman> bwolfe: hi ben got a minute for something basic?
|
15:09:44
|
*** isharapremadasa has joined #openmrs
|
15:10:22
|
<bwolfe> r_friedman, only one
|
15:10:31
|
*** Sateesh has quit IRC
|
15:10:35
|
<r_friedman> bwolfe: hehe, how are validators involked?
|
15:10:51
|
<bwolfe> api validators are automagic in core now
|
15:10:58
|
*** kishoreyekkanti has joined #openmrs
|
15:11:18
|
<bwolfe> r_friedman, theres a ValidationUtil class I think
|
15:11:42
|
<r_friedman> done via aop, ben? for what methods? what about modules?
|
15:12:03
|
<r_friedman> bwolfe: if there's someplace i can look, i'll look
|
15:12:14
|
<bwolfe> I think its a listener. or a SaveHandler. I can't remember
|
15:12:41
|
<r_friedman> bwolfe: so it should work for modules as well?
|
15:14:29
|
<bwolfe> for 1.9+, yes
|
15:15:27
|
<r_friedman> bwolfe: tks
|
15:17:51
|
*** lh has joined #openmrs
|
15:18:02
|
*** lh has joined #openmrs
|
15:18:15
|
<jriley> mseaton , I believe I tested all the question types for FACILITY in OpenMRS 1.9, but I'm double-checking
|
15:22:11
|
*** pulasthi7 has quit IRC
|
15:22:14
|
*** Sateesh has joined #openmrs
|
15:24:05
|
*** upul` has joined #openmrs
|
15:24:05
|
*** ChanServ sets mode: +v upul`
|
15:24:11
|
<mseaton> jriley, thanks janet!
|
15:25:11
|
*** upul` has quit IRC
|
15:26:49
|
*** wyclif has joined #openmrs
|
15:31:12
|
*** bwolfe has quit IRC
|
15:34:11
|
*** rubailly has quit IRC
|
15:35:43
|
*** nadee has quit IRC
|
15:37:39
|
*** cpower has quit IRC
|
15:39:01
|
*** cpower has joined #openmrs
|
15:44:13
|
*** bwolfe has joined #openmrs
|
15:44:13
|
*** ChanServ sets mode: +o bwolfe
|
15:52:30
|
*** mvorobey has quit IRC
|
15:53:31
|
*** cpower has quit IRC
|
15:54:12
|
*** cpower has joined #openmrs
|
15:55:01
|
*** isharapremadasa has quit IRC
|
15:57:31
|
*** suranga has joined #openmrs
|
15:57:31
|
*** ChanServ sets mode: +v suranga
|
16:03:49
|
<r_friedman> dkayiwa: daniel, is there a new feature in 1.9 relating to validation in modules? if so, what's its ID?
|
16:04:13
|
<dkayiwa> r_friedman: not any that am aware of
|
16:04:25
|
<r_friedman> dkayiwa: tks
|
16:06:38
|
<rafa> r_friedman: https://tickets.openmrs.org/browse/TRUNK-2393
|
16:32:34
|
*** mccallumg has joined #openmrs
|
16:32:34
|
*** ChanServ sets mode: +v mccallumg
|
16:33:05
|
*** mccallumg has quit IRC
|
16:38:21
|
*** finbrein has quit IRC
|
16:44:13
|
*** bryq has quit IRC
|
16:46:24
|
*** lh has quit IRC
|
16:48:49
|
*** rafa has quit IRC
|
16:59:21
|
<cpower> hello everyone
|
17:05:29
|
<r_friedman> djazayeri: hey darius
|
17:05:48
|
<r_friedman> rafa tks
|
17:06:08
|
<djazayeri> hi r_friedman
|
17:06:36
|
*** nribeka has quit IRC
|
17:07:14
|
<r_friedman> djazayeri: am i naive, or could we simply redirect calls to something like ws/laborder to ws/order?
|
17:08:45
|
<djazayeri> r_friedman: if you're suggesting that a client request for GET rest/v1/laborder should return a client-side redirect to rest/v1/order?t=laborder, that's an interesting idea
|
17:09:09
|
<djazayeri> r_friedman: is that what you mean?
|
17:09:27
|
<r_friedman> i think so
|
17:11:13
|
<djazayeri> r_friedman: so, yes, we could do that, though I'm not quite sure why we would...
|
17:11:22
|
*** nribeka has joined #openmrs
|
17:11:22
|
*** ChanServ sets mode: +v nribeka
|
17:11:48
|
<r_friedman> djazayeri: it means subclass resources could look like resources but still be available at only one place
|
17:12:56
|
<djazayeri> I mean: is that really more helpful for the client than just documenting that the top-level resource includes different subtypes?
|
17:13:23
|
<djazayeri> I don't know if it's kosher to do a client-side redirect on POSTs
|
17:14:28
|
<r_friedman> djazayeri: i think it would be easier for client-side developers to just have one syntax to learn
|
17:15:25
|
<djazayeri> how is this a different syntax? POST order { type: "laborder", concept: "xyz", ⦠}
|
17:15:51
|
*** goutham has quit IRC
|
17:16:15
|
<r_friedman> Because they're not thinking of laborder as a type of order, they're thinking of it as a resource just like obs
|
17:17:14
|
<djazayeri> r_friedman: but I think they're wrong to think that, and we should push them to think about it as a type of order. For REST purposes having them think of it as its own resources isn't correct, and doesn't add anything.
|
17:17:46
|
*** lh has joined #openmrs
|
17:17:46
|
*** lh has joined #openmrs
|
17:18:17
|
<r_friedman> djazayeri: the front end people on JSS don't know anything about the OMRS data model, they just know they need to grab some resources and display them
|
17:18:29
|
*** lh has joined #openmrs
|
17:19:36
|
<djazayeri> I guess I'm not seeing what's hard about thinking "a lab order is a type of order", whether or not you're familiar with the OMRS data model...
|
17:20:05
|
<r_friedman> djazayeri: because they don't know from orders, all they know about is lab orders
|
17:21:40
|
<djazayeri> r_friedman: I have to run at the moment, but can you state this on the email thread? I.e. what you specifically want is to present lab orders as if they *were* a resource, and the 4-5 GET and POST URIs that you'd want to see on the laborder resource?
|
17:22:07
|
<r_friedman> djazayeri: ok tks
|
17:26:26
|
*** rafa has joined #openmrs
|
17:26:26
|
*** ChanServ sets mode: +v rafa
|
17:27:01
|
*** downey has joined #openmrs
|
17:27:01
|
*** OpenMRSBot sets mode: +o downey
|
17:27:01
|
*** ChanServ sets mode: +o downey
|
17:36:20
|
*** isharapremadasa has joined #openmrs
|
17:37:32
|
*** isharapremadasa has quit IRC
|
17:38:24
|
*** isharap has joined #openmrs
|
17:55:22
|
*** djazayeri1 has joined #openmrs
|
17:58:01
|
*** djazayeri has quit IRC
|
18:01:56
|
*** rafa has quit IRC
|
18:04:39
|
*** bwolfe has quit IRC
|
18:06:18
|
*** rafa has joined #openmrs
|
18:06:18
|
*** ChanServ sets mode: +v rafa
|
18:12:31
|
<tobin_g> hi djazayeri1, html form question if you have a second
|
18:12:38
|
<djazayeri1> tobin_g: on a call, but ask
|
18:13:57
|
*** suranga_ has joined #openmrs
|
18:14:03
|
<r_friedman> rafa, got a minute?
|
18:14:05
|
<tobin_g> k thanks. i'm designing forms with textboxes that need to accomodate hebrew which needs right-to-left formatting. i'm wondering if there is a way of specifying this (or any other tag-specific option) directly or whether I need to do it after the fact with javascript?
|
18:14:10
|
<rafa> r_friedman: yes
|
18:14:31
|
<tobin_g> djazayeri1: k thanks. i'm designing forms with textboxes that need to accomodate hebrew which needs right-to-left formatting. i'm wondering if there is a way of specifying this (or any other tag-specific option) directly or whether I need to do it after the fact with javascript?
|
18:14:35
|
<r_friedman> about the issue you sent me, rafa, I'm trying to see if it works in modules
|
18:14:55
|
<rafa> r_friedman: it should work
|
18:14:58
|
<r_friedman> and i'm pretty sure I need a bean in web application context
|
18:15:13
|
<djazayeri1> tobin_g: I don't know the answer
|
18:15:27
|
<tobin_g> djazayeri1: I have succeeded in using javascript but the problem is that the formatting is back to LTR when in "view" modeâ¦. anyways I'll be around for a couple hours if you want to think about it after your call
|
18:15:29
|
<rafa> r_friedman: your validator needs to be annotated with @Handler
|
18:15:29
|
<r_friedman> but to what does the bean name refer?
|
18:15:38
|
<r_friedman> rafa right
|
18:16:05
|
<rafa> r_friedman: it should be picked up automatically then
|
18:16:08
|
*** suranga has quit IRC
|
18:16:33
|
<djazayeri1> tobin_g: how would you do it in plain html?
|
18:18:55
|
<tobin_g> djazayeri1: just by adding dir="rtl" to pretty much any html tag
|
18:19:07
|
*** bwolfe has joined #openmrs
|
18:19:07
|
*** ChanServ sets mode: +o bwolfe
|
18:19:59
|
<tobin_g> djazayeri1: so for a textarea you might have: <textarea rows="8" cols="80" dir="rtl"></textarea>
|
18:20:12
|
<djazayeri1> tobin_g: can you specify it via css?
|
18:20:31
|
<tobin_g> djazayeri1: yes
|
18:20:46
|
<djazayeri1> tobin_g: would that work (instead of js?)
|
18:21:16
|
<tobin_g> djazayeri1: good call, yes it would. how about for the 'view' mode in html forms?
|
18:21:53
|
<djazayeri1> tobin_g: does css not get applied on view mode? (Oh, is the data displayed without a wrapping div?)
|
18:22:57
|
<tobin_g> djazayeri1: I had assumed note, but let me test and get back to you on view mode. I'm not sure what you mean by wrapping div.
|
18:25:21
|
<djazayeri1> tobin_g: I mean, how would you want the view mode html to come out?
|
18:25:45
|
<tobin_g> djazayeri1: i would want it to come out with dir="rtl"
|
18:25:58
|
<djazayeri1> tobin_g: I mean: view mode just displays the text, not in a textarea.
|
18:27:13
|
*** mvorobey has joined #openmrs
|
18:29:04
|
<tobin_g> djazayeri1: right, not text area. So do I need to have the css specify dir="rtl" for something else as well? looking at the source of the view page it seems to be that the contents of the text area are grouped into <span class="value">
|
18:30:42
|
*** djazayeri1 is now known as djazayeri
|
18:30:43
|
*** ChanServ sets mode: +o djazayeri
|
18:31:05
|
<djazayeri> tobin_g: can you try putting dir="rtl" on that span via css, and see if that works?
|
18:31:15
|
<r_friedman> rafa, is that backported to 1.8?
|
18:31:27
|
<rafa> r_friedman: no, it's 1.9 feature
|
18:31:48
|
<r_friedman> rafa, but validators predated 1.9
|
18:32:05
|
<r_friedman> rafa, or did they have to be called directly?
|
18:32:08
|
<rafa> r_friedman: yes, but they were called manually
|
18:32:29
|
<r_friedman> ok tks
|
18:36:38
|
*** suranga_ has quit IRC
|
18:36:52
|
*** isharap has quit IRC
|
18:37:41
|
<tobin_g> djazayeri: unfortunately adding dir="rtl" to <span> doesn't seem to work.
|
18:38:06
|
<djazayeri> tobin_g: can you figure out how to redisplay it as rtl without using a textarea?
|
18:38:40
|
<tobin_g> djazayeri: Yes. I'll get back to you.
|
18:38:44
|
<djazayeri> tobin_g: cool
|
18:45:01
|
*** r_friedman has quit IRC
|
18:49:41
|
<tobin_g> djazayeri: so it seems that dir=rtl doesn't apply to <span> elements because it's a "inline" element. it works fine with a <div> though because it's a "block" element. http://stackoverflow.com/questions/1473556/using-span-to-add-a-direction-dir-rtl
|
18:49:45
|
<OpenMRSBot> <http://ln-s.net/$5pk> (at stackoverflow.com)
|
18:50:46
|
*** dawn_ has joined #openmrs
|
18:50:51
|
*** ChanServ sets mode: +v dawn_
|
18:58:45
|
<tobin_g> djazayeri: as an aside, after i set the textarea to rtl with css the textbox for editing the html form in admin is also RTL! wonder if ideally the css should only be applied to the preview down below?
|
19:00:30
|
*** bryq has joined #openmrs
|
19:00:30
|
*** ChanServ sets mode: +v bryq
|
19:01:04
|
<dawn_> !scrumon dawn
|
19:01:04
|
* OpenMRSBot says the DAILY SCRUM MEETING is STARTING. This meeting should not last longer than 15 minutes. Please hold other comments until the end of the meeting, or message someone privately. Thank you! ScrumMaster dawn- you may begin when ready.
|
19:01:08
|
<dawn_> Hi Team!!!!
|
19:01:21
|
<djazayeri> hi dawn_
|
19:01:31
|
<rafa> hi
|
19:01:47
|
<bwolfe> hi dawn_
|
19:02:02
|
*** downey sets mode: +v dkayiwa
|
19:02:05
|
*** downey sets mode: +v mvorobey
|
19:02:08
|
<dawn_> Today's Order: wyclif , rafa, mvorobey , mseaton, dkayiwa , djazayeri, bwolfe
|
19:02:10
|
*** downey sets mode: +v wyclif
|
19:02:54
|
<djazayeri> wyclif: ?
|
19:03:08
|
<dawn_> wyclif: it's time for scrum and trance :D
|
19:03:22
|
* dawn_ scuttles to wyclif 's cube
|
19:03:39
|
<wyclif> hey
|
19:04:06
|
<wyclif> Wednesday:
|
19:04:06
|
<wyclif> * Fixing mvn dependency issues after changing order entry module to depend on 1.9-RC3
|
19:04:06
|
<wyclif> * design call
|
19:04:06
|
<wyclif> * ORDER-4 - Add methods to OrderEntryService for creating, retrieving and purging an Order
|
19:04:06
|
<wyclif> * Switched back to focussing on the order entry design
|
19:04:06
|
<wyclif> Thursday:
|
19:04:08
|
<wyclif> * dev call
|
19:04:10
|
<wyclif> * Spent time analysing the possible solutions to redisigning Order entry
|
19:04:12
|
<wyclif> * Draft an etherpad summarising approaches for redisgning order entry including pros and cons for each approach and what my proposed solution is.
|
19:04:15
|
<wyclif> * Send out an email with the link to the etherpad
|
19:04:17
|
<wyclif> Blockers: none
|
19:04:27
|
<rafa> Today:
|
19:04:28
|
<rafa> * Finished mavenizing MDS and moved to github: rkorytkowski/openmrs-module-metadatasharing, waits for privileges for OpenMRS/openmrs-module-metadatasharing
|
19:04:28
|
<rafa> * Committed RESTWS-199: Investigate and/or document POST behavior of Patient resource
|
19:04:28
|
<rafa> https://tickets.openmrs.org/browse/RESTWS-199
|
19:04:28
|
<rafa> * Fixed and closed RESTWS-241: Define creatable/updatable properties on Person, PersonAddress, and PersonName resources
|
19:04:28
|
<rafa> https://tickets.openmrs.org/browse/RESTWS-241
|
19:04:28
|
<rafa> No blockers.
|
19:04:45
|
<mvorobey> * Testing ATLAS tickets
|
19:04:52
|
<mvorobey> * Researching about inline editing using jQuery
|
19:04:56
|
<mvorobey> * No blockers
|
19:05:33
|
<dawn_> mseaton: your turn
|
19:05:45
|
<mseaton> working on orderextension module
|
19:05:48
|
<mseaton> no blockers
|
19:06:23
|
<dawn_> dkayiwa: your turn
|
19:07:23
|
<dawn_> djazayeri: can you share your updates now please? :) we'll get to daniel later
|
19:07:38
|
<djazayeri> Wednesday 24-Apr-2012
|
19:07:38
|
<djazayeri> * University call
|
19:07:38
|
<djazayeri> * Thoughtworks catchup call
|
19:07:38
|
<djazayeri> * Design call
|
19:07:38
|
<djazayeri> * Project management call
|
19:07:38
|
<djazayeri> * Reviewed and closed RESTWS-240
|
19:07:38
|
<djazayeri> * Reviewed and RESTWS-241
|
19:07:39
|
<djazayeri> * Apply code for RESTWS-243 (possibly following design call discussion)
|
19:07:39
|
<djazayeri> * Writing out a workflows for form and concept development and publishing
|
19:07:40
|
<djazayeri> Today
|
19:07:41
|
<djazayeri> * Dev call
|
19:07:43
|
<djazayeri> * Leadership call
|
19:07:54
|
<djazayeri> * A bit of refactoring on RESTWS subclasses
|
19:08:11
|
<djazayeri> * Call with ITECH Vietnam about using OpenMRS
|
19:08:18
|
<djazayeri> no blockers
|
19:08:34
|
<bwolfe> vietnam+kenya? :-/
|
19:08:37
|
<bwolfe> busy man
|
19:08:47
|
<bwolfe> Wednesday
|
19:08:47
|
<bwolfe> fixed TRUNK-1780 - person attr not voiding correctly
|
19:08:47
|
<bwolfe> created/fixed TRUNK-3297 - user attrs not working right
|
19:08:47
|
<bwolfe> more bugfixing
|
19:08:47
|
<bwolfe> design call
|
19:08:48
|
<bwolfe> pm call
|
19:08:50
|
<bwolfe> Thursday
|
19:08:52
|
<bwolfe> triaged tickets
|
19:08:54
|
<bwolfe> reviewed jms impls
|
19:08:56
|
<bwolfe> dev call
|
19:08:58
|
<bwolfe> rafal call
|
19:09:00
|
<bwolfe> leadership call
|
19:09:02
|
<bwolfe> impl jms instead
|
19:09:04
|
<bwolfe> no blockers yet
|
19:09:23
|
<dawn_> dkayiwa: are you there?
|
19:10:21
|
<dawn_> !scrumoff dawn
|
19:10:21
|
* OpenMRSBot says the DAILY SCRUM MEETING has ENDED. This channel is now returned to normal hacking operations. Post-scrum meeting follow-up conversations may now begin.
|
19:11:31
|
*** dawn__ has joined #openmrs
|
19:11:31
|
*** ChanServ sets mode: +v dawn__
|
19:11:37
|
<bwolfe> wb dawn_
|
19:11:41
|
<bwolfe> and dawn__
|
19:11:48
|
<dawn__> who is wb?
|
19:11:57
|
<dawn__> Sorry internet is dodgy
|
19:12:01
|
<bwolfe> "welcome back"
|
19:12:03
|
<dawn__> Discussion points?
|
19:13:33
|
<bwolfe> restws eta?
|
19:13:37
|
<bwolfe> rafal/darius?
|
19:13:49
|
<bwolfe> ...and dkayiwa's report
|
19:14:01
|
<djazayeri> depends on ongoing conversation about subclass design
|
19:14:31
|
*** dawn_ was kicked by bwolfe (dawn_)
|
19:14:37
|
*** dawn__ was kicked by bwolfe (dawn__)
|
19:15:27
|
*** dawn_ has joined #openmrs
|
19:15:27
|
*** ChanServ sets mode: +v dawn_
|
19:15:37
|
<bwolfe> so subclass is only feature left
|
19:15:46
|
<dawn_> sorry, i got kicked
|
19:15:50
|
<bwolfe> djazayeri, just change handlers to resources and make everyone happy and commit it ;-)
|
19:16:07
|
<djazayeri> bwolfe: yeah, that's the only feature left
|
19:16:55
|
*** sgithens has joined #openmrs
|
19:19:51
|
*** r0bby_ is now known as robbyoconnor
|
19:21:37
|
<tobin_g> anybody know a module off the top of their head that adds a tab to the patient dashboard? just want something to look @ and compare.
|
19:22:13
|
<jriley> tobin_g - problems / allergies / flags ?
|
19:23:13
|
<tobin_g> thanks jriley will look at them. trying to build a very simple module to add a tab containing an iframe - first module so this should be interesting!
|
19:24:05
|
<jriley> tobin_g - I'm thinking of patient flags module, but can't find a screenshot.
|
19:24:16
|
<tobin_g> jriley: https://wiki.openmrs.org/display/docs/Patient+Flags+Module
|
19:24:32
|
<tobin_g> jriley: don't see an extra tab on there
|
19:24:48
|
<jriley> tobin_g - looks like it adds a portlet, not a separate tab. HTML Form Flowsheet?
|
19:25:00
|
<jriley> But that may replace tabs instead of add one
|
19:25:22
|
<djazayeri> tobin_g: I think that HTML Form Flowsheet adds a tab
|
19:25:27
|
<tobin_g> jriley: flowsheet sort of works in its own world, not so much on the dashboard.
|
19:25:39
|
<djazayeri> oh, hmm, never mind then. :-)
|
19:26:35
|
<jriley> Ah! https://wiki.openmrs.org/display/docs/Patient+Image+Module
|
19:26:58
|
<djazayeri> tobin_g: this one is old, and not mavenized, but you can check out: http://svn.openmrs.org/openmrs-modules/devexamples/patientnotes
|
19:27:35
|
<tobin_g> thanks to both, will take a look
|
19:27:51
|
<tobin_g> djazayeri: did you see my note earlier about dir not working with <span>?
|
19:30:52
|
*** mvorobey has quit IRC
|
19:34:28
|
<tobin_g> jriley: is checking stuff out on svn typically slow for you?
|
19:35:44
|
*** james_regen has quit IRC
|
19:39:11
|
<tobin_g> downey: question about svnâ¦is it normal to get between 1 and 10k/sec downloading from svn? I have a 12mbit connection but I am overseas...
|
19:40:44
|
<robbyoconnor> dawn_!!!!
|
19:41:10
|
<robbyoconnor> I'm sorry I didn't get in on the developers call -- I'm too nocturnal :(
|
19:41:23
|
<jriley> tobin_g - Never paid much attention to the rate. I can check when my database backup finishes
|
19:41:26
|
<dawn_> robbyoconnor: !!!!!! :D
|
19:41:44
|
<djazayeri> tobin_g: yes, can you check whether if you specify an id for the <obs> tag in HFE, is that id also applied to the span?
|
19:41:46
|
<dawn_> robbyoconnor: no worries. Glad to see you're helping with Google Summer of Code!
|
19:41:51
|
<robbyoconnor> I got home at 4am last night -- went to a Google Tech Talk about Concurrency with Go
|
19:41:58
|
<robbyoconnor> dawn_: no problem -- it's fun =)
|
19:41:59
|
<djazayeri> if so you could use css to set display: block, and dir: rtl
|
19:42:03
|
<dawn_> robbyoconnor: how was the Google Tech Talk?
|
19:42:04
|
<tobin_g> jriley: thanks. it just seems like it takes forrrreeeeevvvveer to get even a baby module
|
19:42:11
|
<robbyoconnor> dawn_: quite good actually
|
19:42:33
|
<robbyoconnor> disagree with one design decision they made about the language: case of the method name determines visibility
|
19:43:14
|
<robbyoconnor> e.g., there isn't one hard-and-fast convention (like java)
|
19:43:20
|
*** sgithens has quit IRC
|
19:45:12
|
<bwolfe> robbyoconnor, what does that mean?
|
19:45:21
|
<bwolfe> tobin_g, did you use the maven archetype to make it?
|
19:46:09
|
<robbyoconnor> bwolfe: what I mean is: methods start with lower case and are camel-cased (always -- but convention isn't always followed)
|
19:46:41
|
<bwolfe> for what language?
|
19:46:55
|
<mseaton> bwolfe: do you know if HibernateEnumType will or will not work with modules?
|
19:47:03
|
<robbyoconnor> Go
|
19:47:08
|
<robbyoconnor> http://golang.org
|
19:47:18
|
<bwolfe> mseaton, it should. I think sync module uses it.
|
19:47:33
|
<robbyoconnor> http://play.golang.org/p/4G90WoqI3E
|
19:47:39
|
<tobin_g> bwolfe: you mean maven archetype to make what i'm working on?
|
19:47:55
|
<bwolfe> tobin_g, the maven archetype creates the shell of the module for you
|
19:48:05
|
<bwolfe> and then you just modify a few files, compile, install
|
19:48:13
|
<tobin_g> bwolfe: yup, did that per the instructions on openmrs university by djazayeri
|
19:48:21
|
<bwolfe> https://wiki.openmrs.org/display/docs/Using+the+Module+Maven+Archetype
|
19:48:23
|
<OpenMRSBot> <http://ln-s.net/9$wo> (at wiki.openmrs.org)
|
19:49:39
|
*** cpower has quit IRC
|
19:49:51
|
<bwolfe> robbyoconnor, so like python forces clean spacing, GO forces good syntax. :-)
|
19:50:59
|
<robbyoconnor> in a way yes
|
19:51:03
|
<robbyoconnor> but no
|
19:51:23
|
<robbyoconnor> spacing isn't directly enforced... a friend of mine hates the no semi-colons
|
19:51:41
|
<robbyoconnor> I'm eager for a use-case of my own
|
19:53:04
|
<jriley> tobin_g, checking out patientimages took under a minute . I'm in North America
|
19:53:20
|
<robbyoconnor> http://code.google.com/p/vitess/
|
19:53:24
|
<robbyoconnor> they use go there =)
|
19:56:09
|
*** cpower has joined #openmrs
|
19:56:22
|
<tobin_g> djazayeri: the id is applied to <span>, so would i apply the css in the form itself?
|
19:56:37
|
*** djazayeri has quit IRC
|
19:58:20
|
*** kishoreyekkanti has quit IRC
|
20:09:58
|
<mseaton> bwolfe: looks like sync defines it's own GenericEnumUserType. reporting and facilitydata do that too, and that has worked for me in the past. i was just trying to use the one from core instead, and it crashed my module loading, so wanted to check to see if it just wasn't possible for some reason...
|
20:13:18
|
*** bwolfe has quit IRC
|
20:16:46
|
*** dawn_ has quit IRC
|
20:25:59
|
*** bwolfe has joined #openmrs
|
20:25:59
|
*** ChanServ sets mode: +o bwolfe
|
20:25:59
|
*** dkayiwa has quit IRC
|
20:26:19
|
*** dkayiwa has joined #openmrs
|
20:28:16
|
<downey> tobin_g: sorry missed your question earlier. are you using http or https?
|
20:29:04
|
<tobin_g> downey: no problem! i assume http since theres no https in the address
|
20:29:25
|
<downey> tobin_g: it's possible you could be routing through a proxy that's slowing things down. you might try https and see if that helps.
|
20:30:21
|
<tobin_g> downey: k thanks, no proxy here at home but maybe my ISP is doing some thing. i'll give https a go, it should be faster than what i'm describing though right?
|
20:30:43
|
<downey> tobin_g: it should be, yeah. keep me posted
|
20:30:53
|
<tobin_g> downey: wilco
|
20:36:43
|
<tobin_g> downey: seems much faster with https! seems to be averaging 200k/sec
|
20:40:44
|
*** jriley has quit IRC
|
20:41:43
|
*** bwolfe has quit IRC
|
20:46:39
|
*** rafa has quit IRC
|
20:48:32
|
*** bryq has quit IRC
|
20:52:31
|
<tobin_g> downey: not sure if you can help with this, but i'm trying to build my first module but when I rt-click -> go to run as -> i don't have maven package?
|
20:55:00
|
<mseaton> tobin_g: are you using eclipse?
|
20:55:13
|
<tobin_g> mseaton: yup
|
20:55:35
|
<mseaton> do you have the maven plugins installed?
|
20:56:10
|
<tobin_g> yes
|
20:56:36
|
<mseaton> does your .project file have something like this in it?
|
20:56:38
|
<mseaton> <buildSpec>
|
20:56:38
|
<mseaton> <buildCommand>
|
20:56:38
|
<mseaton> <name>org.eclipse.m2e.core.maven2Builder</name>
|
20:56:38
|
<mseaton> <arguments>
|
20:56:38
|
<mseaton> </arguments>
|
20:56:39
|
<mseaton> </buildCommand>
|
20:56:39
|
<mseaton> </buildSpec>
|
20:56:40
|
<mseaton> <natures>
|
20:56:40
|
<mseaton> <nature>org.eclipse.m2e.core.maven2Nature</nature>
|
20:56:41
|
<mseaton> </natures>
|
20:57:01
|
<tobin_g> let me check
|
20:57:25
|
<tobin_g> yes it does
|
20:57:27
|
*** Mkop has quit IRC
|
20:57:39
|
<mseaton> (tobin_g: disclaimer, i know just enough about maven to be dangerous. i use the command line to build since maven with eclipse is very frustrating to me)
|
20:58:01
|
*** Mkop has joined #openmrs
|
20:58:02
|
*** Mkop has joined #openmrs
|
20:58:02
|
*** ChanServ sets mode: +v Mkop
|
20:58:22
|
<mseaton> tobin_g: how did you add the project to your workspace? did you create it yourself or check it out from svn?
|
20:58:23
|
<tobin_g> mseaton: fortunately i like to live life dangerouslyâ¦.how do i build with command line? i'm a complete n00b as you can tell
|
20:59:06
|
<tobin_g> i created the project using the maven auto-generate thing that darius made a university video of
|
20:59:14
|
<mseaton> i see
|
20:59:17
|
<tobin_g> then I imported it into my workspace
|
20:59:27
|
<mseaton> using "Import as Maven project?"
|
20:59:45
|
<tobin_g> yes
|
20:59:45
|
<mseaton> eg. File -> Import...
|
20:59:54
|
<mseaton> odd
|
21:00:15
|
<mseaton> tobin_g, you're on a mac, right?
|
21:00:17
|
<tobin_g> yup
|
21:00:32
|
<tobin_g> when I right-click it I have maven build and some other maven stuff, but just not run as
|
21:00:40
|
<tobin_g> sorry maven package
|
21:01:19
|
<tobin_g> I have 3 folders and I'm right-clicking the one that is the modulename without the -api or -omod
|
21:01:32
|
<mseaton> ok, well assuming you have the module checked out to something like /home/tobin/workspace/foomodule, go to that directory
|
21:02:09
|
<mseaton> to build the module, just type (without the quotes) "mvn clean package"
|
21:02:33
|
<mseaton> this runs 2 things: first it runs "clean", then it runs "package"
|
21:02:45
|
<mseaton> you don't technically need clean, i don't think, but i always do it because i'm paranoid
|
21:03:13
|
<tobin_g> let me give that a try, thanks will report
|
21:03:29
|
<mseaton> no worries, this will build the omod a target directory in the omod project
|
21:04:58
|
*** basic` has quit IRC
|
21:05:29
|
<tobin_g> lots of things are happening..
|
21:06:14
|
<tobin_g> and bingo. now we'll just hope it works :)
|
21:07:55
|
*** finbrein has joined #openmrs
|
21:16:18
|
*** nribeka has quit IRC
|
21:23:01
|
<tobin_g> mseaton: now that i have the .omod and have it loaded onto my server, is there an easy way to reupload it as I make changes?
|
21:23:18
|
<tobin_g> mseaton: or do i need to delete it and re-add
|
21:23:51
|
*** basic` has joined #openmrs
|
21:23:52
|
<mseaton> tobin_g: sadly nothing as automated as you might like. you can re-build and re-upload (update rather than add new) on the manage modules page
|
21:24:32
|
<tobin_g> mseaton: k thx
|
21:24:36
|
<mseaton> if you are only making jsp changes, and no changes to java, then you can set up and run a special maven profile that will load those changes without re-loading the module
|
21:25:19
|
<tobin_g> mseaton: for now i think i'll be doing both. when i get there i may ask :)
|
21:25:51
|
<mseaton> no problem. if there is no wiki page for how to set that up (i couldn't find it today when i looked earlier, but may have missed it) we should add it as we discuss it.
|
21:32:14
|
<robbyoconnor> there used to be an ant task to do it
|
21:32:22
|
<robbyoconnor> it's a matter of copying the jsps over
|
21:32:30
|
<robbyoconnor> (I think)
|
21:42:16
|
*** mseaton has left #openmrs
|
21:45:44
|
<tobin_g> hi robbyoconnor i'm a newbie trying to make a basic module and have a quick question if you have a sec?
|
21:48:16
|
*** MarkG has quit IRC
|
21:48:27
|
<robbyoconnor> tobin_g: I haven't coded in ages
|
21:48:38
|
<robbyoconnor> last time I touched OpenMRS was prior to mavenizing
|
21:49:19
|
<tobin_g> robbyoconnor: k. well i'm just faking being a developer so you might know this...
|
21:49:52
|
<tobin_g> or let me try wyclif
|
21:50:21
|
<tobin_g> robbyoconnor: otherwise i might snake you back in :)
|
21:50:25
|
<robbyoconnor> tobin_g: I try
|
21:50:29
|
<robbyoconnor> i can try*
|
21:50:53
|
<robbyoconnor> there's a high likelihood I may not know but if it's something that I can try and dig up from the recesses of my brain...
|
21:51:05
|
<tobin_g> ok let's try
|
21:51:39
|
<tobin_g> i am trying to refer to a java class file that i've made but am a bit confused with the path names
|
21:52:25
|
<downey> wyclif: ping
|
21:52:31
|
<wyclif> hey
|
21:52:39
|
<downey> wyclif: see above ^
|
21:52:44
|
<tobin_g> hi wyclif
|
21:52:44
|
<wyclif> hi tobin_g
|
21:53:12
|
<tobin_g> i'm making a very simple module which will just add a tab to the dashboard that contains an iframe
|
21:53:34
|
<tobin_g> in config.xml I have added: <extension>
|
21:53:35
|
<tobin_g> <point>org.openmrs.patientDashboardTab</point>
|
21:53:36
|
<tobin_g> <class>org.openmrs.module.oldpatientdataExt</class>
|
21:53:37
|
<tobin_g> </extension>
|
21:54:13
|
<tobin_g> but i'm not sure if i've got the <class> line correct, as in not sure if I have the oldpatientdataExt.java file in the right place and whether or not what I've typed there will actually work
|
21:55:00
|
<tobin_g> i'm using the maven archetype
|
21:55:26
|
*** dkayiwa has quit IRC
|
22:03:55
|
<downey> tobin_g: i think your problem scared off wyclif :)
|
22:04:17
|
* downey throws something over the wall
|
22:04:19
|
*** wyclif has quit IRC
|
22:04:22
|
<downey> ha
|
22:04:25
|
<tobin_g> downey: my problems have that effect on people
|
22:04:31
|
<tobin_g> :)
|
22:04:41
|
<downey> mine too!
|
22:05:15
|
<tobin_g> downey: i seem to have gotten it partially figured outâ¦.got the tab showing up but it's having trouble finding my portlet. any idea where that belongs in the project?
|
22:07:41
|
<downey> asking the wrong guy for that i'm afraid. :-/ have you seen https://wiki.openmrs.org/display/docs/Step+By+Step+Developer+Setup+Guide+%28Linux%29 ?
|
22:07:42
|
<OpenMRSBot> <http://ln-s.net/8t1q> (at wiki.openmrs.org)
|
22:08:30
|
<tobin_g> downey: yeah my dev env is setupâ¦i'll get it eventually!
|
22:08:56
|
<downey> not sure how late you'll be up, but some folks will likely show up again here soon
|
22:09:48
|
<tobin_g> downey: it's already past my bed time so i may as well stick around...
|
22:09:55
|
<tobin_g> downey: here is a question you might know though. occasionally tomcat on my mac throws a fit - java starts using like 250% cpu (not sure how's that's possible)
|
22:10:12
|
<tobin_g> downey: typically happens when i start goofing around loading/unloading modules
|
22:10:30
|
<downey> does it last long or just momentarily?
|
22:10:50
|
<tobin_g> couple of minutes, usually i kill the process which i'm not positive helps
|
22:11:02
|
<tobin_g> it does seem to be related to startup of either tomcat or the specific app
|
22:11:04
|
<downey> well, that stops the cpu usage for sure :D
|
22:11:14
|
<downey> where are you seeing the 250% number
|
22:11:28
|
<tobin_g> activity monitor
|
22:11:42
|
<tobin_g> java is the process name, %cpu column
|
22:12:10
|
<downey> right
|
22:12:18
|
<downey> in that case you have 100% per core
|
22:12:26
|
<downey> so i assume you have several cores in your cpus
|
22:12:55
|
<tobin_g> i thought i only had 2...
|
22:13:08
|
<downey> what kind of system is it?
|
22:13:14
|
<tobin_g> macbook pro late 2011
|
22:13:16
|
<tobin_g> 2.8 GHz Intel Core i7
|
22:13:23
|
<tobin_g> 13"
|
22:14:22
|
<downey> i'm pretty sure that's a quad core
|
22:14:30
|
<downey> yep: http://ark.intel.com/products/41316/Intel-Core-i7-860-Processor-(8M-Cache-2_80-GHz)
|
22:14:55
|
<downey> so you're only a bit over 50% capacity
|
22:14:59
|
<tobin_g> interesting, under system info it says Number of Processors: 1
|
22:15:00
|
<tobin_g> Total Number of Cores: 2
|
22:15:47
|
<tobin_g> but the icon for the activity monitor looks sort 4-core esque so it's somewhat mysterious to me
|
22:16:27
|
<downey> well
|
22:16:32
|
<downey> technically it's 2 cores
|
22:16:34
|
<downey> but it has hyperthreading
|
22:16:44
|
<downey> so it functions as 4
|
22:17:03
|
<downey> in other words, each core can process 2 threads at the same time
|
22:17:24
|
<tobin_g> well isn't that clever.
|
22:17:49
|
<tobin_g> in the good old days i feel like i would have know thatâ¦.studying so gets in the way!
|
22:17:53
|
<downey> the marketing folks love it, too
|
22:18:13
|
<tobin_g> and the tech folks such as yourself?
|
22:19:24
|
<downey> gets a bit confusing but such is life
|
22:19:33
|
<downey> the more power the better :)
|
22:19:54
|
<tobin_g> so true :)
|
22:20:50
|
<tobin_g> i put an ssd in this new mac w/ a chinese ebay version of the optibay per burke's idea @ implementers conf.
|
22:20:59
|
<tobin_g> complete life-changer.
|
22:21:29
|
<downey> nice. i really like my MB air. a bit underpowered at times but nothing too bad
|
22:21:46
|
<tobin_g> they're great little machines
|
22:22:10
|
<tobin_g> well in other news, my module is magically working!
|
22:22:38
|
<tobin_g> if only i could get a gold-star or something. then my life would really be complete
|
22:22:44
|
<downey> ( * )
|
22:22:48
|
<downey> tobin_g++
|
22:22:52
|
<downey> !karma tobin_g
|
22:22:52
|
<OpenMRSBot> downey: Karma for "tobin_g" has been increased 1 time and decreased 0 times for a total karma of 1.
|
22:22:56
|
<downey> tobin_g++
|
22:23:13
|
<downey> ah, here you go: http://goldstar.jpg.to/
|
22:23:14
|
<tobin_g> ooh fantastic, why thatnk you
|
22:23:36
|
<tobin_g> mr. downey, you really know how to do it.
|
22:23:51
|
<tobin_g> not everyday you complete someones life i suppose
|
22:23:52
|
<downey> sparkling gif's are saved for really special occasions
|
22:25:06
|
<tobin_g> the idea for the module is to basically have an iframe display directory browsing from an apache server containing thousands and thousands of patient files...
|
22:25:28
|
<tobin_g> nice way to link the old system with new @ this clinic.
|
22:25:56
|
<tobin_g> do you know of any nifty php file managers to use instead of directory browsing on apache? would be great if files could be uploaded
|
22:26:00
|
<downey> tobin_g: that's a nice little hack. keeps people focused on the new
|
22:26:24
|
<downey> hang on i had something somewhere in my bookmarks
|
22:26:31
|
<tobin_g> downey: yup. and my user-base can't quite handle switching between apps.
|
22:27:06
|
<tobin_g> downey: the one feature i need is that you can still browse to theservername/patientid (where patient id is actually a folder containing the files)
|
22:27:45
|
<downey> http://www.gerd-tentler.de/tools/filemanager/ is one i'd seen a while back
|
22:28:02
|
<downey> seemed highly maintained and fairly customizable
|
22:28:34
|
<tobin_g> downey: cool, i
|
22:28:41
|
<tobin_g> 'll take a sniff
|
22:53:55
|
*** tobin_g has quit IRC
|
23:42:17
|
*** djazayeri has joined #openmrs
|
23:42:17
|
*** ChanServ sets mode: +o djazayeri
|
23:45:04
|
*** wyclif has joined #openmrs
|
23:51:21
|
*** downey has quit IRC
|