IRC Chat : 2010-12-02 - OpenMRS

00:08:25 *** bwolfe has joined #openmrs
00:08:25 *** ChanServ sets mode: +o bwolfe
00:54:51 *** lh has quit IRC
02:27:55 *** misha680 has joined #openmrs
02:43:28 *** upul` has joined #openmrs
02:43:28 *** ChanServ sets mode: +v upul`
03:03:38 *** bwolfe has quit IRC
03:07:56 *** misha680 has quit IRC
03:09:15 *** misha680 has joined #openmrs
03:25:37 *** robbyoconnor has joined #openmrs
03:25:37 *** ChanServ sets mode: +v robbyoconnor
03:32:28 *** robbyoconnor has quit IRC
03:41:15 *** robbyoconnor has joined #openmrs
03:41:15 *** ChanServ sets mode: +v robbyoconnor
03:42:04 *** fixl has joined #openmrs
03:42:14 *** fixl has left #openmrs
03:47:32 *** misha680 has quit IRC
03:47:41 *** misha680_ has joined #openmrs
03:49:28 *** misha680_ has quit IRC
03:53:21 *** robbyoconnor has quit IRC
03:55:32 *** misha680 has joined #openmrs
05:26:51 *** diptanuc has quit IRC
05:38:48 *** diptanuc has joined #openmrs
05:38:57 *** muthah has quit IRC
06:09:16 <OpenMRSBot> Recent updates in the world of openmrs: New Changeset: OpenMRS trunk #16767: [Wyclif Luyima] Fixing DWR methods to avoid breaking older code calling the methods - TRUNK-1663 <http://feedproxy.google.com/~r/OMRStrunk/~3/qW230j3MXx0/> || OpenMRS Modules: HTML Form Entry 1.7.1 uploaded to OpenMRS Module Repository <https://dev.openmrs.org/modules/view.jsp?module=htmlformentry&version=&1.7.1>
06:53:52 *** pascal` has joined #openmrs
06:56:22 *** kane77 has quit IRC
07:43:03 *** Pkirwa has joined #openmrs
07:43:58 *** Pkirwa has quit IRC
07:48:41 *** muthah has joined #openmrs
07:59:59 *** Pkirwa has joined #openmrs
08:01:17 *** muthah has quit IRC
08:01:28 *** Pkirwa has quit IRC
08:02:32 *** Pkirwa has joined #openmrs
08:04:01 *** Pkirwa has quit IRC
08:05:27 *** Pkirwa has joined #openmrs
08:09:59 *** Pkirwa has quit IRC
08:10:22 *** Pkirwa has joined #openmrs
08:14:01 *** Pkirwa has quit IRC
08:14:24 *** Pkirwa has joined #openmrs
08:14:59 *** Pkirwa has quit IRC
09:29:04 *** pascal` has quit IRC
09:29:31 *** pascal` has joined #openmrs
10:07:01 *** muthah has joined #openmrs
10:28:08 *** fixl has joined #openmrs
10:28:16 *** pascal` has quit IRC
10:30:14 *** pascal` has joined #openmrs
10:58:12 *** pascal` has quit IRC
11:00:10 *** pascal` has joined #openmrs
11:10:09 *** diptanuc has quit IRC
11:19:54 *** fixl is now known as fixl`vs`cmake
11:44:48 *** upul` has quit IRC
12:20:51 *** ChanServ sets mode: +v pascal`
12:53:08 *** aja has joined #openmrs
12:53:30 *** aja has quit IRC
12:57:41 *** bwolfe has joined #openmrs
12:57:41 *** ChanServ sets mode: +o bwolfe
13:16:57 *** pascal` has quit IRC
13:17:46 *** pascal` has joined #openmrs
13:21:35 *** fixl`vs`cmake has quit IRC
13:50:11 *** muthah has quit IRC
13:56:45 *** aja has joined #openmrs
13:59:24 *** robota has joined #openmrs
14:43:11 *** gbastien has joined #openmrs
14:48:30 <bwolfe> weekly openmrs conference call starts in 10 mins
14:48:31 <bwolfe> !devmtg
14:48:31 <OpenMRSBot> bwolfe: "devmtg" --- Reminder: Developer meeting Thursday at 10:00 AM Eastern - http://openmrs.org/wiki/Developers_Conference_Call
14:48:46 <bwolfe> hmm, that link needs updating
14:49:03 <bwolfe> !forget devmtg
14:49:03 <OpenMRSBot> bwolfe: The operation succeeded.
14:49:29 <bwolfe> !learn devmtg as Reminder: Developer meeting Thursday at 10:00 AM Eastern - http://wiki.openmrs.org/display/docs/Weekly+Developer+Meeting
14:49:29 <OpenMRSBot> bwolfe: The operation succeeded.
14:57:48 *** pascal` has quit IRC
15:05:08 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: How to get on board with Openmrs 2.0? <http://forum.openmrs.org/viewtopic.php?f=11&t=720#p2714>
15:09:22 *** bwolfe has quit IRC
15:12:09 *** bwolfe has joined #openmrs
15:12:09 *** ChanServ sets mode: +o bwolfe
15:13:23 *** mccallumg has joined #openmrs
15:20:15 <bwolfe> mccallumg: are you on the phone?
15:20:29 <mccallumg> hey bwolfe
15:20:38 <mccallumg> bwolfe: yes I'm on the phone
15:20:58 <mccallumg> bwolfe: I just joined a few minutes ago
15:21:49 *** aja has quit IRC
15:35:24 <OpenMRSBot> Recent updates in the world of openmrs: New Changeset: OpenMRS trunk #16781: [Ben Wolfe] Fixing obs form numeric concept selecting - TRUNK-1652 <http://feedproxy.google.com/~r/OMRStrunk/~3/P-uoE65Jx8k/> || New Changeset: OpenMRS trunk #16780: [Wyclif Luyima] Cleaning up concept search page (Fixing comments from code review CR-TRUNK-191) - TRUNK-1663 <http://feedproxy.google.com/~r/OMRStrunk/~3/S5Dl_1b81VY/> || New Changeset: OpenMRS trunk #16775: [Ben Wolfe] Fixed user autocomplete - TRUNK-1652 <http://feedproxy.google.com/~r/OMRStrunk/~3/dN2TJ2QB3VY/>
15:38:33 *** robota has quit IRC
15:44:11 *** pascal` has joined #openmrs
16:06:05 *** gbastien has quit IRC
16:24:20 *** muthah has joined #openmrs
16:27:06 *** misha680 has quit IRC
16:48:18 *** diptanuc has joined #openmrs
17:03:39 *** mccallumg has quit IRC
17:21:32 *** bwolfe has quit IRC
17:34:41 *** muthah_ has joined #openmrs
17:34:47 *** muthah has quit IRC
17:34:51 *** muthah_ is now known as muthah
17:35:03 *** bwolfe has joined #openmrs
17:35:03 *** ChanServ sets mode: +o bwolfe
17:41:43 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: How to get on board with Openmrs 2.0? <http://forum.openmrs.org/viewtopic.php?f=11&t=720#p2715>
17:42:22 *** misha680 has joined #openmrs
18:01:55 *** muthah has quit IRC
18:13:49 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: How to get on board with Openmrs 2.0? <http://forum.openmrs.org/viewtopic.php?f=11&t=720#p2716>
18:14:45 *** deadpool has joined #openmrs
18:47:07 *** lh has joined #openmrs
18:59:49 *** batkinson has joined #openmrs
19:05:10 *** batkinson has quit IRC
19:06:35 *** batkinson has joined #openmrs
19:07:27 *** kane77 has joined #openmrs
19:07:56 *** batkinson has quit IRC
19:11:06 *** lh has quit IRC
19:21:50 *** batkinson has joined #openmrs
19:22:26 *** batkinson has quit IRC
19:25:49 <deadpool> bwolfe: I am reading the annotation page and i have a question where it says that Note: you must browse to a .list or .form extension or else bad things will happen. (If you were to visit homepage.htm the controller will be bypassed and you'll just get the jsp file.) how do you link jsp page as .list or .form tried doing it in the adminlist.java but that just gave me a 404 error
19:27:16 <bwolfe> just change the .jsp name to .list
19:27:24 <bwolfe> so if you jsp is named bob.jsp, you go to the url bob.list
19:27:26 <bwolfe> (or bob.form)
19:27:44 *** batkinson has joined #openmrs
19:28:02 <bwolfe> if its /web/module/folder1/bob.jsp then the url is localhost:8080/openmrs/module/yourmodule/folder1/bob.list
19:30:12 *** batkinson has quit IRC
19:33:32 *** lh has joined #openmrs
19:42:16 <deadpool> is it that simple?
19:47:54 <deadpool> bwolfe: still getting 404 errors
19:50:37 <bwolfe> deadpool: oh, you also have to have the right @requestmapping value on your controller for it.
19:51:50 <deadpool> bwolfe: i think i do i just put @RequestMapping(value = "module/Question")
19:52:04 <deadpool> where Question.jsp is my jsp page
19:52:08 *** diptanuc has quit IRC
19:53:59 <bwolfe> deadpool: I think you have to have more than that
19:54:35 <bwolfe> deadpool: for the sync module it is "/module/sync/configCurrentServer"
19:54:46 <bwolfe> (note the / at the front and the sync moduleid in the middle)
19:55:24 <deadpool> huh will try
20:00:13 <deadpool> bwolfe: cool thanks it works now thanks, but for some reason the java file gets called when i load the page is it because i didn't change it to .form or .list?
20:00:29 *** muthah has joined #openmrs
20:05:30 <bwolfe> you need a requesttype param
20:05:39 <bwolfe> when loading a page its GET, when submitting its POST
20:05:57 <bwolfe> @RequestMapping(value = "/module/sync/configCurrentServer", method = RequestMethod.POST,
20:06:52 <deadpool> bwolfe: thanks makes sense
20:08:48 <deadpool> bwolfe: just saw the spring mvc more annotation page link thanks and sorry for the annoying questions again
20:22:17 <deadpool> bwolfe: hmmm.. did what you said and still am getting the same result
20:23:56 <bwolfe> still getting called on page load?
20:24:07 <deadpool> yup
20:26:25 <deadpool> so i think i know what the problem is but i am not sure so i did the @RequestMapping(value = "/module/sync/configCurrentServer", method = RequestMethod.POST) but when i did that i got a error say that it Request Method Get is not supported so a quick google search and it said that i should change it to RequestMethod.GET so I did and it didn't give me any errors but i think because as you said that the RequestMEthod.Get get
20:26:25 <deadpool> loaded on pageload and that is what my problem is
20:30:17 <bwolfe> yes, you need two methods if you are using the "method" annotation
20:30:30 <bwolfe> one is @RequestMapping(value = "/module/sync/configCurrentServer", method = RequestMethod.POST) and the other is @RequestMapping(value = "/module/sync/configCurrentServer", method = RequestMethod.GET)
20:30:43 <deadpool> really
20:31:17 <deadpool> hmmm.. ok will see how this works thanks
20:35:29 *** robbyoconnor has joined #openmrs
20:35:29 *** ChanServ sets mode: +v robbyoconnor
20:43:02 *** lh has quit IRC
20:44:43 *** pascal` has quit IRC
20:47:40 *** misha680 has quit IRC
20:54:18 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Modules: Synchronization 0.91 uploaded to OpenMRS Module Repository <https://dev.openmrs.org/modules/view.jsp?module=sync&version=&0.91>
22:07:08 *** bwolfe has quit IRC
22:45:48 *** lh has joined #openmrs
23:04:31 <OpenMRSBot> Recent updates in the world of openmrs: New Changeset: OpenMRS trunk #16794: [Wyclif Luyima] Display error messages in the search widgets- TRUNK-1652 <http://feedproxy.google.com/~r/OMRStrunk/~3/HlmPeBwLjLU/> || OpenMRS Modules: HTML Form Flowsheet 1.1.5 uploaded to OpenMRS Module Repository <https://dev.openmrs.org/modules/view.jsp?module=htmlformflowsheet&version=&1.1.5>
23:13:05 *** gbastien has joined #openmrs
23:48:23 *** fixl has joined #openmrs
23:56:44 <deadpool> anyone recommend a good spring mvc book or tutorial site?
23:56:48 *** lh has quit IRC