00:39:35
|
*** morristic has quit IRC
|
01:11:18
|
*** rush_ has joined #openmrs
|
01:12:03
|
*** rush_ has quit IRC
|
02:17:26
|
*** rafa has joined #openmrs
|
02:17:37
|
*** ChanServ sets mode: +v rafa
|
02:36:50
|
*** rafa has quit IRC
|
03:02:07
|
*** morristic has joined #openmrs
|
03:18:16
|
*** flow has joined #openmrs
|
03:18:40
|
<flow> Anyone able to help on module development here ?
|
03:19:39
|
<flow> I found bugs in some modules and wanted to fix them locally, but need to check out the modules code initially...
|
03:39:36
|
*** flow has quit IRC
|
06:29:15
|
*** gauravpaliwal has joined #openmrs
|
06:29:15
|
*** ChanServ sets mode: +v gauravpaliwal
|
06:41:31
|
*** gauravpaliwal has quit IRC
|
07:11:34
|
*** dkayiwa has joined #openmrs
|
08:12:44
|
*** gauravpaliwal has joined #openmrs
|
08:12:44
|
*** ChanServ sets mode: +v gauravpaliwal
|
08:12:51
|
<gauravpaliwal> hey
|
08:12:58
|
<gauravpaliwal> wyclif: there ?
|
08:13:34
|
<gauravpaliwal> dkayiwa: there ?
|
08:13:38
|
<dkayiwa> `yes
|
08:14:33
|
<dkayiwa> gauravpaliwal: wyclif could be sleeping :)
|
08:15:01
|
<gauravpaliwal> dkayiwa: have you worked on Rest web services ?
|
08:15:22
|
<dkayiwa> gauravpaliwal: yes a little bit :)
|
08:15:34
|
<gauravpaliwal> dkayiwa: I want to implement this on a module that has ant built ?
|
08:15:51
|
<dkayiwa> gauravpaliwal: ok
|
08:16:05
|
<gauravpaliwal> dkayiwa: the documentation is for mavenized modules, is their any document for ant one ?
|
08:16:25
|
<gauravpaliwal> dkayiwa: or any code snippet ?
|
08:16:44
|
<dkayiwa> gauravpaliwal: do you mean for a module that is ant based instead of mavenised?
|
08:16:56
|
<gauravpaliwal> dkayiwa: yes
|
08:17:15
|
<dkayiwa> gauravpaliwal: there are still plenty of such modules that you can copy from
|
08:17:33
|
<dkayiwa> gauravpaliwal: e.g reporting, xforms, etc modules
|
08:17:50
|
<gauravpaliwal> okey cool
|
08:18:02
|
<dkayiwa> gauravpaliwal: why don't you like the mavenized one?
|
08:18:20
|
<gauravpaliwal> dkayiwa: the module I am currently using is ant one
|
08:18:32
|
<dkayiwa> gauravpaliwal: which module is that?
|
08:18:39
|
<gauravpaliwal> dkayiwa: patientImage
|
08:18:46
|
<gauravpaliwal> dkayiwa: https://tickets.openmrs.org/browse/RAXAJSS-30
|
08:18:50
|
<dkayiwa> gauravpaliwal: oh i see
|
08:30:56
|
<gauravpaliwal> dkayiwa: does it means except setting : @RequestMapping(value = "/rest/yourmoduleid/yourobjectid") , what else I have to do
|
08:31:07
|
<gauravpaliwal> dkayiwa: I create a servlet
|
08:31:39
|
<dkayiwa> gauravpaliwal: have you taken a look at the rest-webservices module?
|
08:32:23
|
<gauravpaliwal> dkayiwa: not much but yes
|
08:32:46
|
<dkayiwa> gauravpaliwal: you can simply copy from it for any resource\
|
08:33:10
|
<dkayiwa> gauravpaliwal: for instance you can copy what it does for the cohort resource
|
08:33:44
|
<gauravpaliwal> dkayiwa: okey
|
08:39:09
|
*** morristic has quit IRC
|
08:41:36
|
*** dkayiwa_ has joined #openmrs
|
08:43:37
|
*** dkayiwa has quit IRC
|
08:43:40
|
*** dkayiwa_ is now known as dkayiwa
|
08:43:47
|
*** morristic has joined #openmrs
|
08:56:41
|
*** r0bby has joined #openmrs
|
08:56:41
|
*** ChanServ sets mode: +v r0bby
|
09:00:40
|
*** bryq has joined #openmrs
|
09:00:40
|
*** ChanServ sets mode: +v bryq
|
09:01:42
|
*** morristic has quit IRC
|
09:04:22
|
*** gauravpaliwal has left #openmrs
|
09:11:49
|
*** dkayiwa has quit IRC
|
09:18:16
|
*** gauravpaliwal has joined #openmrs
|
09:18:16
|
*** ChanServ sets mode: +v gauravpaliwal
|
09:21:46
|
<gauravpaliwal> hey bryq
|
09:22:16
|
<gauravpaliwal> bryq: I am facing some problem with web services , could you please help ?
|
09:22:31
|
<bryq> gauravpaliwal: Hi :)
|
09:22:47
|
<gauravpaliwal> bryq: I am facing some problem with web services , could you please help ?
|
09:22:49
|
<bryq> gauravpaliwal: I'll try
|
09:22:58
|
<bryq> gauravpaliwal: Describe your problem
|
09:24:55
|
<gauravpaliwal> bryq: in the test page i am not getting the output instead getting something like
|
09:24:55
|
<gauravpaliwal> error!
|
09:24:55
|
<gauravpaliwal> msg: error
|
09:24:55
|
<gauravpaliwal> errorThrown: undefined
|
09:24:55
|
<gauravpaliwal> req: [object XMLHttpRequest] , for more info : http://dl.dropbox.com/u/52241630/Screenshot.png and http://dl.dropbox.com/u/52241630/Screenshot-1.png
|
09:25:33
|
<gauravpaliwal> bryq: am I missing something
|
09:25:33
|
<gauravpaliwal> ?
|
09:26:57
|
<bryq> gauravpaliwal: Did you look at the JavasScript console? There should be a more descriprive error message
|
09:27:36
|
<bryq> gauravpaliwal: Try: Ctrl+Shift+J to show the console (I don't know if it works in Firefox)
|
09:28:17
|
<gauravpaliwal> bryq: no error in javascript
|
09:28:25
|
<gauravpaliwal> but yes here is detailed output
|
09:28:41
|
<gauravpaliwal> bryq: http://dl.dropbox.com/u/52241630/names.xhtml
|
09:31:46
|
<bryq> gauravpaliwal: Yay! I think I know where is the problem
|
09:31:52
|
<bryq> gauravpaliwal: You are using wrong URI
|
09:32:00
|
<gauravpaliwal> bryq: okey
|
09:32:11
|
<bryq> gauravpaliwal: In particular, "uuidofperson/names"
|
09:32:11
|
<gauravpaliwal> bryq: what should be correct URI ?
|
09:32:33
|
<bryq> gauravpaliwal: I don't know for sure, but try removing 'uuidofperson/names'
|
09:32:55
|
<gauravpaliwal> okeys
|
09:34:09
|
<bryq> gauravpaliwal: Does it work now?
|
09:34:19
|
<gauravpaliwal> bryq: let me try
|
09:35:55
|
<gauravpaliwal> bryq: no sucess
|
09:35:56
|
<gauravpaliwal> :(
|
09:36:06
|
<bryq> gauravpaliwal: The same error?
|
09:36:10
|
<gauravpaliwal> yes
|
09:36:19
|
<gauravpaliwal> bryq: undefined
|
09:37:20
|
<bryq> gauravpaliwal: Try changing method to "PUT"
|
09:38:26
|
<gauravpaliwal> bryq: from curl its working
|
09:38:33
|
<gauravpaliwal> bryq: but from web interface
|
09:38:36
|
<gauravpaliwal> it isn't
|
09:38:40
|
<gauravpaliwal> let me try put
|
09:39:22
|
*** rafa has joined #openmrs
|
09:39:22
|
*** ChanServ sets mode: +v rafa
|
09:40:24
|
<gauravpaliwal> bryq: solved
|
09:40:37
|
<gauravpaliwal> bryq: am i entering the absolute adress
|
09:40:55
|
<bryq> gauravpaliwal: Ahh, yes
|
09:41:00
|
<gauravpaliwal> bryq: opps sorry I am sendign the relative address it need to be absolute
|
09:41:11
|
<gauravpaliwal> bryq: thanks :)
|
09:41:15
|
<bryq> gauravpaliwal: Np
|
09:42:13
|
*** gauravpaliwal has left #openmrs
|
10:16:31
|
*** rafa has quit IRC
|
11:27:47
|
*** dkayiwa has joined #openmrs
|
12:00:19
|
*** morristic has joined #openmrs
|
12:26:22
|
*** dkayiwa has quit IRC
|
12:28:33
|
*** dkayiwa has joined #openmrs
|
12:41:21
|
*** morristic has quit IRC
|
12:54:47
|
*** dkayiwa has quit IRC
|
12:56:25
|
*** dkayiwa has joined #openmrs
|
13:11:34
|
*** dkayiwa has quit IRC
|
13:56:23
|
*** dkayiwa has joined #openmrs
|
14:38:36
|
*** dkayiwa has quit IRC
|
14:52:23
|
*** dkayiwa has joined #openmrs
|
15:30:41
|
*** rafa has joined #openmrs
|
15:30:41
|
*** ChanServ sets mode: +v rafa
|
16:40:58
|
*** dkayiwa has quit IRC
|
17:09:28
|
*** Rahul_ has joined #openmrs
|
17:10:37
|
*** rafa has quit IRC
|
17:12:06
|
*** rafa has joined #openmrs
|
17:12:06
|
*** ChanServ sets mode: +v rafa
|
17:13:26
|
*** Rahul_ has joined #openmrs
|
17:14:05
|
<Rahul_> !
|
17:59:36
|
*** rafa has quit IRC
|
18:22:17
|
*** rafa has joined #openmrs
|
18:22:17
|
*** ChanServ sets mode: +v rafa
|
18:46:49
|
*** pushkar has joined #openmrs
|
18:57:31
|
*** pushkar has quit IRC
|
20:07:12
|
*** dkayiwa has joined #openmrs
|
20:22:52
|
*** rafa has quit IRC
|
21:08:17
|
*** rafa has joined #openmrs
|
21:08:17
|
*** ChanServ sets mode: +v rafa
|
21:24:04
|
*** dkayiwa has quit IRC
|
21:25:00
|
*** dkayiwa has joined #openmrs
|
22:06:59
|
*** bryq has quit IRC
|
22:09:28
|
*** dkayiwa has quit IRC
|
23:48:00
|
*** Rahul_ has quit IRC
|