Re: [Dhis2-devs] JQuery table sorter

2010-05-09 Thread Bob Jolliffe
for health facilities also. http://bit.ly/aNVA9i k On Thu, May 6, 2010 at 3:28 PM, Jason Pickering jason.p.picker...@gmail.com wrote: Wow. datatables.net examples look very slick. Would really like to see this integrated into DHIS2! On Thu, May 6, 2010 at 2:48 PM, Bob Jolliffe bobjolli

Re: [Dhis2-devs] JQuery table sorter

2010-05-08 Thread Bob Jolliffe
be quite cool for health facilities also. http://bit.ly/aNVA9i k On Thu, May 6, 2010 at 3:28 PM, Jason Pickering jason.p.picker...@gmail.com wrote: Wow. datatables.net examples look very slick. Would really like to see this integrated into DHIS2! On Thu, May 6, 2010 at 2:48 PM, Bob Jolliffe

Re: [Dhis2-devs] Framework upgrade

2010-05-07 Thread Bob Jolliffe
well done Jo! 2010/5/7 Lars Helge Øverland larshe...@gmail.com: We have been doing a real spring cleaning (sic) and upgraded our major development frameworks. Thanks to Jo for good work and testing. - Spring version 3.0.2 http://blog.springsource.com/2009/12/16/spring-framework-3-0-goes-ga/

Re: [Dhis2-devs] JQuery table sorter

2010-05-06 Thread Bob Jolliffe
The jquery table sorter is quite cool but also a bit limited as it is restricted to using html tables in the dom as its model and doesn't naturally lend itself to server side pagination - though can be coaxed no doubt. http://datatables.net/index looks much better. All the features of the above

[Dhis2-devs] logging in dhis2-live

2010-05-06 Thread Bob Jolliffe
For those of you who are using dhis2-live you might have been frustrated to discover that log4j.properties in WEB-INF/classes is being ignored. After much searching I discovered that dhis2-live has a log4j.properties file in the dhis2-live.jar which is the one that is used. Of course I should

[Dhis2-devs] Ubuntu lucid lynx

2010-04-29 Thread Bob Jolliffe
Don't know if anyone is planning to early-adopt the latest ubuntu (due out later today), but if you are worried about the much talked about removal of sun-jdk from the standard repos you might take a look at this:

Re: [Dhis2-devs] dhis-openmrs integration

2010-04-28 Thread Bob Jolliffe
-DHIS integration. Is work still on? Or is it complete? Is there any place I could see code? Thanks :) Warm regards, Ime --- On Mon, 4/26/10, Bob Jolliffe bobjolli...@gmail.com wrote: From: Bob Jolliffe bobjolli...@gmail.com Subject: [Dhis2-devs] Front end engineering ... To: dhis2-devs

Re: [Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 1822: Removed more ognl errors due to un-encoded string parameters being passed.

2010-04-28 Thread Bob Jolliffe
url-encoded first). Regards Bob On 28 April 2010 13:44, nore...@launchpad.net wrote: revno: 1822 committer: Bob Jolliffe b...@bobj-laptop branch nick: trunk timestamp: Wed 2010-04-28 13:41:49 +0100 message:  Removed more ognl

[Dhis2-devs] [Bug 568335] Re: ognl-error-custom-data-entry-form

2010-04-26 Thread Bob Jolliffe
** Changed in: dhis2 Status: Confirmed = Fix Committed -- ognl-error-custom-data-entry-form https://bugs.launchpad.net/bugs/568335 You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to DHIS. Status in DHIS 2 - District Health Information

[Dhis2-devs] Front end engineering ...

2010-04-26 Thread Bob Jolliffe
Looking at our ajax stuff while tracking ognl issues I notice that we have two copies of request.js: ./dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/javascript/request.js ./dhis-web-commons-resources/src/main/webapp/request.js It looks like the

Re: [Dhis2-devs] Site Specific Browser included with DHIS2 Live?

2010-04-23 Thread Bob Jolliffe
On 23 April 2010 09:04, Bob Jolliffe bobjolli...@gmail.com wrote: On 23 April 2010 08:54, Jason Pickering jason.p.picker...@gmail.com wrote: I somewhat agree with Bob, but I also see good reasons why packaging a browser is a good idea. There seems to be pretty wide variation between different

Re: [Dhis2-devs] Site Specific Browser included with DHIS2 Live?

2010-04-23 Thread Bob Jolliffe
someone has installed the program with the installer (which will likely be the case for many production installations) but not always. Otherwise, just fall back and do what is already in the code. On Fri, Apr 23, 2010 at 10:18 AM, Bob Jolliffe bobjolli...@gmail.com wrote: On 23

Re: [Dhis2-devs] Site Specific Browser included with DHIS2 Live?

2010-04-23 Thread Bob Jolliffe
, 2010 at 11:31 AM, Bob Jolliffe bobjolli...@gmail.com wrote: I've got an even simpler suggestion.  Why not get the tray app to simply try and exec firefox first (in the hope that it is installed and in the path).  If that fails it can try chrome and if that fails open with default browser

Re: [Dhis2-devs] XSLTForms

2010-04-23 Thread Bob Jolliffe
Yes this is one of the engines I've been watching ... Its quite nice. On 23 April 2010 16:56, Knut Staring knu...@gmail.com wrote: Looks interesting? http://www.agencexml.com/xsltforms -- Cheers, Knut Staring ___ Mailing list:

Re: [Dhis2-devs] Discussion from OpenMRS list related to data loading, legacy systems, ETL

2010-04-22 Thread Bob Jolliffe
On 22 April 2010 18:12, Murodullo Latifov murodlati...@yahoo.com wrote: Hi, Good point. I was talking long before on using ETL as generic and flexible way to be used for import/export compared to DXP or similar initiatives going on. There is no one size to fit all, at least for me. Bob did

Re: [Dhis2-devs] Site Specific Browser included with DHIS2 Live?

2010-04-22 Thread Bob Jolliffe
On 22 April 2010 19:35, Jason Pickering jason.p.picker...@gmail.com wrote: I think it should probably be a blueprint and  I think it is a good idea. It is certainly  a problem on many machines I have encounterd in the field. We need to install FireFox, Chrome, Opera or something, and ideally

Re: [Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 1785: Audit trail logging functions for DataSet, OrganisationUnit, User modules.

2010-04-21 Thread Bob Jolliffe
I'm not a maven wizard, but is it possible to give the dependency a scopetest/scope? On 21 April 2010 08:57, Viet Nguyen phamquocv...@gmail.com wrote: No bean named 'org.hisp.dhis.user.CurrentUserService' is defined That bean is defined in   dhis-service-user-hibernate module This can be

Re: [Dhis2-devs] Pagination patch

2010-04-21 Thread Bob Jolliffe
Hi On 21 April 2010 06:44, Jason Pickering jason.p.picker...@gmail.com wrote: Hi Viet, This is good news. So, my suggestion would be as follows. 1) Use the user settings to determine what the initial sorting should be. Retrieve the first block of data based on whatever the user settings

Re: [Dhis2-devs] [Bug 567080] [NEW] dataset-section-no-sorting

2010-04-21 Thread Bob Jolliffe
Hi 2010/4/21 Lars Helge Øverland larshe...@gmail.com: Hi Jason, I think your problem is that the available data elements list is not sorted, right? I have fixed this, someone simply forgot to put in the sorting code in the action. Bob, I agree that dataset should have been dataelementset.

Re: [Dhis2-devs] Pagination patch

2010-04-21 Thread Bob Jolliffe
2010/4/21 Jason Pickering jason.p.picker...@gmail.com: Hi Lars, I will write up the blueprint. It is becoming my specialty. :) Personally, I think the filter button is a good thing to test. The on-the-fly filtering is really causing me a lot of headaches. On Ubuntu, on a relatively slow

Re: [Dhis2-devs] [Bug 567080] [NEW] dataset-section-no-sorting

2010-04-20 Thread Bob Jolliffe
Maybe throwing unwarranted cats amongst pigeons here as it is not code I am directly working on (well I am sort of with import), but it bothers me to see all of this business of display sort order being some sort of structural characteristic of the data (set, section or what have you). I have

Re: [Dhis2-devs] [Bug 567080] [NEW] dataset-section-no-sorting

2010-04-20 Thread Bob Jolliffe
On 20 April 2010 08:12, jason.p.pickering jason.p.picker...@gmail.com wrote: Public bug reported: When creating a data set section, there is no logical ordering applied to the data elements. The first time I created the dataset section, they appeared to be ordered alphabetically. When I saved

Re: [Dhis2-devs] [Bug 567080] [NEW] dataset-section-no-sorting

2010-04-20 Thread Bob Jolliffe
On 20 April 2010 12:04, Jason Pickering jason.p.picker...@gmail.com wrote: Hi Ola, Here is what i am trying to do. I have a paper data collection form that i am implementing as a custom data entry screen. Pretty simple in practice, but is laborious to implement because 1) We do not have

[Dhis2-devs] [Bug 567197] [NEW] Editing dataset sections does not persist

2010-04-20 Thread Bob Jolliffe
Public bug reported: When I create a new section and add dataelements to it and press save the new section is saved. When I retrieve that section I do see the available and selected dataelements (though a bug in the ordering has been reported - https://bugs.launchpad.net/bugs/567080). I can

[Dhis2-devs] [Bug 567197] Re: Editing dataset sections does not persist

2010-04-20 Thread Bob Jolliffe
** Changed in: dhis2 Assignee: (unassigned) = Bob Jolliffe (bobjolliffe) -- Editing dataset sections does not persist https://bugs.launchpad.net/bugs/567197 You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to DHIS. Status in DHIS 2

[Dhis2-devs] [Bug 567197] Re: Editing dataset sections does not persist

2010-04-20 Thread Bob Jolliffe
** Changed in: dhis2 Status: New = Fix Committed -- Editing dataset sections does not persist https://bugs.launchpad.net/bugs/567197 You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to DHIS. Status in DHIS 2 - District Health

Re: [Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 1785: Audit trail logging functions for DataSet, OrganisationUnit, User modules.

2010-04-19 Thread Bob Jolliffe
Hi Viet This is excellent. When we first started discussing using logging framework for audit you pointed out that logging is most commonly used for system info/diagnostics/debugging. Which is true. Of course logging works pretty well for audit as well, but I was thinking (influenced by

Re: [Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 1785: Audit trail logging functions for DataSet, OrganisationUnit, User modules.

2010-04-19 Thread Bob Jolliffe
Hi Viet On 19 April 2010 13:47, Viet Nguyen phamquocv...@gmail.com wrote: On Mon, Apr 19, 2010 at 5:51 PM, Bob Jolliffe bobjolli...@gmail.com wrote: Hi Viet This is excellent. When we first started discussing using logging framework for audit you pointed out that logging is most

Re: [Dhis2-devs] can't run with the latest DHIS2 source-code

2010-04-12 Thread Bob Jolliffe
Looks like a typo here. oorg? Cannot find class [oorg.hisp.dhis.dataadmin.action.minmaxvalidation.UnselectLevelAction] On 12 April 2010 07:05, Kim-Anh Vo cata...@gmail.com wrote: Dear all, here is the log (attached!) -- -- Best regards, Kim-Anh Vo +84.906612246 k...@ifi.uio.no

Re: [Dhis2-devs] Multiple connections to H2

2010-04-12 Thread Bob Jolliffe
I had a go at this earlier with reasonable success. You have to make an uncompressed pg dump with insert statements (these are both optional parametrs to pg_dump). Some very slight adjustment to the structural metadata - I'll document later if people are interested - and then tried to import

Re: [Dhis2-devs] Multiple connections to H2

2010-04-12 Thread Bob Jolliffe
2010/4/12 Lars Helge Øverland larshe...@gmail.com: 2010/4/12 Bob Jolliffe bobjolli...@gmail.com I had a go at this earlier with reasonable success.  You have to make an uncompressed pg dump with insert statements (these are both optional parametrs to pg_dump).  Some very slight adjustment

Re: [Dhis2-devs] Multiple connections to H2

2010-04-11 Thread Bob Jolliffe
... On Sat, Apr 10, 2010 at 11:44 PM, Bob Jolliffe bobjolli...@gmail.com wrote: On 10 April 2010 22:41, Knut Staring knu...@gmail.com wrote: Well, if I start DHIS Live with the following URL in hibernate.properites jdbc:h2:tcp://localhost/V:/dhis/dhis2-live/database/kenya7;AUTO_SERVER=TRUE I am

Re: [Dhis2-devs] Multiple connections to H2

2010-04-10 Thread Bob Jolliffe
I've also had this problem but I doubt if the bindaddress has anything to do with it. By default the server socket will be bound to INADDR_ANY. (This is the same as the tomcat security issue I referred to some time back). Will investigate ... Bob 2010/4/10 Lars Helge Øverland

Re: [Dhis2-devs] Multiple connections to H2

2010-04-10 Thread Bob Jolliffe
2010/4/10 Bob Jolliffe bobjolli...@gmail.com: I've also had this problem but I doubt if the bindaddress has anything to do with it.  By default the server socket will be bound to INADDR_ANY.  (This is the same as the tomcat security issue I referred to some time back).  Will investigate

Re: [Dhis2-devs] Multiple connections to H2

2010-04-10 Thread Bob Jolliffe
/10 Bob Jolliffe bobjolli...@gmail.com 2010/4/10 Bob Jolliffe bobjolli...@gmail.com: I've also had this problem but I doubt if the bindaddress has anything to do with it.  By default the server socket will be bound to INADDR_ANY.  (This is the same as the tomcat security issue I referred

Re: [Dhis2-devs] Multiple connections to H2

2010-04-10 Thread Bob Jolliffe
it. Trust me it will work :-) On Sat, Apr 10, 2010 at 11:35 PM, Bob Jolliffe bobjolli...@gmail.com wrote: On 10 April 2010 22:26, Knut Staring knu...@gmail.com wrote: Ok, it works now - the trick was to use the same URL also in hibernate.properties, i.e. jdbc:h2:tcp://localhost/V:/dhis/dhis2

Re: [Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 1743: Improve the min/max value functionality.

2010-04-07 Thread Bob Jolliffe
Dunno. Its weird. java templates are a bit weird anyway :-) But if you cast the result it seems to go away: dataValues = (CollectionDeflatedDataValue)service.analyse( organisationUnit, dataElements, periods, standardDeviation ); On 7 April 2010 17:25, Lars Helge Øverland

Re: [Dhis2-devs] Content type not allowed during DHIS 1.4 file import

2010-04-05 Thread Bob Jolliffe
. Bob. 2010/4/4, Bob Jolliffe bobjolli...@gmail.com: I would suggest dropping the code which checks for supported content types as I don't think it really serves any useful purpose - just creates a maze of different browser peculiarity behaviour.  We can (and do) deduce if the stream is a zip

Re: [Dhis2-devs] Content type not allowed during DHIS 1.4 file import

2010-04-04 Thread Bob Jolliffe
I would suggest dropping the code which checks for supported content types as I don't think it really serves any useful purpose - just creates a maze of different browser peculiarity behaviour. We can (and do) deduce if the stream is a zip or a gzip by looking at the header bytes. If it's not we

Re: [Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 1639: fixes to get ajax return on periods

2010-03-12 Thread Bob Jolliffe
On 12 March 2010 12:10, Saptarshi Purkayastha sun...@gmail.com wrote: don't blame me for those extra spaces in the diff that's being shown I'm using the code style which Bob gave ;-) ... and that applied those extra spaces Good to have someone to blame :-) BTW I don't think I changed what

Re: [Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 1639: fixes to get ajax return on periods

2010-03-12 Thread Bob Jolliffe
:  http://sunnytalkstech.blogspot.com You Live by CHOICE, Not by CHANCE On 12 March 2010 14:14, Bob Jolliffe bobjolli...@gmail.com wrote: On 12 March 2010 12:10, Saptarshi Purkayastha sun...@gmail.com wrote: don't blame me for those extra spaces in the diff that's being shown I'm using the code

Re: [Dhis2-devs] DHIS Mobile - UI Feedback

2010-03-05 Thread Bob Jolliffe
Hi Saptarshi On 5 March 2010 17:50, Saptarshi Purkayastha sun...@gmail.com wrote: Hi, Have done a complete revamp of the mobile client application. Earlier we used simple MIDP 2.0 components and required programming the form. The form was simple, but required JavaME knowledge. New code can be

Re: [Dhis2-devs] Greetings + new DHIS patient module

2010-03-04 Thread Bob Jolliffe
I agree depending on the uniqueness of names is not a good idea. I saw John said that facilities in India do have codes - the 16 digit ones which are built hierarchicly (is that a word?). Is it possible to for a patient id to continue this hierarchy so that a patient might have say a 6-8 digit

Re: [Dhis2-devs] Greetings + new DHIS patient module

2010-03-04 Thread Bob Jolliffe
2010/3/4 Lars Helge Øverland larshe...@gmail.com: 2010/3/4 Bob Jolliffe bobjolli...@gmail.com I agree depending on the uniqueness of names is not a good idea.  I saw John said that facilities in India do have codes - the 16 digit ones which are built hierarchicly (is that a word?). OK I

Re: [Dhis2-devs] New installer available: Testers wanted

2010-03-04 Thread Bob Jolliffe
2010/3/4 Lars Helge Øverland larshe...@gmail.com: Hi, I think Bob hits the needle on the head here. Ouch. That can be painful .. We can provide a generic hook into the Live app by making it look for a set of scripts during certain phases. E.g. database_start.bat at startup time,

Re: [Dhis2-devs] Switching databases almost runtime using dhis2 live system tray UI

2010-03-04 Thread Bob Jolliffe
Hi Saptarshi On 4 March 2010 14:55, Saptarshi Purkayastha sun...@gmail.com wrote: I love this as well... and from all the comments, the world likes it as well!!.. and is fast to swicth databases. Hoots to Bob!! I was going to make a patch last nite, but sadly I can't get live to work... It

Re: [Dhis2-devs] New installer available: Testers wanted

2010-03-03 Thread Bob Jolliffe
If we are committed to using the dhis2-live model for the desktop installs - with the tray icon+jetty+hibernate-points-to-whatever - then it makes sense to expand on our current lonely exit option to include others such as upgrading the war, updating the database and what have you. This is also a

Re: [Dhis2-devs] New installer available: Testers wanted

2010-03-03 Thread Bob Jolliffe
somewhere in dhis2_home, if so run that first, wait for it, then proceed to launch app. Gives me a few security wobblies though :-) On Wed, Mar 3, 2010 at 11:31 AM, Bob Jolliffe bobjolli...@gmail.com wrote: If we are committed to using the dhis2-live model for the desktop installs

Re: [Dhis2-devs] New installer available: Testers wanted

2010-03-03 Thread Bob Jolliffe
:31 AM, Bob Jolliffe bobjolli...@gmail.com wrote: If we are committed to using the dhis2-live model for the desktop installs - with the tray icon+jetty+hibernate-points-to-whatever - then it makes sense to expand on our current lonely exit option to include others such as upgrading the war

Re: [Dhis2-devs] New installer available: Testers wanted

2010-03-03 Thread Bob Jolliffe
of the installation. If it could be done, it would really be great. So, prior to launching jetty, Postgres would need to be fired up manually. It is certainly worth considering if this is possible. On Wed, Mar 3, 2010 at 11:31 AM, Bob Jolliffe bobjolli...@gmail.com wrote: If we

Re: [Dhis2-devs] New installer available: Testers wanted

2010-03-03 Thread Bob Jolliffe
, and the installation process is filled with pitfalls due to the security requirements of Postgres. But, it is a good system, and there are reasons for using it, so I do not think it should not be an option. Regards, JPP On Wed, Mar 3, 2010 at 12:04 PM, Bob Jolliffe bobjolli...@gmail.com wrote

Re: [Dhis2-devs] Greetings + new DHIS patient module

2010-03-03 Thread Bob Jolliffe
Hi On 3 March 2010 12:20, Viet Nguyen phamquocv...@gmail.com wrote: Hi, Just a quick update about Patient registration form functionality : * Check duplicate : This function allow user to check for existing patient base on : name , birthdate, age, gender If there is duplicate patient,

Re: [Dhis2-devs] Greetings + new DHIS patient module

2010-03-03 Thread Bob Jolliffe
from all sides. Cheers Bob And its also useful that the person dont have to remember all the 16 or 14 digit number. for the sake of simplicity we used this method. John On Wed, Mar 3, 2010 at 1:35 PM, Bob Jolliffe bobjolli...@gmail.com wrote: Hi On 3 March 2010 12:20, Viet Nguyen phamquocv

Re: [Dhis2-devs] Greetings + new DHIS patient module

2010-03-03 Thread Bob Jolliffe
its obviously useful for the patient to know the name. On Wed, Mar 3, 2010 at 6:11 PM, Bob Jolliffe bobjolli...@gmail.com wrote: Hi John On 3 March 2010 15:20, John lewis johnlewis.h...@gmail.com wrote: Hi bob, the system generated ID is to one way to identify the case or person. using

Re: [Dhis2-devs] Greetings + new DHIS patient module

2010-03-03 Thread Bob Jolliffe
Hi Thanh On 3 March 2010 19:59, Ngoc Thanh Nguyen thanh.hispviet...@gmail.com wrote: On Thu, Mar 4, 2010 at 12:11 AM, Bob Jolliffe bobjolli...@gmail.com wrote: Hi John On 3 March 2010 15:20, John lewis johnlewis.h...@gmail.com wrote: Hi bob, the system generated ID is to one way

Re: [Dhis2-devs] New installer available: Testers wanted

2010-03-01 Thread Bob Jolliffe
2010/3/1 Lars Helge Øverland larshe...@gmail.com: 2010/3/1 Jason Pickering jason.p.picker...@gmail.com Hi there. I think we should focus on giving the user a choice at install time. 1) Install H2 2) Install Postgres This is pretty simple. Now the question is how easy is an unattended

Re: [Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 1474: Work in progress on embedded help function. Finished data-web-maintenance-dataadmin module.

2010-02-23 Thread Bob Jolliffe
Just gave it a spin. Lars that's just too cool for words :-) Nice to see the transformer getting some exercise. And a great consequence of the move to docbook. Its hard to imagine how we could have linked this up to our original word documentation. On 23 February 2010 19:47,

Re: [Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 1467: Added application/zip to allowed content types in import

2010-02-22 Thread Bob Jolliffe
much better :-) On 22 February 2010 14:55, nore...@launchpad.net wrote: revno: 1467 committer: Lars Helge Oeverland larshe...@gmail.com branch nick: trunk timestamp: Mon 2010-02-22 15:53:23 +0100 message:  Added application/zip

Re: [Dhis2-devs] J2SE Code Names

2010-02-21 Thread Bob Jolliffe
What's dhis2 2.0.4? Can anyone suggest a good codename? Maybe we need a theme. Fish, clouds, mammals ... On 21 February 2010 13:31, Saptarshi Purkayastha sun...@gmail.com wrote: I'm not sure these codenames have some well known logic to them... they are just names which someone thought was

Re: [Dhis2-devs] H2 BitRock Windows Installer Available

2010-02-18 Thread Bob Jolliffe
I havent downloaded bitrock yet, but looking at the website docs, you can define postinstall actions to run scripts. So isn't it possible to simply run pg_restore from here? 2010/2/18 Lars Helge Øverland larshe...@gmail.com: 2010/2/18 Jason Pickering jason.p.picker...@gmail.com Hi Lars,

[Dhis2-devs] bzr merge problem

2010-02-18 Thread Bob Jolliffe
I am having something of a problem with 'bzr merge'. I checkout from trunk into say dhis2-trunk/ . Then I try bzr merge ../dhis2-xml to merge my changes but I keep getting conflicts along the lines of Conflict adding files to dhis-2/dhis-services/dhis-service-xml. Created directory. Conflict

Re: [Dhis2-devs] bzr merge problem

2010-02-18 Thread Bob Jolliffe
? Bob On Thu, Feb 18, 2010 at 1:50 PM, Bob Jolliffe bobjolli...@gmail.com wrote: I am having something of a problem with 'bzr merge'.  I checkout from trunk into say dhis2-trunk/ . Then I try bzr merge ../dhis2-xml to merge my changes but I keep getting conflicts along the lines

Re: [Dhis2-devs] bzr merge problem

2010-02-18 Thread Bob Jolliffe
directory. .. etc The whole business seems similar to what is happening here : https://bugs.launchpad.net/bzr/+bug/477475 2010/2/18 Bob Jolliffe bobjolli...@gmail.com: 2010/2/18 Lars Helge Øverland larshe...@gmail.com: No need to check out trunk... Just do bzr merge lp:dhis2 Yes I have been

[Dhis2-devs] populating test dir?

2010-02-17 Thread Bob Jolliffe
A quick question regarding unit tests and locationmanager. Does anyone know how to pre-populate resources into dhis2_test_dir? Regards Bob ___ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe :

[Dhis2-devs] Fwd: [Branch ~dhis2-devs-core/dhis2/trunk] Rev 1427: brought staxwax src back into dhis, implemented transformer, uri resolver and xml event pipe.

2010-02-15 Thread Bob Jolliffe
-- Forwarded message -- From: Bob Jolliffe bobjolli...@gmail.com Date: 2010/2/15 Subject: Fwd: [Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 1427: brought staxwax src back into dhis, implemented transformer, uri resolver and xml event pipe. To: Lars Helge Øverland larshe

Re: [Dhis2-devs] DHIS2 live installer

2010-02-10 Thread Bob Jolliffe
Hi Jason Thanks for the effort you have put into this. Basically you are correct - all the steps for putting the pieces together should be easily automated. Not being a maven guru, I have not taken this last important step. So I have used maven as far as building the jars. Doing the launch4j

Re: [Dhis2-devs] DHIS2 live installer

2010-02-10 Thread Bob Jolliffe
Bob Jolliffe bobjolli...@gmail.com: Hi Jason Thanks for the effort you have put into this.  Basically you are correct - all the steps for putting the pieces together should be easily automated.  Not being a maven guru, I have not taken this last important step.  So I have used maven as far

Re: [Dhis2-devs] DHIS2 live installer

2010-02-10 Thread Bob Jolliffe
OK. maybe I'm wrong. I just assumed that to be the case because of how the licence dialog always popped up on linux installs. Thats why the openjdk was a such a good initiative. Anyway sun's lawyers are moot at the moment. Mostly staring looming redundancy in the face I imagine. Oracle's

Re: [Dhis2-devs] Regular expressions in data validation rules

2010-02-09 Thread Bob Jolliffe
Hi Jason Looks good. I think we might want to push ahead and make the tables anyway. Then you can already start taking advantage of them with your queries outside of the system. We can then start implementing the other use cases as we go along - and hopefully not hit too many problems with

Re: [Dhis2-devs] Regular expressions in data validation rules

2010-02-08 Thread Bob Jolliffe
Hi There are 4 places one could use these regex's: 1. in the browser - client side validation 2. in the framework action/interceptors ( http://struts.apache.org/2.1.8.1/docs/validation.html) 3. in the object persist methods 4. post fact validation checks. There are lots of examples of validation

Re: [Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 1404: Implemented DHIS 1.4 export of data values

2010-02-08 Thread Bob Jolliffe
2010/2/8 Lars Helge Øverland larshe...@gmail.com: On Mon, Feb 8, 2010 at 11:59 AM, nore...@launchpad.net wrote: revno: 1404 committer: Lars Helge Oeverland larshe...@gmail.com branch nick: trunk timestamp: Mon 2010-02-08

Re: [Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 1404: Implemented DHIS 1.4 export of data values

2010-02-08 Thread Bob Jolliffe
2010/2/8 Lars Helge Øverland larshe...@gmail.com: 2010/2/8 Bob Jolliffe bobjolli...@gmail.com 2010/2/8 Lars Helge Øverland larshe...@gmail.com: On Mon, Feb 8, 2010 at 11:59 AM, nore...@launchpad.net wrote: revno: 1404

Re: [Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 1404: Implemented DHIS 1.4 export of data values

2010-02-08 Thread Bob Jolliffe
, could DHIS push the job off to this? 2010/2/8 Bob Jolliffe bobjolli...@gmail.com: 2010/2/8 Lars Helge Øverland larshe...@gmail.com: Yup agree with that just could not make it write the appropriate zip entries that way.. Open for being enlighted here.. OK.  Can't really look now but I

Re: [Dhis2-devs] Question about the Organisation Unit Close Date

2010-02-06 Thread Bob Jolliffe
2010/2/5 Lars Helge Øverland larshe...@gmail.com On Fri, Feb 5, 2010 at 12:27 PM, Viet Nguyen phamquocv...@gmail.comwrote: Hi, I wonder what I have to do with this field , and also the field Alow entering data of the Organisation Unit . As what I'm thinking is : If an organisation

Re: [Dhis2-devs] Patient Identifier Management functions

2010-02-04 Thread Bob Jolliffe
2010/2/4 Ola Hodne Titlestad olati...@gmail.com 2010/2/4 Lars Helge Øverland larshe...@gmail.com On Thu, Feb 4, 2010 at 3:38 PM, Ola Hodne Titlestad olati...@gmail.comwrote: Hi, Is there some reason for not simply reusing what OpenMRS has done in this area? Seems like we are

Re: [Dhis2-devs] Patient Identifier Management functions

2010-02-04 Thread Bob Jolliffe
Google knows everything ... http://n2.nabble.com/Generation-of-unique-IDs-and-pre-printing-of-the-cards-PIH-Baobab-AMPATH-and-MVP-Time-important-td3986730.html On 4 February 2010 15:56, Bob Jolliffe bobjolli...@gmail.com wrote: 2010/2/4 Ola Hodne Titlestad olati...@gmail.com 2010/2/4 Lars

Re: [Dhis2-devs] [Bug 517047] Re: DHIS 1.4 file imports ignores the OrgUnit code field

2010-02-04 Thread Bob Jolliffe
Hi Jason Please send me a (small) dhis14 sample export file. I don't have one. Then I'll look at fixing this. Bob On 4 February 2010 13:19, jason.p.pickering jason.p.picker...@gmail.comwrote: There is no uniqueness constraint in DHIS1.4 on the OrgUnitCode field. therefore, the uniqueness

Re: [Dhis2-devs] Patient Identifier Management functions

2010-02-01 Thread Bob Jolliffe
you are taking about me? What silly names do we have in mind? 2010/2/1 Lars Helge Øverland larshe...@gmail.com On Mon, Feb 1, 2010 at 11:09 AM, Viet Nguyen phamquocv...@gmail.comwrote: Hi Abyot, Do you have any plan for Patient Identifier Management functions ? Is it ok if i work on

Re: [Dhis2-devs] Patient Identifier Management functions

2010-02-01 Thread Bob Jolliffe
2010/2/1 Lars Helge Øverland larshe...@gmail.com 2010/2/1 Bob Jolliffe bobjolli...@gmail.com you are taking about me? What silly names do we have in mind? Yes. Just kidding, no silly names this time. Oh well. I guess we can always try silly indentifiers instead :-) We are going

Re: [Dhis2-devs] Installation on Ubuntu

2010-01-28 Thread Bob Jolliffe
The deb package as it is currently is set up with dependencies on java and tomcat (so they will be triggered to install if necessary). By default it will just run out of the box using an h2 database in /opt/dhis2/database. I held off on the postgres dependency because I know there are also mysql

Re: [Dhis2-devs] Installation on Ubuntu

2010-01-28 Thread Bob Jolliffe
is that I could do 0) right now, 3) could follow when you have some time, and 4) perhaps longer term. Knut On Thu, Jan 28, 2010 at 12:08 PM, Bob Jolliffe bobjolli...@gmail.comwrote: The deb package as it is currently is set up with dependencies on java and tomcat (so they will be triggered

Re: [Dhis2-devs] Installation on Ubuntu

2010-01-28 Thread Bob Jolliffe
Hi Lars 2010/1/28 Lars Helge Øverland larshe...@gmail.com Ideally IMHO we might have a super-admin view of dhis without the database connection with a set of simple web steps to setup the connection rather than fiddling manually with hibernate.properties. Not unlike the openmrs installer.

Re: [Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 1337: Improved DataValue.isZero

2010-01-26 Thread Bob Jolliffe
2010/1/26 Lars Helge Øverland larshe...@gmail.com 2010/1/26 Trí Trần Thanh tranthanhtr...@gmail.com Tran Thanh Tri HISP Viet Nam Cell phone: +84903670967 Website: http://tringuyenvn.com 2010/1/25

Re: [Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 1337: Improved DataValue.isZero

2010-01-26 Thread Bob Jolliffe
is that double = zero. Cheers Bob 2010/1/26 Trí Trần Thanh tranthanhtr...@gmail.com Hi all, my way is easy and simple. Cast to Double and compare with new Double(0). new Double(value).equal(new Double(0)) ? how do you think? On 1/26/10, Bob Jolliffe bobjolli...@gmail.com wrote: 2010/1/26

Re: [Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 1337: Improved DataValue.isZero

2010-01-26 Thread Bob Jolliffe
be evaluated with a regular expression. Regards, JPP 2010/1/26 Bob Jolliffe bobjolli...@gmail.com: 2010/1/26 Lars Helge Øverland larshe...@gmail.com 2010/1/26 Trí Trần Thanh tranthanhtr...@gmail.com Tran Thanh Tri HISP Viet Nam Cell phone

Re: [Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 1337: Improved DataValue.isZero

2010-01-26 Thread Bob Jolliffe
2010/1/26 Bob Jolliffe bobjolli...@gmail.com 2010/1/26 Jason Pickering jason.p.picker...@gmail.com Hi Bob, I might suggest just a small change. ^[0]*[\.,]?[0]*$ Escape the period and add a comma for some locales that use commas instead of periods. I am not aware of other decimal points

Re: [Dhis2-devs] Tasks for community system

2010-01-23 Thread Bob Jolliffe
Hi Lots of important issues emerging here which is great. A few general comments: I do agree with Saptarshi regarding distinguishing between names and unique identifiers. The principle of keeping these two concepts divorced is generally well documented. The use of the name as the determinant

Re: [Dhis2-devs] Fwd: data pilot

2010-01-06 Thread Bob Jolliffe
Ola -- 2009/12/11 Knut Staring knu...@gmail.com Interetesting with a release candidate coming in just one week: 2009-12-17 On Fri, Dec 11, 2009 at 5:57 PM, Bob Jolliffe bobjolli...@gmail.comwrote: Looks like 3.2 is the performance targetted version. [ http

[Dhis2-devs] Work in progress

2009-12-27 Thread Bob Jolliffe
Hi Lars, Jo I've just uploaded work in progress branch here: https://code.launchpad.net/~dhis2-devs-core/+junk/dhis2-xml-ng From latest commit message: 1. Brought staxwax code into dhis-service-xml, keeping package name as discussed. Some modifications: using stax2, exposing EventReader. 2.

Re: [Dhis2-devs] Work in progress

2009-12-27 Thread Bob Jolliffe
Will start looking at web import-export module soon. Cheers Bob 2009/12/27 Bob Jolliffe bobjolli...@gmail.com Hi Lars, Jo I've just uploaded work in progress branch here: https://code.launchpad.net/~dhis2-devs-core/+junk/dhis2-xml-nghttps://code.launchpad.net/%7Edhis2-devs-core/+junk/dhis2

Re: [Dhis2-devs] Work in progress

2009-12-27 Thread Bob Jolliffe
Made XMLEventReader implementation of StaxWax XMLReader with identical semantics to existing XMLStreamReader version. So that we can peek at the root element Bob. 2009/12/27 Bob Jolliffe bobjolli...@gmail.com Finished porting importexport module to new concurrency framework. See sample

Re: [Dhis2-devs] [Bug 430657] Re: Date text field needs validation rule in data entry screen

2009-12-23 Thread Bob Jolliffe
2009/12/23 Lars Helge Øverland larshe...@gmail.com On Wed, Dec 23, 2009 at 4:01 AM, Hieu Dang Duy hieu.hispviet...@gmail.com wrote: Dear Saptarshi, I'm not good at about security, I also knew that using javascript it's really not safe in web application. By the way, I have a small idea

[Dhis2-devs] task execution

2009-12-23 Thread Bob Jolliffe
Hi Lars Took a bit longer than expected fitting things in with Xmas but I've created a new task execution service based on Spring wrapper of java.util.concurrent and uploaded to lp:~dhis2-devs-core/+junk/dhis2-xml-ng. Not much documentation yet but you can get a good idea from the unit tests.

Re: [Dhis2-devs] DHIS 2.0.3 released

2009-12-22 Thread Bob Jolliffe
2009/12/22 Lars Helge Øverland larshe...@gmail.com Hi, DHIS 2.0.3 is released. The DHIS 2 Live package has been improved and now contains GIS, reporting, charting ++ as well as an embedded servlet container, database and sample data in just 60 MB. A live demo of the release can be found

Re: [Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 1239: Added utility script which copies the dhis.war file from the portal, updates the dhis-live packag...

2009-12-21 Thread Bob Jolliffe
On Thu, Dec 17, 2009 at 12:08 PM, Bob Jolliffe bobjolli...@gmail.comwrote: This is what I do as well for testing. Mind you all this time I've been lazy to write a script - endless rounds of bash 'history | grep dhis' instead. Thanks. BTW has anybody tried out the deb package builder yet? I

Re: [Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 1232: Fixed error in dxf export of categoryComboCategoryAssociations. Simplified the convertor.

2009-12-18 Thread Bob Jolliffe
and groups. In that case one cannot export all dataelement-dataelementgroup-associations, only those which are included in that export... Lars On Wed, Dec 16, 2009 at 11:45 AM, nore...@launchpad.net wrote: revno: 1232 committer: Bob

[Dhis2-devs] [Bug 497044] Re: missing categoryComboCategoryAssociations in dxf export

2009-12-16 Thread Bob Jolliffe
Fixed in rev1232 ** Changed in: dhis2 Status: New = Fix Committed -- missing categoryComboCategoryAssociations in dxf export https://bugs.launchpad.net/bugs/497044 You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to DHIS. Status in

Re: [Dhis2-devs] [Branch ~dhis2-documenters/dhis2/dhis2-docbook-docs] Rev 73: Changed element name, arguably to a better name, to avoid same name elements

2009-12-16 Thread Bob Jolliffe
Hi Jo I like your simple naming solution. And there is the more general case throughout dxf where we have somewhere an element with an id, say dataElement id=1/ And somewhere else a reference to it. Currently we have something like: dataSet dataElement ref=1/ ... etc The use of such

Re: [Dhis2-devs] Error running DHIS 2 on Jetty on Ubuntu

2009-12-16 Thread Bob Jolliffe
Lars, I am not using jdk from apt-get. But rather the one I have downloaded directly from sun. java version 1.6.0_14 Java(TM) SE Runtime Environment (build 1.6.0_14-b08) Java HotSpot(TM) Server VM (build 14.0-b16, mixed mode) mv jetty:run-war working fine here. Mind you my default tomcat

Re: [Dhis2-devs] Error running DHIS 2 on Jetty on Ubuntu

2009-12-16 Thread Bob Jolliffe
There lots of similar reports out in google-land. This one (org.springframework.core. BridgeMethodResolver.findBridgedMethod(BridgeMethodResolver.java:63)) seemed interesting. Any chance you are mixing spring versions? Sorry - not very helpful link. I meant

<    3   4   5   6   7   8   9   10   >