[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 1588: (GIS) Minor CSS adjustment.

2010-03-08 Thread noreply

revno: 1588
committer: Jan Henrik Overland 
branch nick: trunk
timestamp: Tue 2010-03-09 05:43:59 +0100
message:
  (GIS) Minor CSS adjustment.
modified:
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/mapping/css/style.css


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to 
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription.
=== modified file 'dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/mapping/css/style.css'
--- dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/mapping/css/style.css	2010-03-08 16:33:06 +
+++ dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/mapping/css/style.css	2010-03-09 04:43:59 +
@@ -136,19 +136,19 @@
 	color:#333;
 }
 #window-favorites-title {
-	padding:0 0 3px 20px;
+	padding:0 0 3px 21px;
 	background:url('../../../images/favorite_star2.png') no-repeat 0 0 transparent;
 	font:bold 11px arial;
 	color:#111;
 }
 #window-legendset-title {
-	padding:0 0 3px 20px;
+	padding:0 0 3px 21px;
 	background:url('../../../images/color_swatch.png') no-repeat 0 0 transparent;
 	font:bold 11px arial;
 	color:#111;
 }
 #window-help-title {
-	padding:0 0 3px 20px;
+	padding:0 0 3px 22px;
 	background:url('../../../images/help.png') no-repeat 0 0 transparent;
 	font:bold 11px arial;
 	color:#111;

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 1587: (GIS) Help window improved.

2010-03-08 Thread noreply

revno: 1587
committer: Jan Henrik Overland 
branch nick: trunk
timestamp: Tue 2010-03-09 05:33:34 +0100
message:
  (GIS) Help window improved.
modified:
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/mapping/script/index.js


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to 
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription.
=== modified file 'dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/mapping/script/index.js'
--- dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/mapping/script/index.js	2010-03-08 16:33:06 +
+++ dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/mapping/script/index.js	2010-03-09 04:33:34 +
@@ -996,6 +996,107 @@
 ]
 });
 	
+/* HELP PANEL */
+	
+	function getHelpText(topic, tab) {
+		Ext.Ajax.request({
+			url: '../../dhis-web-commons-about/getHelpContent.action',
+			method: 'POST',
+			params: { id: topic },
+			success: function(r) {
+Ext.getCmp(tab).body.update('' + r.responseText + '');
+			},
+			failure: function() {
+alert('Error: getHelpText');
+return;
+			}
+		});
+	}
+
+	var helpWindow = new Ext.Window({
+id: 'help_w',
+title: 'Help',
+		layout: 'fit',
+closeAction: 'hide',
+		width: 560,
+		height: 350, 
+items:
+[
+{
+xtype: 'tabpanel',
+activeTab: 0,
+layoutOnTabChange: true,
+deferredRender: false,
+plain: true,
+defaults: {layout: 'fit'},
+listeners: {
+tabchange: function(panel, tab)
+{
+if (tab.id == 'help0') {
+			getHelpText(thematicMap, tab.id);
+}
+else if (tab.id == 'help1') {
+			getHelpText(mapRegistration, tab.id);
+}
+else if (tab.id == 'help2') {
+getHelpText(organisationUnitAssignment, tab.id);
+}
+		if (tab.id == 'help3') { 
+getHelpText(overlayRegistration, tab.id);
+}
+else if (tab.id == 'help4') {
+getHelpText(administration, tab.id);
+}
+else if (tab.id == 'help5') {
+getHelpText(favorites, tab.id);
+}
+		else if (tab.id == 'help6') {
+getHelpText(legendSets, tab.id);
+}
+}
+},
+items:
+[
+{
+title: 'Thematic map',
+id: 'help0'
+},
+{
+title: 'Maps',
+id: 'help1'
+},
+{
+title: 'Assignment',
+id: 'help2'
+},
+{
+title: 'Overlays',
+id: 'help3'
+},
+{
+title: 'Admin',
+id: 'help4'
+},
+{
+title: 'Favorites',
+id: 'help5'
+},
+{
+title: 'Legend sets',
+id: 'help6'
+}
+]
+}
+],
+		listeners: {
+			'hide': {
+fn: function() {
+	mapping.relation = false;
+}
+			}
+		}
+});
+
 /* REGISTER MAPS PANEL */
 var organisationUnitLevelStore = new Ext.data.JsonStore({
 url: path + 'getOrganisationUnitLevels' + type,
@@ -2809,22 +2910,10 @@
 		text: 'Help',
 		tooltip: 'Get help for the active panel',
 		handler: function() {
-			ACTIVEPANEL = !ACTIVEPANEL ? thematicMap : ACTIVEPANEL;
-			Ext.Ajax.request({
-url: '../../dhis-web-commons-about/getHelpContent.action',
-method: 'POST',
-params: { id: ACTIVEPANEL },
-success: function(r) {
-	var h = new Ext.Window({
-		title: 'Help',
-		html: '' + r.responseText + '',
-		width: 300,
-		height: 400,
-		autoScroll: true,
-	});
-	h.show();
-}
-			});
+			var c = Ext.getCmp('center').x;
+			var e = Ext.getCmp('east').x;
+			helpWindow.setPagePosition(c+((e-c)/2)-280, Ext.getCmp('east').y + 100);
+			helpWindow.show();
 		}
 	});
 	

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpa

[Dhis2-devs] [Bug 534825] [NEW] Translation doesn't catch the length of shortname

2010-03-08 Thread Nguyen Tran Do Xuan Thuy
Public bug reported:

When translating items, users translate name and short names, but
shortname textbox hasn't limitation. And after save the new shortname,
the system generate error.

** Affects: dhis2
 Importance: Undecided
 Status: New

-- 
Translation doesn't catch the length of shortname
https://bugs.launchpad.net/bugs/534825
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 Software: New

Bug description:
When translating items, users translate name and short names, but shortname 
textbox hasn't limitation. And after save the new shortname, the system 
generate error.



___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] [Branch ~dhis2-documenters/dhis2/dhis2-docbook-docs] Rev 119: Re-organisation for Excel-Reporting module.

2010-03-08 Thread noreply

revno: 119
committer: Tran Chau 
branch nick: dhis2-docbook-docs
timestamp: Tue 2010-03-09 10:00:03 +0700
message:
  Re-organisation for Excel-Reporting module.
modified:
  src/docbkx/en/dhis2_user_man_excel_reports.xml
The size of the diff (1415 lines) is larger than your specified limit of 1000 
lines

--
lp:~dhis2-documenters/dhis2/dhis2-docbook-docs
https://code.launchpad.net/~dhis2-documenters/dhis2/dhis2-docbook-docs

Your team DHIS 2 developers is subscribed to branch 
lp:~dhis2-documenters/dhis2/dhis2-docbook-docs.
To unsubscribe from this branch go to 
https://code.launchpad.net/~dhis2-documenters/dhis2/dhis2-docbook-docs/+edit-subscription.

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Pagination patch

2010-03-08 Thread Murodullo Latifov
Hi all,

I created patch for pagination for Dataelement listing for truck head (1586) 
and send it via: bzr send -o pagination.patch. It did go and I don't know where 
did it actually go. Please check if it is there.

regards,
murod



  

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] DHIS 2.0.4 release candidate 1 is out - Testers wanted

2010-03-08 Thread Lars Helge Øverland
The list of new features can be found here:

https://blueprints.launchpad.net/dhis2/+milestone/2.0.4
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] [Bug 531351] Re: chart creation without feedback

2010-03-08 Thread Lars Helge Øverland
** Changed in: dhis2
   Status: New => Confirmed

-- 
chart creation without feedback
https://bugs.launchpad.net/bugs/531351
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 Software: Confirmed

Bug description:
when clicking "generate datasource and view chart", there is no feedback as to 
what is going on. No "processing, please wait"...



___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] DHIS 2.0.4 release candidate 1 is out - Testers wanted

2010-03-08 Thread Lars Helge Øverland
Hi,

DHIS 2.0.4 rc 1 is out and can be downloaded here:

http://dhis2.org/download/dhis2-2.0.4-rc1.war

Testers wanted and feedback appreciated. As more and more people are testing
and using DHIS 2 its crucial that we can provide stable releases.

Apologies for the delayed release date. It was mainly caused by urgent needs
from India which required attention. This release is synced with the Indian
patient system/NBITS release.

There are still bugs registered in LP for this release. The devs will focus
on solving these in the coming week.

regards, Lars
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Bug 534567] [NEW] HTTP Error 500 Could not open Hibernate

2010-03-08 Thread Ola Hodne Titlestad
On 8 March 2010 19:45, john  wrote:

> Public bug reported:
> Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: The
> last packet successfully received from the server was40510 seconds ago.The
> last packet sent successfully to the server was 40510 seconds ago, which  is
> longer than the server configured value of 'wait_timeout'. You should
> consider either expiring and/or testing connection validity before use in
> your application, increasing the server configured values for client
> timeouts, or using the Connector/J connection property 'autoReconnect=true'
> to avoid this problem.
>
> Please what is the cause of this error and what must I do to rectify it?
> Thank you.
> John.
>
>
The message above indicates that the connection to your mysql server timed
out. The default value for time out is 8 hours.
More here:
http://dev.mysql.com/doc/refman/5.0/en/gone-away.html
http://dev.mysql.com/doc/refman/5.0/en/server-system-variables.html#sysvar_wait_timeout

Ola
--

-- 
HTTP Error 500 Could not open Hibernate
https://bugs.launchpad.net/bugs/534567
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 Software: New

Bug description:
I currently have DHIS 2.0.3-SNAPSHOT installed on a system running Windows XP 
professional and hooked up to a MySQL database through a hibernate.properties 
file. The system works fine but I have observed that whenever the system has 
been idle for for some time (say after 4 to 6 hours) and I try to login into 
DHIS 2, I get the following error message:

HTTP ERROR 500

Problem accessing /dhis-web-commons-security/login.action. Reason:

Could not open Hibernate Session for transaction; nested exception is 
org.hibernate.TransactionException: JDBC begin failed: 

Caused by:

org.springframework.transaction.CannotCreateTransactionException: Could not 
open Hibernate Session for transaction; nested exception is 
org.hibernate.TransactionException: JDBC begin failed: 
at 
org.springframework.orm.hibernate3.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:599)
at 
org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:374)
at 
org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:263)
at 
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:101)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy63.loadUserByUsername(Unknown Source)
at 
org.acegisecurity.providers.dao.DaoAuthenticationProvider.retrieveUser(DaoAuthenticationProvider.java:86)
at 
org.acegisecurity.providers.dao.AbstractUserDetailsAuthenticationProvider.authenticate(AbstractUserDetailsAuthenticationProvider.java:115)
at 
org.acegisecurity.providers.ProviderManager.doAuthentication(ProviderManager.java:188)
at 
org.acegisecurity.AbstractAuthenticationManager.authenticate(AbstractAuthenticationManager.java:45)
at 
org.acegisecurity.ui.webapp.AuthenticationProcessingFilter.attemptAuthentication(AuthenticationProcessingFilter.java:71)
at 
org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:199)
at 
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
at 
org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:193)
at 
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
at 
org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:148)
at 
org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1139)
at 
org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
at 
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1139)
at 
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:378)
at 
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at 
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at 
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)
at 
org.mortbay.jetty.handler.Co

[Dhis2-devs] [Bug 534567] [NEW] HTTP Error 500 Could not open Hibernate

2010-03-08 Thread john
Public bug reported:

I currently have DHIS 2.0.3-SNAPSHOT installed on a system running
Windows XP professional and hooked up to a MySQL database through a
hibernate.properties file. The system works fine but I have observed
that whenever the system has been idle for for some time (say after 4 to
6 hours) and I try to login into DHIS 2, I get the following error
message:

HTTP ERROR 500

Problem accessing /dhis-web-commons-security/login.action. Reason:

Could not open Hibernate Session for transaction; nested exception
is org.hibernate.TransactionException: JDBC begin failed:

Caused by:

org.springframework.transaction.CannotCreateTransactionException: Could not 
open Hibernate Session for transaction; nested exception is 
org.hibernate.TransactionException: JDBC begin failed: 
at 
org.springframework.orm.hibernate3.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:599)
at 
org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:374)
at 
org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:263)
at 
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:101)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy63.loadUserByUsername(Unknown Source)
at 
org.acegisecurity.providers.dao.DaoAuthenticationProvider.retrieveUser(DaoAuthenticationProvider.java:86)
at 
org.acegisecurity.providers.dao.AbstractUserDetailsAuthenticationProvider.authenticate(AbstractUserDetailsAuthenticationProvider.java:115)
at 
org.acegisecurity.providers.ProviderManager.doAuthentication(ProviderManager.java:188)
at 
org.acegisecurity.AbstractAuthenticationManager.authenticate(AbstractAuthenticationManager.java:45)
at 
org.acegisecurity.ui.webapp.AuthenticationProcessingFilter.attemptAuthentication(AuthenticationProcessingFilter.java:71)
at 
org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:199)
at 
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
at 
org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:193)
at 
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
at 
org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:148)
at 
org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1139)
at 
org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
at 
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1139)
at 
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:378)
at 
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at 
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at 
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)
at 
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
at 
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:324)
at 
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:535)
at 
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:880)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:747)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at 
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
at 
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)
Caused by: org.hibernate.TransactionException: JDBC begin failed: 
at 
org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:68)
at 
org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1326)
at 
org.springframework.orm.hibernate3.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:558)
... 36 more
Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: The last 
packet successfully re

[Dhis2-devs] [Bug 534540] [NEW] Objective data completeness must be based on dataelement+categoryoptioncombo

2010-03-08 Thread Lars Helge Øverland
Public bug reported:

Objective data completeness must be based on
dataelement+categoryoptioncombo and only orgunits assigned to the
particular dataset.

** Affects: dhis2
 Importance: Undecided
 Assignee: Lars Helge Øverland (larshelge)
 Status: Confirmed

** Changed in: dhis2
Milestone: None => 2.0.4

** Changed in: dhis2
 Assignee: (unassigned) => Lars Helge Øverland (larshelge)

** Changed in: dhis2
   Status: New => Confirmed

-- 
Objective data completeness must be based on dataelement+categoryoptioncombo
https://bugs.launchpad.net/bugs/534540
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 Software: Confirmed

Bug description:
Objective data completeness must be based on dataelement+categoryoptioncombo 
and only orgunits assigned to the particular dataset.



___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 1586: Renamed headings on dataset assignment editor/multidataset

2010-03-08 Thread noreply

revno: 1586
committer: Lars Helge Oeverland 
branch nick: trunk
timestamp: Mon 2010-03-08 18:41:13 +0100
message:
  Renamed headings on dataset assignment editor/multidataset
removed:
  
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/java/org/hisp/dhis/dataset/action/assign/
  
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/java/org/hisp/dhis/dataset/action/assign/multidataset/
added:
  
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/java/org/hisp/dhis/dataset/action/editor/
renamed:
  
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/java/org/hisp/dhis/dataset/action/assign/multidataset/SaveAssignMultiDataSetForOrgunitAction.java
 => 
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/java/org/hisp/dhis/dataset/action/editor/SaveAssignMultiDataSetForOrgunitAction.java
  
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/java/org/hisp/dhis/dataset/action/assign/multidataset/ShowAssignMultiDataSetForOrgunitAction.java
 => 
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/java/org/hisp/dhis/dataset/action/editor/ShowAssignMultiDataSetForOrgunitAction.java
modified:
  
dhis-2/dhis-services/dhis-service-reporting/src/main/java/org/hisp/dhis/completeness/jdbc/JDBCDataSetCompletenessStore.java
  
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/java/org/hisp/dhis/dataset/action/compulsory/GetCompulsoryDataElementsAction.java
  
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/resources/META-INF/dhis/beans.xml
  
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/resources/org/hisp/dhis/dataset/i18n_module.properties
  
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/resources/struts.xml
  
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/menu.vm
  
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/showAssignMultiDataSetForm.vm
  
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/java/org/hisp/dhis/dataset/action/editor/SaveAssignMultiDataSetForOrgunitAction.java
  
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/java/org/hisp/dhis/dataset/action/editor/ShowAssignMultiDataSetForOrgunitAction.java


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to 
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription.
=== modified file 'dhis-2/dhis-services/dhis-service-reporting/src/main/java/org/hisp/dhis/completeness/jdbc/JDBCDataSetCompletenessStore.java'
--- dhis-2/dhis-services/dhis-service-reporting/src/main/java/org/hisp/dhis/completeness/jdbc/JDBCDataSetCompletenessStore.java	2010-03-08 14:50:40 +
+++ dhis-2/dhis-services/dhis-service-reporting/src/main/java/org/hisp/dhis/completeness/jdbc/JDBCDataSetCompletenessStore.java	2010-03-08 17:41:13 +
@@ -120,8 +120,6 @@
 "GROUP BY sourceid ) AS completed " +
 "WHERE completed.no = " + compulsoryElements;
 
-System.out.println( sql );
-
 return statementManager.getHolder().queryForInteger( sql );
 }
 }

=== removed directory 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/java/org/hisp/dhis/dataset/action/assign'
=== removed directory 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/java/org/hisp/dhis/dataset/action/assign/multidataset'
=== modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/java/org/hisp/dhis/dataset/action/compulsory/GetCompulsoryDataElementsAction.java'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/java/org/hisp/dhis/dataset/action/compulsory/GetCompulsoryDataElementsAction.java	2010-02-02 13:21:02 +
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/java/org/hisp/dhis/dataset/action/compulsory/GetCompulsoryDataElementsAction.java	2010-03-08 17:41:13 +
@@ -28,6 +28,8 @@
  */
 
 import java.util.ArrayList;
+import java.util.Collections;
+import java.util.Comparator;
 import java.util.List;
 
 import org.hisp.dhis.dataelement.DataElement;
@@ -52,6 +54,13 @@
 {
 this.dataSetService = dataSetService;
 }
+
+private Comparator dataElementComparator;
+
+public void setDataElementComparator( Comparator dataElementComparator )
+{
+this.dataElementComparator = dataElementComparator;
+}
 
 // -
 // Input
@@ -100,6 +109,9 @@
 availableDataElements = new A

Re: [Dhis2-devs] Google Summer of code

2010-03-08 Thread Saptarshi Purkayastha
I'm in... as always
But we aren't ready with the projects, mentors etc and a lot of planning to
write a good application. If someone is ready to take the application
process on... I'm in to define projects and mentor.

---
Regards,
Saptarshi PURKAYASTHA
Director R & D, HISP India
Health Information Systems Programme

My Tech Blog:  http://sunnytalkstech.blogspot.com
You Live by CHOICE, Not by CHANCE


On 8 March 2010 18:10, Knut Staring  wrote:

> Should we apply for Google Summer of Code this year? Would we have enough
> people to serve as mentors, and sufficient good project descriptions?
>
> Knut
>
> -- Forwarded message --
> From: Michael Downey 
> Date: Mon, Mar 8, 2010 at 5:39 PM
> Subject: [OPENMRS-MENTORS] Call for GSoC 2009 Mentors
> To: openmrs-mentor...@listserv.iupui.edu
>
>
> Apologies for cross-posting; I realize many of you will receive this
> message twice. If you are not on the list posted at
> http://soc2010.openmrs.org/ and want to be, let me know ASAP.
>
> Google is not requiring a full list of mentors on the application this
> year, so it's not extremely urgent, but I'd like to get the list finalized
> by the end of the week.
>
> Thanks!
> Michael
>
> Begin forwarded message:
> > From: Michael Downey 
> > Date: March 8, 2010 11:26:15 AM EST
> > To: OpenMRS Developer List 
> > Subject: Google Summer of Code 2009 Mentors
> >
> > Hello developers,
> >
> > Again this year, OpenMRS will be applying to its 4th Google Summer of
> Code (GSoC) program. More information on the GSoC for OpenMRS is available
> at: http://soc2010.openmrs.org/
> >
> > REQUIRED SKILLS
> > Google do not have specific eligibility requirements for mentors.
> However, if you are interested in being an OpenMRS mentor, you should have
> sufficient development skills to train university students who may have
> limited development experience. You should be regularly involved with
> OpenMRS, and have deep insight into the code base and already be developing
> code for or around OpenMRS as a significant part of your regular work. You
> must also be available to communicate via weekly conference calls. You also
> must be able to commit on average to 4 or 5 hours per week to work with your
> assigned student.
> >
> > IMPORTANT DATES
> > 18-29 March: Student applicants discuss project ideas with mentoring
> organizations.
> > 29 March - 9 April: Students apply to the program.
> > 26 April: Students are matched with mentors.
> > 24 May: Students begin work.
> > 12 July: Mentors submit mid-term evaluations.
> > 9-16 August: Students complete work.
> > * see
> http://socghop.appspot.com/document/show/gsoc_program/google/gsoc2010/timelinefor
>  all program dates
> >
> > STILL INTERESTED?
> > If, after reading this information, you are interested in possibly being
> a GSoC mentor this year, please e-mail me as soon as possible directly
> (off-list) at mich...@openmrs.org.
> >
> > Thanks!
> >
> > Michael Downey
> > OpenMRS Community Infrastructure Team
> > mich...@openmrs.org
>
> _
>
> To unsubscribe from OpenMRS Mentors' mailing list, send an e-mail to
> lists...@listserv.iupui.edu with "SIGNOFF openmrs-mentors-l" in the  body
> (not the subject) of your e-mail.
>
> [mailto:lists...@listserv.iupui.edu?body=signoff%20openmrs-mentors-l]
>
>
>
> --
> Cheers,
> Knut Staring
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Google Summer of code

2010-03-08 Thread Knut Staring
Should we apply for Google Summer of Code this year? Would we have enough
people to serve as mentors, and sufficient good project descriptions?

Knut

-- Forwarded message --
From: Michael Downey 
Date: Mon, Mar 8, 2010 at 5:39 PM
Subject: [OPENMRS-MENTORS] Call for GSoC 2009 Mentors
To: openmrs-mentor...@listserv.iupui.edu


Apologies for cross-posting; I realize many of you will receive this message
twice. If you are not on the list posted at http://soc2010.openmrs.org/ and
want to be, let me know ASAP.

Google is not requiring a full list of mentors on the application this year,
so it's not extremely urgent, but I'd like to get the list finalized by the
end of the week.

Thanks!
Michael

Begin forwarded message:
> From: Michael Downey 
> Date: March 8, 2010 11:26:15 AM EST
> To: OpenMRS Developer List 
> Subject: Google Summer of Code 2009 Mentors
>
> Hello developers,
>
> Again this year, OpenMRS will be applying to its 4th Google Summer of Code
(GSoC) program. More information on the GSoC for OpenMRS is available at:
http://soc2010.openmrs.org/
>
> REQUIRED SKILLS
> Google do not have specific eligibility requirements for mentors. However,
if you are interested in being an OpenMRS mentor, you should have sufficient
development skills to train university students who may have limited
development experience. You should be regularly involved with OpenMRS, and
have deep insight into the code base and already be developing code for or
around OpenMRS as a significant part of your regular work. You must also be
available to communicate via weekly conference calls. You also must be able
to commit on average to 4 or 5 hours per week to work with your assigned
student.
>
> IMPORTANT DATES
> 18-29 March: Student applicants discuss project ideas with mentoring
organizations.
> 29 March - 9 April: Students apply to the program.
> 26 April: Students are matched with mentors.
> 24 May: Students begin work.
> 12 July: Mentors submit mid-term evaluations.
> 9-16 August: Students complete work.
> * see
http://socghop.appspot.com/document/show/gsoc_program/google/gsoc2010/timelinefor
all program dates
>
> STILL INTERESTED?
> If, after reading this information, you are interested in possibly being a
GSoC mentor this year, please e-mail me as soon as possible directly
(off-list) at mich...@openmrs.org.
>
> Thanks!
>
> Michael Downey
> OpenMRS Community Infrastructure Team
> mich...@openmrs.org

_

To unsubscribe from OpenMRS Mentors' mailing list, send an e-mail to
lists...@listserv.iupui.edu with "SIGNOFF openmrs-mentors-l" in the  body
(not the subject) of your e-mail.

[mailto:lists...@listserv.iupui.edu?body=signoff%20openmrs-mentors-l]



-- 
Cheers,
Knut Staring
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 1585: Simplified internal process feedback

2010-03-08 Thread noreply

revno: 1585
committer: Lars Helge Oeverland 
branch nick: trunk
timestamp: Mon 2010-03-08 17:53:05 +0100
message:
  Simplified internal process feedback
modified:
  
dhis-2/dhis-services/dhis-service-datamart-default/src/main/java/org/hisp/dhis/datamart/DataMartInternalProcess.java
  
dhis-2/dhis-services/dhis-service-importexport/src/main/java/org/hisp/dhis/importexport/ImportInternalProcess.java
  
dhis-2/dhis-services/dhis-service-importexport/src/main/java/org/hisp/dhis/importexport/ImportPreviewInternalProcess.java
  
dhis-2/dhis-services/dhis-service-reporting/src/main/java/org/hisp/dhis/completeness/DataSetCompletenessInternalProcess.java
  
dhis-2/dhis-services/dhis-service-reporting/src/main/java/org/hisp/dhis/reporttable/ReportTableInternalProcess.java
  
dhis-2/dhis-support/dhis-support-system/src/main/java/org/hisp/dhis/system/process/AbstractStatementInternalProcess.java
  
dhis-2/dhis-web/dhis-web-datamart/src/main/resources/org/hisp/dhis/datamart/i18n_module.properties
  
dhis-2/dhis-web/dhis-web-importexport/src/main/resources/org/hisp/dhis/importexport/i18n_module.properties
  
dhis-2/dhis-web/dhis-web-reporting/src/main/resources/org/hisp/dhis/reporting/i18n_module.properties


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to 
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription.
=== modified file 'dhis-2/dhis-services/dhis-service-datamart-default/src/main/java/org/hisp/dhis/datamart/DataMartInternalProcess.java'
--- dhis-2/dhis-services/dhis-service-datamart-default/src/main/java/org/hisp/dhis/datamart/DataMartInternalProcess.java	2010-03-08 14:50:40 +
+++ dhis-2/dhis-services/dhis-service-datamart-default/src/main/java/org/hisp/dhis/datamart/DataMartInternalProcess.java	2010-03-08 16:53:05 +
@@ -122,22 +122,4 @@
 {
 dataMartEngine.export( dataElementIds, indicatorIds, periodIds, organisationUnitIds, getState() );
 }
-
-@Override
-protected String getStartMessage()
-{
-return "export_process_started";
-}
-
-@Override
-protected String getSuccessMessage()
-{
-return "export_process_done";
-}
-
-@Override
-protected String getErrorMessage()
-{
-return "export_process_failed";
-}
 }

=== modified file 'dhis-2/dhis-services/dhis-service-importexport/src/main/java/org/hisp/dhis/importexport/ImportInternalProcess.java'
--- dhis-2/dhis-services/dhis-service-importexport/src/main/java/org/hisp/dhis/importexport/ImportInternalProcess.java	2010-03-08 14:50:40 +
+++ dhis-2/dhis-services/dhis-service-importexport/src/main/java/org/hisp/dhis/importexport/ImportInternalProcess.java	2010-03-08 16:53:05 +
@@ -88,22 +88,4 @@
 {
 importService.importData( params, inputStream, getState() );
 }
-
-@Override
-protected String getStartMessage()
-{
-return "import_process_started";
-}
-
-@Override
-protected String getSuccessMessage()
-{
-return "import_process_done";
-}
-
-@Override
-protected String getErrorMessage()
-{
-return "import_process_failed";
-}
 }

=== modified file 'dhis-2/dhis-services/dhis-service-importexport/src/main/java/org/hisp/dhis/importexport/ImportPreviewInternalProcess.java'
--- dhis-2/dhis-services/dhis-service-importexport/src/main/java/org/hisp/dhis/importexport/ImportPreviewInternalProcess.java	2010-03-08 14:50:40 +
+++ dhis-2/dhis-services/dhis-service-importexport/src/main/java/org/hisp/dhis/importexport/ImportPreviewInternalProcess.java	2010-03-08 16:53:05 +
@@ -68,22 +68,4 @@
 {
 importObjectService.importAll();  
 }
-
-@Override
-protected String getStartMessage()
-{
-return "preview_process_started";
-}
-
-@Override
-protected String getSuccessMessage()
-{
-return "preview_process_done";
-}
-
-@Override
-public String getErrorMessage()
-{
-return "import_process_failed";
-}
 }

=== modified file 'dhis-2/dhis-services/dhis-service-reporting/src/main/java/org/hisp/dhis/completeness/DataSetCompletenessInternalProcess.java'
--- dhis-2/dhis-services/dhis-service-reporting/src/main/java/org/hisp/dhis/completeness/DataSetCompletenessInternalProcess.java	2010-03-08 14:50:40 +
+++ dhis-2/dhis-services/dhis-service-reporting/src/main/java/org/hisp/dhis/completeness/DataSetCompletenessInternalProcess.java	2010-03-08 16:53:05 +
@@ -104,22 +104,4 @@
 {
 completenessService.exportDataSetCompleteness( dataSetIds, periodIds, organisationUnitIds, reportTableId );
 }
-
-@Override
-protected String getStartMessage()
-{
-return "data_completeness_process_started";
-}
-
-@Override
-protected String getSuccessMessage()

[Dhis2-devs] [Branch ~dhis2-documenters/dhis2/dhis2-docbook-docs] Rev 118: Added ids to excel reporting docs. Moved a few sections around.

2010-03-08 Thread noreply

revno: 118
committer: Lars Helge Oeverland 
branch nick: dhis2-docbook-docs
timestamp: Mon 2010-03-08 17:35:12 +0100
message:
  Added ids to excel reporting docs. Moved a few sections around.
modified:
  src/docbkx/en/dhis2_user_man_excel_reports.xml
The size of the diff (1416 lines) is larger than your specified limit of 1000 
lines

--
lp:~dhis2-documenters/dhis2/dhis2-docbook-docs
https://code.launchpad.net/~dhis2-documenters/dhis2/dhis2-docbook-docs

Your team DHIS 2 developers is subscribed to branch 
lp:~dhis2-documenters/dhis2/dhis2-docbook-docs.
To unsubscribe from this branch go to 
https://code.launchpad.net/~dhis2-documenters/dhis2/dhis2-docbook-docs/+edit-subscription.

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 1583: (GIS) Help button label added.

2010-03-08 Thread noreply

revno: 1583
committer: Jan Henrik Overland 
branch nick: trunk
timestamp: Mon 2010-03-08 17:33:06 +0100
message:
  (GIS) Help button label added.
modified:
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/mapping/css/style.css
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/mapping/script/index.js


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to 
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription.
=== modified file 'dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/mapping/css/style.css'
--- dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/mapping/css/style.css	2010-03-08 16:23:29 +
+++ dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/mapping/css/style.css	2010-03-08 16:33:06 +
@@ -84,9 +84,6 @@
 .x-btn .icon-pdf {
 	background-image:url(../../../images/pdf.png);
 }
-.x-btn .icon-help {
-	background-image:url(../../../images/help.png);
-}
 .aa_dark button  {
 	font-family:lucida sans unicode, arial;
 	font-weight:normal;

=== modified file 'dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/mapping/script/index.js'
--- dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/mapping/script/index.js	2010-03-08 16:23:29 +
+++ dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/mapping/script/index.js	2010-03-08 16:33:06 +
@@ -2803,7 +2803,10 @@
 	});
 	
 	var helpButton = new Ext.Button({
-		iconCls: 'icon-help',
+		cls: 'x-btn-text-icon',
+		ctCls: 'aa_med',
+		icon: '../../images/help.png',
+		text: 'Help',
 		tooltip: 'Get help for the active panel',
 		handler: function() {
 			ACTIVEPANEL = !ACTIVEPANEL ? thematicMap : ACTIVEPANEL;

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 1582: (GIS) Minor gray-extend theme fixes.

2010-03-08 Thread noreply

revno: 1582
committer: Jan Henrik Overland 
branch nick: trunk
timestamp: Mon 2010-03-08 17:23:29 +0100
message:
  (GIS) Minor gray-extend theme fixes.
removed:
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/gray-extend/
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/gray-extend/box/
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/gray-extend/box/tb-gray.gif
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/gray-extend/button/
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/gray-extend/button/btn-arrow.gif
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/gray-extend/button/btn-sprite.gif
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/gray-extend/button/btn-sprite2.gif
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/gray-extend/form/
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/gray-extend/form/clear-trigger.gif
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/gray-extend/form/date-trigger.gif
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/gray-extend/form/error-tip-corners.gif
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/gray-extend/form/exclamation.gif
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/gray-extend/form/search-trigger.gif
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/gray-extend/form/trigger.gif
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/gray-extend/gradient-bg.gif
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/gray-extend/grid/
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/gray-extend/grid/col-move-bottom.gif
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/gray-extend/grid/col-move-top.gif
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/gray-extend/grid/grid-hrow.gif
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/gray-extend/grid/grid3-hd-btn.gif
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/gray-extend/grid/grid3-hrow-over.gif
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/gray-extend/grid/grid3-special-col-sel-bg.gif
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/gray-extend/grid/page-first.gif
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/gray-extend/grid/page-last.gif
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/gray-extend/grid/page-next.gif
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/gray-extend/grid/page-prev.gif
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/gray-extend/grid/refresh.gif
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/gray-extend/grid/sort_asc.gif
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/gray-extend/grid/sort_desc.gif
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/gray-extend/layout/
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/gray-extend/layout/panel-title-bg.gif
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/gray-extend/menu/
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/gray-extend/menu/item-over.gif
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/gray-extend/menu/menu-parent.gif
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/gray-extend/panel/
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/gray-extend/panel/corners-sprite.gif
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/gray-extend/panel/left-right.gif
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/gray-extend/panel/light-hd.gif
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/gray-extend/panel/tool-sprite-tpl.gif
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/gray-extend/panel/tool-sprites.gif
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/gray-extend/panel/tools-sprites-tr

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 1581: (GIS) Minor label generator bug fixed.

2010-03-08 Thread noreply

revno: 1581
committer: Jan Henrik Overland 
branch nick: trunk
timestamp: Mon 2010-03-08 16:29:02 +0100
message:
  (GIS) Minor label generator bug fixed.
modified:
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/mapfish/core/GeoStat.js


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to 
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription.
=== modified file 'dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/mapfish/core/GeoStat.js'
--- dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/mapfish/core/GeoStat.js	2010-03-02 11:58:13 +
+++ dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/mapfish/core/GeoStat.js	2010-03-08 15:29:02 +
@@ -372,8 +372,11 @@
 		}
 		else {
 var upper = parseFloat(bin.upperBound);
-if (binIndex < nbBins-1) {
-upper -= parseFloat("0.1");
+
+if (bin.upperBound > bin.lowerBound) {
+if (binIndex < nbBins-1) {
+upper -= parseFloat("0.1");
+}
 }
 
 			return parseFloat(bin.lowerBound).toFixed(1) + ' - ' + upper.toFixed(1) + '   ( ' + bin.nbVal + ' )';

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 1580: (GIS) Cleaned up Ext user extensions folder.

2010-03-08 Thread noreply

revno: 1580
committer: Jan Henrik Overland 
branch nick: trunk
timestamp: Mon 2010-03-08 16:23:59 +0100
message:
  (GIS) Cleaned up Ext user extensions folder.
removed:
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/DDView.js
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/ItemSelector.js
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/MultiSelect.js
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/bottom2.gif
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/checkbox_or.css
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/color-field.css
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/color-field.js
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/color-trigger.gif
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/color-trigger.png
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/down2.gif
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/left2.gif
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/multiselect.css
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/right2.gif
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/top2.gif
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/up2.gif
added:
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/checkbox/
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/checkbox/checkbox_or.css
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/colorfield/
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/colorfield/color-field.css
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/colorfield/color-field.js
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/colorfield/color-trigger.gif
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/colorfield/color-trigger.png
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/itemselector/
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/itemselector/DDView.js
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/itemselector/ItemSelector.js
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/itemselector/bottom2.gif
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/itemselector/down2.gif
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/itemselector/left2.gif
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/itemselector/right2.gif
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/itemselector/top2.gif
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/itemselector/up2.gif
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/multiselect/
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/multiselect/MultiSelect.js
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/multiselect/multiselect.css
modified:
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/mapping/index.html
The size of the diff (2060 lines) is larger than your specified limit of 1000 
lines

--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to 
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription.

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 1579: (GIS) Minor bug fixed.

2010-03-08 Thread noreply

revno: 1579
committer: Jan Henrik Overland 
branch nick: trunk
timestamp: Mon 2010-03-08 16:08:08 +0100
message:
  (GIS) Minor bug fixed.
removed:
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/msg.css
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/msg.js
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/xtheme-gray-extend.css
added:
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/gray-extend/xtheme-gray-extend.css
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/msg/
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/msg/msg.css
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/ext-ux/msg/msg.js
modified:
  
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/mapping/index.html
The size of the diff (1626 lines) is larger than your specified limit of 1000 
lines

--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to 
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription.

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 1578: Improved state handling in internal processes.

2010-03-08 Thread noreply

revno: 1578
committer: Lars Helge Oeverland 
branch nick: trunk
timestamp: Mon 2010-03-08 15:50:40 +0100
message:
  Improved state handling in internal processes.
modified:
  dhis-2/dhis-options/src/main/resources/help_content.xml
  
dhis-2/dhis-services/dhis-service-datamart-default/src/main/java/org/hisp/dhis/datamart/DataMartInternalProcess.java
  
dhis-2/dhis-services/dhis-service-datamart-default/src/main/java/org/hisp/dhis/datamart/engine/DefaultDataMartEngine.java
  
dhis-2/dhis-services/dhis-service-importexport/src/main/java/org/hisp/dhis/importexport/ImportInternalProcess.java
  
dhis-2/dhis-services/dhis-service-importexport/src/main/java/org/hisp/dhis/importexport/ImportPreviewInternalProcess.java
  
dhis-2/dhis-services/dhis-service-reporting/src/main/java/org/hisp/dhis/completeness/DataSetCompletenessInternalProcess.java
  
dhis-2/dhis-services/dhis-service-reporting/src/main/java/org/hisp/dhis/completeness/jdbc/JDBCDataSetCompletenessStore.java
  
dhis-2/dhis-services/dhis-service-reporting/src/main/java/org/hisp/dhis/reporttable/ReportTableInternalProcess.java
  
dhis-2/dhis-support/dhis-support-system/src/main/java/org/hisp/dhis/system/process/AbstractStatementInternalProcess.java
  
dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/i18n/translate.vm
  dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/popup.vm
  dhis-2/dhis-web/dhis-web-commons/src/main/resources/i18n_global.properties
  
dhis-2/dhis-web/dhis-web-importexport/src/main/resources/org/hisp/dhis/importexport/i18n_module.properties
  
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/editCustomValues.vm
  
dhis-2/dhis-web/dhis-web-reporting/src/main/resources/org/hisp/dhis/reporting/i18n_module.properties
  
dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/viewDataCompletenessForm.vm


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to 
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription.
=== modified file 'dhis-2/dhis-options/src/main/resources/help_content.xml'
--- dhis-2/dhis-options/src/main/resources/help_content.xml	2010-03-01 13:40:08 +
+++ dhis-2/dhis-options/src/main/resources/help_content.xml	2010-03-08 14:50:40 +
@@ -1,4 +1,4 @@
-
+
 
   
 Data elements and indicators
@@ -394,7 +394,7 @@
   
 
 
-  Data dictionary
+  Data dictionaries
   Data dictionaries are used to group data elements and indicators during filtering operations. They are useful for combining related groups of data elements and indicators according to the programs to which they belong. For instance a data dictionary called "MCH" could be created, and all maternal and child health data elements and indicators could be added to the dictionary. The data dictionary can be access by choosing Maintenance->Data elements and indicators->Data dictionary. The following screen will be displayed in the browser. 
   
 
@@ -404,7 +404,12 @@
 
   
   Provide a name for the data dictionary in the "Name" field and a description of its contents. Data elements and indicators can be added or removed from the dictionary. Click "Save" if you are creating a new data dictionary or "Add" if you are editing the contents of an existing data dictionary.   
-
+	
+  	
+  Translations
+  DHIS 2 provides functionality for translations of data element, data element group, indicator, indicator group, and data element category names.  These elements can be translated to any number of locales. A locale  represents a specific geographical, political, or cultural region. 
+  To add a translation click the Translate icon next to the element you would like to translate. Start by selecting the desired locale from the Locale select box. If your locale is not in the list you need to add it first. Fill in locale language and locale country code. The locale language is a lower-case, two-letter valid ISO Language Code. The locale country is a upper-case, two-letter valid ISO Country Code. Then in the Translate section, select your locale, then enter values for the avaliable element properties. You can select the reference locale, that is the locale the current element is displayed in, from the select box to the right. Translations can be enabled by selecting the desired locale under Database Language under User Settings in the Settings module.
+	
   
   
 Data Administration

=== modified file 'dhis-2/dhis-services/dhis-service-datamart-default/src/main/java/org/hisp/dhis/datamart/DataMartInternalProcess.java'
--- dhis-2/dhis-services/dhis-service-datamart-default/src/main/java/org/hisp/dhis/datamart/DataMartInternalProcess.java	2010-03-04 11:55:58 +
+++ dhis-2/dhis-services/dhis-service-d

[Dhis2-devs] [Bug 519175] Re: No translation of OrgUnit names

2010-03-08 Thread Lars Helge Øverland
** Changed in: dhis2
Milestone: 2.0.3 => 2.0.5

-- 
No translation of OrgUnit names
https://bugs.launchpad.net/bugs/519175
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 Software: Invalid

Bug description:
The translation icon and functionality is missing in the edit Orgunit view:
http://dhis.uio.no/demo/dhis-web-maintenance-organisationunit/organisationUnit.action



___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] [Branch ~dhis2-documenters/dhis2/dhis2-docbook-docs] Rev 117: Minor fix

2010-03-08 Thread noreply

revno: 117
committer: Lars Helge Oeverland 
branch nick: dhis2-docbook-docs
timestamp: Mon 2010-03-08 15:03:50 +0100
message:
  Minor fix
modified:
  src/docbkx/en/dhis2_user_man_data_elements_and_indicators.xml


--
lp:~dhis2-documenters/dhis2/dhis2-docbook-docs
https://code.launchpad.net/~dhis2-documenters/dhis2/dhis2-docbook-docs

Your team DHIS 2 developers is subscribed to branch 
lp:~dhis2-documenters/dhis2/dhis2-docbook-docs.
To unsubscribe from this branch go to 
https://code.launchpad.net/~dhis2-documenters/dhis2/dhis2-docbook-docs/+edit-subscription.
=== modified file 'src/docbkx/en/dhis2_user_man_data_elements_and_indicators.xml'
--- src/docbkx/en/dhis2_user_man_data_elements_and_indicators.xml	2010-03-08 14:03:00 +
+++ src/docbkx/en/dhis2_user_man_data_elements_and_indicators.xml	2010-03-08 14:03:50 +
@@ -431,7 +431,7 @@
 
 Provide a name for the data dictionary in the "Name" field and a description of its contents. Data elements and indicators can be added or removed from the dictionary. Click "Save" if you are creating a new data dictionary or "Add" if you are editing the contents of an existing data dictionary.   
   
-  
+  
 Translations
 DHIS 2 provides functionality for translations of data element, data element group, indicator, indicator group, and data element category names.  These elements can be translated to any number of locales. A locale  represents a specific geographical, political, or cultural region. 
 To add a translation click the Translate icon next to the element you would like to translate. Start by selecting the desired locale from the Locale select box. If your locale is not in the list you need to add it first. Fill in locale language and locale country code. The locale language is a lower-case, two-letter valid ISO Language Code. The locale country is a upper-case, two-letter valid ISO Country Code. Then in the Translate section, select your locale, then enter values for the avaliable element properties. You can select the reference locale, that is the locale the current element is displayed in, from the select box to the right. Translations can be enabled by selecting the desired locale under Database Language under User Settings in the Settings module.

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] [Branch ~dhis2-documenters/dhis2/dhis2-docbook-docs] Rev 116: Added docs for Translations

2010-03-08 Thread noreply

revno: 116
committer: Lars Helge Oeverland 
branch nick: dhis2-docbook-docs
timestamp: Mon 2010-03-08 15:03:00 +0100
message:
  Added docs for Translations
removed:
  src/docbkx/en/resources/images/ExcelReportModule/Thumbs.db
modified:
  src/docbkx/en/dhis2_user_man_data_elements_and_indicators.xml


--
lp:~dhis2-documenters/dhis2/dhis2-docbook-docs
https://code.launchpad.net/~dhis2-documenters/dhis2/dhis2-docbook-docs

Your team DHIS 2 developers is subscribed to branch 
lp:~dhis2-documenters/dhis2/dhis2-docbook-docs.
To unsubscribe from this branch go to 
https://code.launchpad.net/~dhis2-documenters/dhis2/dhis2-docbook-docs/+edit-subscription.
=== modified file 'src/docbkx/en/dhis2_user_man_data_elements_and_indicators.xml'
--- src/docbkx/en/dhis2_user_man_data_elements_and_indicators.xml	2010-02-25 13:53:12 +
+++ src/docbkx/en/dhis2_user_man_data_elements_and_indicators.xml	2010-03-08 14:03:00 +
@@ -297,92 +297,92 @@
 Indicator maintenance
 Indicator maintenance functions essentially the same as each of the respective sections in the previous section on data elements. The basic operations will be described in this section, but the reader should  refer to the corresponding sections above for detailed instructions. 
 
-Indicators
-Indicators are composed of multiple data elements, and typically consist of a numerator and denominator. Indicators are never entered in DHIS2, but are derived from combinations of data elements and factors. Indicators are used to calculate coverage rates, incidence and other values are are a result of data element values that have been entered into the system. 
-To access the Indicator maintains page, press Maintenance->Data element and indicators->Indicators from the main DHIS2 menu. Similar to data elements, you can add, delete, modify and view extra information about the indicators in the system. 
-
-  
-
-  
-
-  
-
-Indicators can be filtered by entering the name or a part of the indicator name in the "Filter by name" field. Similar to data elements, indicators can be added by pressing the "Add new" button. Other operations available from this menu are as follows. 
-
-  
- Existing indicators can be edited. 
-  
-  
- Translate an existing indicator. 
-  
-  
- Delete an existing indicator. 
-  
-  
- Get detailed information about this indicator. 
-  
-
-To add a new indicator, click the "Add new" button. The following screen is displayed. 
-
-  
-
-  
-
-  
-
-Each of the fields marked with an asterisk are compulsory. A description of each field is provided below. 
-
-  
-Name: The full name of the indicator, such as "Incidence of confirmed malaria cases per 1000 population"
-  
-  
-Short name: An abbreviated name of the indicator such as "Inc conf. malaria per 1000 pop"
-  
-  
-Alternative name: An additional field for a possible alternative name of the indicator. 
-  
-  
-Code: In many countries, indicator are often assigned a particular code. This code can be entered here. 
-  
-  
-Description: A brief, informative description of the indicator and how it is calculated can be entered here. 
-  
-  
-Annualized: Determines whether or not an annualization factor is applied during the calculation of the indicator. Typically, annualized indicator's numerator are multiplied by a factor of 12, and the denominator is for instance a yearly population figure. This allows for monthly coverage values to be calculated with yearly population figures.
-  
-  
-Type: This field will determine a factor that will automatically be applied during the calculation of the indicator. Possible choices are determined by the Indicator Types (described below). For instance, a "Percent" indicator will automatically be multiplied by a factor of 100 when exported to the data mart, so that it will display as a percentage. 
-  
-  
-URL: Can be used as a link to an indicator registry, where a full metadata description of the indicator can be made available. 
-  
-
-To define the numerator and denominator, simply press the respective button, and the following dialogue will be displayed. 
-
-  
-
-  
-
-  
-
-Essentially, an indicator is a formula that can be composed of multiple data element, constant factors, and mathematical operators. In order to define a new indicator proceed with the following steps.  
-
-  
-Provide a description of the numerator can be provided in the "Description field". 
-  
-  
-Choose the aggregation operator, either as a SUM or COUNT. 
-  
-  
-Define the formula of the indicator by selec

Re: [Dhis2-devs] Translation function - Stay at page after modified some thing

2010-03-08 Thread Lars Helge Øverland
On Mon, Mar 8, 2010 at 10:19 AM, Hieu Dang Duy
wrote:

>
> Dear all,
>
> May I give to devs a small suggestion like this:
> I think we should keep for non-redirecting page after we've got some of
> saving for the object's translated value (name, shortname, description, ect
> ...)
> In the original case, after pressed Save button system would redirect from
> the sub-page (*dhis/dhis-web-commons/i18n.action*) to the main page (*
> dhis-web-maintenance-datadictionary/dataElement.action*).
> But I realized that it would be very very inconvenient and waste of time if
> we have to add so many the other translated values of each object for each
> corresponding locale.
>
> For example:
>
> I've got a string as "*Doctor*" in *English*. And then, I want to add some
> of new translated values with "*Bác sỹ*" in *Vietnamese *or "*醫生*" in *Chinese
> *or "*Доктор*" in *Ukrainian*. So, in this case we must go to 3 times for
> doing the same page (*dhis/dhis-web-commons/i18n.action*).
>
> Thanks !
>
>

Hi Hieu,

thanks for raising this issue. This sounds just fine to me, go ahead. Just
make sure you include sensible user feedback on save so that it is clear
that the translation actually has been saved.

regards, Lars



> --
> Hieu.HISPVietnam
> Good Health !
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 1576: Added min max dataelement values in gap analysis

2010-03-08 Thread noreply

revno: 1576
committer: Lars Helge Oeverland 
branch nick: trunk
timestamp: Mon 2010-03-08 14:01:03 +0100
message:
  Added min max dataelement values in gap analysis
modified:
  
dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/dataanalysis/jdbc/JdbcDataAnalysisStore.java
  
dhis-2/dhis-web/dhis-web-validationrule/src/main/webapp/dhis-web-validationrule/javascript/editDataValue.js


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to 
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription.
=== modified file 'dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/dataanalysis/jdbc/JdbcDataAnalysisStore.java'
--- dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/dataanalysis/jdbc/JdbcDataAnalysisStore.java	2010-03-08 10:57:25 +
+++ dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/dataanalysis/jdbc/JdbcDataAnalysisStore.java	2010-03-08 13:01:03 +
@@ -104,24 +104,24 @@
 
 final String periodIds = TextUtils.getCommaDelimitedString( ConversionUtils.getIdentifiers( Period.class, periods ) );
 
+final String sql =
+"SELECT dv.dataelementid, dv.periodid, dv.sourceid, dv.categoryoptioncomboid, dv.value, dv.storedby, dv.lastupdated, " +
+"dv.comment, dv.followup, '" + lowerBound + "' AS minvalue, '" + upperBound + "' AS maxvalue, " +
+statementBuilder.encode( dataElement.getName() ) + " AS dataelementname, pt.name AS periodtypename, pe.startdate, pe.enddate, " + 
+statementBuilder.encode( organisationUnit.getName() ) + " AS sourcename, cc.categoryoptioncomboname " +
+"FROM datavalue AS dv " +
+"JOIN period AS pe USING (periodid) " +
+"JOIN periodtype AS pt USING (periodtypeid) " +
+"LEFT JOIN categoryoptioncomboname AS cc USING (categoryoptioncomboid) " +
+"WHERE dv.dataelementid='" + dataElement.getId() + "' " +
+"AND dv.categoryoptioncomboid='" + categoryOptionCombo.getId() + "' " +
+"AND dv.periodid IN (" + periodIds + ") " +
+"AND dv.sourceid='" + organisationUnit.getId() + "' " +
+"AND ( CAST( dv.value AS " + statementBuilder.getDoubleColumnType() + " ) < '" + lowerBound + "' " +
+"OR CAST( dv.value AS " + statementBuilder.getDoubleColumnType() + " ) > '" + upperBound + "' )";
+
 try
-{
-final String sql =
-"SELECT dv.dataelementid, dv.periodid, dv.sourceid, dv.categoryoptioncomboid, dv.value, dv.storedby, dv.lastupdated, " +
-"dv.comment, dv.followup, '" + lowerBound + "' AS minvalue, '" + upperBound + "' AS maxvalue, " +
-statementBuilder.encode( dataElement.getName() ) + " AS dataelementname, pt.name AS periodtypename, pe.startdate, pe.enddate, " + 
-statementBuilder.encode( organisationUnit.getName() ) + " AS sourcename, cc.categoryoptioncomboname " +
-"FROM datavalue AS dv " +
-"JOIN period AS pe USING (periodid) " +
-"JOIN periodtype AS pt USING (periodtypeid) " +
-"LEFT JOIN categoryoptioncomboname AS cc USING (categoryoptioncomboid) " +
-"WHERE dv.dataelementid='" + dataElement.getId() + "' " +
-"AND dv.categoryoptioncomboid='" + categoryOptionCombo.getId() + "' " +
-"AND dv.periodid IN (" + periodIds + ") " +
-"AND dv.sourceid='" + organisationUnit.getId() + "' " +
-"AND ( CAST( dv.value AS " + statementBuilder.getDoubleColumnType() + " ) < '" + lowerBound + "' " +
-"OR CAST( dv.value AS " + statementBuilder.getDoubleColumnType() + " ) > '" + upperBound + "' )";
-
+{
 final ResultSet resultSet = holder.getStatement().executeQuery( sql );
 
 return mapper.getCollection( resultSet, new DeflatedDataValueNameMinMaxRowMapper() );
@@ -145,27 +145,38 @@
 
 final String periodIds = TextUtils.getCommaDelimitedString( ConversionUtils.getIdentifiers( Period.class, periods ) );
 
-// TODO minmax
+final String minValueSql = 
+"SELECT minvalue FROM minmaxdataelement " +
+"WHERE sourceid=' " + organisationUnit.getId() + "' " +
+"AND dataelementid='" + dataElement.getId() + "' " +
+"AND categoryoptioncomboid='" + categoryOptionCombo.getId() + "'";
+
+final String maxValueSql = 
+"SELECT maxvalue FROM minmaxdataelement " +
+"WHERE sourceid=' " + organisationUnit.getId() + "' " +
+"AND dataelementid='" + dataElement.getId() + "' " +
+"AND categoryoptioncomboid='" + categoryOptionCombo.getId() 

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 1575: Applied sql encoding for names used in statements in dataanlysis

2010-03-08 Thread noreply

revno: 1575
committer: Lars Helge Oeverland 
branch nick: trunk
timestamp: Mon 2010-03-08 11:57:25 +0100
message:
  Applied sql encoding for names used in statements in dataanlysis
modified:
  
dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/dataanalysis/jdbc/JdbcDataAnalysisStore.java
  
dhis-2/dhis-services/dhis-service-jdbc/src/main/java/org/hisp/dhis/jdbc/StatementBuilder.java
  
dhis-2/dhis-services/dhis-service-jdbc/src/main/java/org/hisp/dhis/jdbc/statementbuilder/DerbyStatementBuilder.java
  
dhis-2/dhis-services/dhis-service-jdbc/src/main/java/org/hisp/dhis/jdbc/statementbuilder/H2StatementBuilder.java
  
dhis-2/dhis-services/dhis-service-jdbc/src/main/java/org/hisp/dhis/jdbc/statementbuilder/MySQLStatementBuilder.java
  
dhis-2/dhis-services/dhis-service-jdbc/src/main/java/org/hisp/dhis/jdbc/statementbuilder/PostgreSQLStatementBuilder.java


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to 
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription.
=== modified file 'dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/dataanalysis/jdbc/JdbcDataAnalysisStore.java'
--- dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/dataanalysis/jdbc/JdbcDataAnalysisStore.java	2009-12-24 14:47:25 +
+++ dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/dataanalysis/jdbc/JdbcDataAnalysisStore.java	2010-03-08 10:57:25 +
@@ -109,8 +109,8 @@
 final String sql =
 "SELECT dv.dataelementid, dv.periodid, dv.sourceid, dv.categoryoptioncomboid, dv.value, dv.storedby, dv.lastupdated, " +
 "dv.comment, dv.followup, '" + lowerBound + "' AS minvalue, '" + upperBound + "' AS maxvalue, " +
-"'" + dataElement.getName() + "' AS dataelementname, pt.name AS periodtypename, pe.startdate, pe.enddate, " + 
-"'" + organisationUnit.getName() + "' AS sourcename, cc.categoryoptioncomboname " +
+statementBuilder.encode( dataElement.getName() ) + " AS dataelementname, pt.name AS periodtypename, pe.startdate, pe.enddate, " + 
+statementBuilder.encode( organisationUnit.getName() ) + " AS sourcename, cc.categoryoptioncomboname " +
 "FROM datavalue AS dv " +
 "JOIN period AS pe USING (periodid) " +
 "JOIN periodtype AS pt USING (periodtypeid) " +
@@ -153,8 +153,9 @@
 "SELECT '" + dataElement.getId() + "' AS dataelementid, pe.periodid, " +
 "'" + organisationUnit.getId() + "' AS sourceid, '" + categoryOptionCombo.getId() + "' AS categoryoptioncomboid, " +
 "'' AS value, '' AS storedby, '1900-01-01' AS lastupdated, '' AS comment, false AS followup, '0' as minvalue, '10' as maxvalue, " +
-"'" + dataElement.getName() + "' AS dataelementname, pt.name AS periodtypename, pe.startdate, pe.enddate, " +
-"'" + organisationUnit.getName() + "' AS sourcename, '" + categoryOptionCombo.getName() + "' as categoryoptioncomboname " +
+statementBuilder.encode( dataElement.getName() ) + " AS dataelementname, pt.name AS periodtypename, pe.startdate, pe.enddate, " +
+statementBuilder.encode( organisationUnit.getName() ) + " AS sourcename, " + 
+statementBuilder.encode( categoryOptionCombo.getName() ) + " AS categoryoptioncomboname " + //TODO join?
 "FROM period AS pe " +
 "JOIN periodtype AS pt USING (periodtypeid) " +
 "WHERE periodid IN (" + periodIds + ") " +

=== modified file 'dhis-2/dhis-services/dhis-service-jdbc/src/main/java/org/hisp/dhis/jdbc/StatementBuilder.java'
--- dhis-2/dhis-services/dhis-service-jdbc/src/main/java/org/hisp/dhis/jdbc/StatementBuilder.java	2010-02-24 12:17:43 +
+++ dhis-2/dhis-services/dhis-service-jdbc/src/main/java/org/hisp/dhis/jdbc/StatementBuilder.java	2010-03-08 10:57:25 +
@@ -35,6 +35,16 @@
  */
 public interface StatementBuilder
 {
+final String QUOTE = "'";
+
+/**
+ * Encodes the provided SQL value.
+ * 
+ * @param value the value.
+ * @return the SQL encoded value.
+ */
+String encode( String value );
+
 /**
  * Returns the name of a double column type.
  * @return the name of a double column type.
@@ -93,7 +103,6 @@
 int getMaximumNumberOfColumns();
 
 /**
- *  
  *  Drop Dataset foreign key for DataEntryForm table
  *  
  * @return

=== modified file 'dhis-2/dhis-services/dhis-service-jdbc/src/main/java/org/hisp/dhis/jdbc/statementbuilder/DerbyStatementBuilder.java'
--- dhis-2/dhis-services/dhis-service-jdbc/src/main/java/org/hisp/dhis/jdbc/statementbuilder/DerbyStatementBuilder.java	2010-02-24 12:17:43 +
+++ dhis-2/dhis-services/dhis-s

Re: [Dhis2-devs] Translation function - Stay at page after modified some thing

2010-03-08 Thread Viet Nguyen
On Mon, Mar 8, 2010 at 3:56 PM, Murodullo Latifov wrote:

> Hi Viet,
>
> Follow this steps to add pagination. I am listing those areas that
> added/modified for this, for the rest look at corresponding files attached.
> SearchText could be handled in a way during Add/Remove so user comes back to
> the last search criteria hi left. If this works than user will be always
> focused into set of data, rather going back to the whole set and researching
> again.
>
> Add these properties to GetDataElementListAction.java.
>
> private String searchText ="";
>
> public String getSearchText() {
> return searchText;
> }
>
> public void setSearchText(String searchText) {
> this.searchText = searchText;
> }
>
> private int pageSize = 10;
>
> public int getPageSize() {
> return pageSize;
> }
>
> public void setPageSize(int pageSize) {
> this.pageSize = pageSize;
> }
>
> private int currentPage = 0;
>
> public int getCurrentPage() {
> return currentPage;
> }
>
> public void setCurrentPage(int currentPage) {
> this.currentPage = currentPage;
> }
>
> Change //dataElements = new ArrayList(
> dataElementService.getAllDataElements() ); to
> dataElements = new ArrayList(
> dataElementService.getDataElements(currentPage, pageSize, searchText) );
>
> Create dataElementService.getDataElements(currentPage, pageSize,
> searchText)  as such:
>
>
> // helper method for query based search, needed to add %% to search
> string and test if it is not null
>
> private String getSearchPattern(String criteria) {
> if (StringUtils.hasText(criteria)) {
> return "%" + criteria.toLowerCase().replace('*', '%') + "%";
> } else {
> return "%%";
> }
> }
>
> @SuppressWarnings("unchecked")
> @Override
> public Collection getDataElements(int currentPage,
> int pageSize, String searchText) {
> String pattern = getSearchPattern(searchText);
> Session session = sessionFactory.getCurrentSession();
>
> Criteria criteria = session.createCriteria( DataElement.class );
> criteria.add(Restrictions.sqlRestriction("lower({alias}.name) like
> lower(?)", pattern, Hibernate.STRING)); //this is needed only if you want
> search functionality
>
> return criteria.setMaxResults(pageSize).setFirstResult(currentPage
> * pageSize).list();
> }
>
> Add these to dataelement.vm
> for search at the top:
> #parse( "/dhis-web-maintenance-datadictionary/search.vm" )
> for pagination (prev/next) at the ned of table:
>
> 
> #if($currentPage>0)
> #set( $prevPage = $currentPage - 1 )
>  href="dataElement.action?searchText=$searchText&pageSize=$pageSize¤tPage=$prevPage">$i18n.getString(
> "command.prev")
> #end
> 
> #if($count==$pageSize)
> #set( $nextPage = $currentPage + 1 )
>  href="dataElement.action?searchText=$searchText&pageSize=$pageSize¤tPage=$nextPage">$i18n.getString(
> "command.more")
> #end
> 
>
>
>
>
Thank you very much Murodullo.

I will try to implement this to the patient list  and update to you soon.

Regards,

PS : Sorry Hieu, we are disturbing your thread ...next time update this
Paging things I will create new thread :-)


>
>
> --
> *From:* Viet Nguyen 
> *To:* Murodullo Latifov 
> *Cc:* Hieu Dang Duy ; Dhis2 <
> dhis2-devs@lists.launchpad.net>
> *Sent:* Mon, March 8, 2010 3:10:45 PM
> *Subject:* Re: [Dhis2-devs] Translation function - Stay at page after
> modified some thing
>
>
>
> On Mon, Mar 8, 2010 at 3:04 PM, Murodullo Latifov 
> wrote:
>
>> Hi all,
>>
>> In this connection I also implemented server side pagination for dhis.
>> This could be used in Dataelement listing, patient records, etc. There is
>> also search facility working with pagination to narrow down scope. It may
>> need speed comparison with existing single listings and other pros and cons.
>>
>> regards,
>> murod
>>
>>
> Hi,
>
> I'm also planing to implement a paging util for patient module.
>
> May I see  your code  :-)
>
>


-- 
Viet Nguyen
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Translation function - Stay at page after modified some thing

2010-03-08 Thread Murodullo Latifov
Hi Viet,

Follow this steps to add pagination. I am listing those areas that 
added/modified for this, for the rest look at corresponding files attached. 
SearchText could be handled in a way during Add/Remove so user comes back to 
the last search criteria hi left. If this works than user will be always 
focused into set of data, rather going back to the whole set and researching 
again. 

Add these properties to GetDataElementListAction.java.

private String searchText ="";

public String getSearchText() {
return searchText;
}

public void setSearchText(String searchText) {
this.searchText = searchText;
}

private int pageSize = 10;

public int getPageSize() {
return pageSize;
}

public void setPageSize(int pageSize) {
this.pageSize = pageSize;
}

private int currentPage = 0;

public int getCurrentPage() {
return currentPage;
}

public void setCurrentPage(int currentPage) {
this.currentPage = currentPage;
}


Change //dataElements = new ArrayList( 
dataElementService.getAllDataElements() ); to
dataElements = new ArrayList( 
dataElementService.getDataElements(currentPage, pageSize, searchText) );

Create dataElementService.getDataElements(currentPage, pageSize, searchText)  
as such:


// helper method for query based search, needed to add %% to search string 
and test if it is not null

private String getSearchPattern(String criteria) {
if (StringUtils.hasText(criteria)) {
return "%" + criteria.toLowerCase().replace('*', '%') + "%";
} else {
return "%%";
}
}

@SuppressWarnings("unchecked")
@Override
public Collection getDataElements(int currentPage,
int pageSize, String searchText) {
String pattern = getSearchPattern(searchText);
Session session = sessionFactory.getCurrentSession();

Criteria criteria = session.createCriteria( DataElement.class );
criteria.add(Restrictions.sqlRestriction("lower({alias}.name) like 
lower(?)", pattern, Hibernate.STRING)); //this is needed only if you want 
search functionality

return criteria.setMaxResults(pageSize).setFirstResult(currentPage * 
pageSize).list();
}

Add these to dataelement.vm 
for search at the top:
#parse( "/dhis-web-maintenance-datadictionary/search.vm" )
for pagination (prev/next) at the ned of table:


#if($currentPage>0)
#set( $prevPage = $currentPage - 1 )
$i18n.getString(
 "command.prev")
#end

#if($count==$pageSize)
#set( $nextPage = $currentPage + 1 )
$i18n.getString(
 "command.more")
#end









From: Viet Nguyen 
To: Murodullo Latifov 
Cc: Hieu Dang Duy ; Dhis2 

Sent: Mon, March 8, 2010 3:10:45 PM
Subject: Re: [Dhis2-devs] Translation function - Stay at page after modified  
some thing




On Mon, Mar 8, 2010 at 3:04 PM, Murodullo Latifov  
wrote:

>
>Hi all,
>
>In this connection I also implemented server side pagination for dhis. This 
>could be used in Dataelement listing, patient records, etc. There is also 
>search facility working with pagination to narrow down scope. It may need 
>speed comparison with existing single listings and other pros and cons.
>
>
>
>regards,
>murod
>
>
>

Hi, 

I'm also planing to implement a paging util for patient module.

May I see  your code  :-)



  

pagination.7z
Description: Binary data
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Translation function - Stay at page after modified some thing

2010-03-08 Thread Viet Nguyen
On Mon, Mar 8, 2010 at 3:04 PM, Murodullo Latifov wrote:

> Hi all,
>
> In this connection I also implemented server side pagination for dhis. This
> could be used in Dataelement listing, patient records, etc. There is also
> search facility working with pagination to narrow down scope. It may need
> speed comparison with existing single listings and other pros and cons.
>
> regards,
> murod
>
>
Hi,

I'm also planing to implement a paging util for patient module.

May I see  your code  :-)


> --
> *From:* Hieu Dang Duy 
> *To:* Dhis2 
> *Sent:* Mon, March 8, 2010 2:49:55 PM
> *Subject:* [Dhis2-devs] Translation function - Stay at page after modified
> some thing
>
>
> Dear all,
>
> May I give to devs a small suggestion like this:
> I think we should keep for non-redirecting page after we've got some of
> saving for the object's translated value (name, shortname, description, ect
> ...)
> In the original case, after pressed Save button system would redirect from
> the sub-page (*dhis/dhis-web-commons/i18n.action*) to the main page (*
> dhis-web-maintenance-datadictionary/dataElement.action*).
> But I realized that it would be very very inconvenient and waste of time if
> we have to add so many the other translated values of each object for each
> corresponding locale.
>
> For example:
>
> I've got a string as "*Doctor*" in *English*. And then, I want to add some
> of new translated values with "*Bác sỹ*" in *Vietnamese *or "*醫生*" in *Chinese
> *or "*Доктор*" in *Ukrainian*. So, in this case we must go to 3 times for
> doing the same page (*dhis/dhis-web-commons/i18n.action*).
>
> Thanks !
>
> --
> Hieu.HISPVietnam
> Good Health !
>
>
> ___
> Mailing list: 
> https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : 
> https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Viet Nguyen
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Translation function - Stay at page after modified some thing

2010-03-08 Thread Murodullo Latifov
Hi all,

In this connection I also implemented server side pagination for dhis. This 
could be used in Dataelement listing, patient records, etc. There is also 
search facility working with pagination to narrow down scope. It may need speed 
comparison with existing single listings and other pros and cons.

regards,
murod





From: Hieu Dang Duy 
To: Dhis2 
Sent: Mon, March 8, 2010 2:49:55 PM
Subject: [Dhis2-devs] Translation function - Stay at page after modified some 
thing


Dear all,

May I give to devs a small suggestion like this:
I think we should keep for non-redirecting page after we've got some of saving 
for the object's translated value (name, shortname, description, ect ...)
In the original case, after pressed Save button system would redirect from the 
sub-page (dhis/dhis-web-commons/i18n.action) to the main page 
(dhis-web-maintenance-datadictionary/dataElement.action).
But I realized that it would be very very inconvenient and waste of time if we 
have to add so many the other translated values of each object for each 
corresponding locale.

For example:

I've got a string as "Doctor" in English. And then, I want to add some of new 
translated values with "Bác sỹ" in Vietnamese or "醫生" in Chinese or "Доктор" in 
Ukrainian. So, in this case we must go to 3 times for doing the same page 
(dhis/dhis-web-commons/i18n.action).

Thanks !

-- 
Hieu.HISPVietnam
Good Health !



  ___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 1574: Added hove effect for help box hide icon

2010-03-08 Thread noreply

revno: 1574
committer: Lars Helge Oeverland 
branch nick: trunk
timestamp: Mon 2010-03-08 10:25:52 +0100
message:
  Added hove effect for help box hide icon
added:
  
dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/images/hide_active.png
modified:
  dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/main.js
  dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/main.vm


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to 
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription.
=== added file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/images/hide_active.png'
Binary files dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/images/hide_active.png	1970-01-01 00:00:00 + and dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/images/hide_active.png	2010-03-08 09:25:52 + differ
=== modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/main.js'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/main.js	2010-02-15 18:55:09 +
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/main.js	2010-03-08 09:25:52 +
@@ -20,7 +20,18 @@
 {
 $( this ).removeClass( "listHoverRow" );
 } );
-
+
+// Hover on rightbar close image
+
+$( "#hideRightBarImg" ).mouseover( function()
+{
+	$( this ).attr( "src", "../images/hide_active.png" );
+} );
+$( "#hideRightBarImg" ).mouseout( function()
+{
+$( this ).attr( "src", "../images/hide.png" );
+} );
+
 // Resize UI in case of 800 x 600 screen
 
 if( $( window ).width() <= 800 ) 

=== modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/main.vm'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/main.vm	2010-02-25 18:35:33 +
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/main.vm	2010-03-08 09:25:52 +
@@ -124,7 +124,7 @@
 
 
   
-
+
   
   
 

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Translation function - Stay at page after modified some thing

2010-03-08 Thread Hieu Dang Duy
Dear all,

May I give to devs a small suggestion like this:
I think we should keep for non-redirecting page after we've got some of
saving for the object's translated value (name, shortname, description, ect
...)
In the original case, after pressed Save button system would redirect from
the sub-page (*dhis/dhis-web-commons/i18n.action*) to the main page (*
dhis-web-maintenance-datadictionary/dataElement.action*).
But I realized that it would be very very inconvenient and waste of time if
we have to add so many the other translated values of each object for each
corresponding locale.

For example:

I've got a string as "*Doctor*" in *English*. And then, I want to add some
of new translated values with "*Bác sỹ*" in *Vietnamese *or "*醫生*" in *Chinese
*or "*Доктор*" in *Ukrainian*. So, in this case we must go to 3 times for
doing the same page (*dhis/dhis-web-commons/i18n.action*).

Thanks !

-- 
Hieu.HISPVietnam
Good Health !
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] [Bug 512191] Re: Can't save the unicode letters for description of Numerator and Denumerator

2010-03-08 Thread Lars Helge Øverland
** Changed in: dhis2
   Status: New => Fix Committed

** Changed in: dhis2
 Assignee: (unassigned) => Lars Helge Øverland (larshelge)

** Changed in: dhis2
Milestone: None => 2.0.5

-- 
Can't save the unicode letters for description of Numerator and Denumerator
https://bugs.launchpad.net/bugs/512191
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 Software: Fix Committed

Bug description:
While edit numerator and denumerator of indicator. I added the Vietnamese 
characters into the description text box. But later, when I edit again and I 
see it contains full of strange characters.



___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 1573: Fixed bug #512191

2010-03-08 Thread noreply

revno: 1573
committer: Lars Helge Oeverland 
branch nick: trunk
timestamp: Mon 2010-03-08 09:34:02 +0100
message:
  Fixed bug #512191
modified:
  
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/webapp/dhis-web-maintenance-datadictionary/javascript/denum.js


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to 
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription.
=== modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/webapp/dhis-web-maintenance-datadictionary/javascript/denum.js'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/webapp/dhis-web-maintenance-datadictionary/javascript/denum.js	2010-01-25 14:14:57 +
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/webapp/dhis-web-maintenance-datadictionary/javascript/denum.js	2010-03-08 08:34:02 +
@@ -129,10 +129,10 @@
 	enableRadioGroup( "aggregationOperator" );
 	
 	var formula = document.getElementById( "formula" ).value;
-var description = htmlEncode( document.getElementById( "description" ).value );
+var description = document.getElementById( "description" ).value;
 var aggregationOperator = getSelectedRadioValue( "aggregationOperator" );
 
-	var type = htmlEncode( document.getElementById( "type" ).value );
+	var type = document.getElementById( "type" ).value;
 
 if ( window.opener && !window.opener.closed )
 	{

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] [Bug 510049] Re: Data Element names don't allow the character '%'

2010-03-08 Thread Lars Helge Øverland
** Changed in: dhis2
   Status: New => Fix Committed

** Changed in: dhis2
 Assignee: (unassigned) => Lars Helge Øverland (larshelge)

-- 
Data Element names don't allow the character '%' 
https://bugs.launchpad.net/bugs/510049
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 Software: Fix Committed

Bug description:
When adding a new data element with the character '%' you get a misleading 
message at the bottom of the form that says "please specify a name" and then 
the forms doesn't save. I think we need to allow '%' to be used in the name.



___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] [Bug 519175] Re: No translation of OrgUnit names

2010-03-08 Thread Lars Helge Øverland
This is intentional, will keep it like this until spring3 upgrade.

** Changed in: dhis2
   Status: New => Invalid

-- 
No translation of OrgUnit names
https://bugs.launchpad.net/bugs/519175
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 Software: Invalid

Bug description:
The translation icon and functionality is missing in the edit Orgunit view:
http://dhis.uio.no/demo/dhis-web-maintenance-organisationunit/organisationUnit.action



___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] [Bug 527072] Re: dataelementgroupsetstructure table generation throws an exception

2010-03-08 Thread Lars Helge Øverland
** Changed in: dhis2
 Assignee: (unassigned) => Lars Helge Øverland (larshelge)

** Changed in: dhis2
Milestone: None => 2.0.4

** Changed in: dhis2
   Status: New => Fix Committed

-- 
dataelementgroupsetstructure table generation throws an exception
https://bugs.launchpad.net/bugs/527072
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 Software: Fix Committed

Bug description:
When trying to generate the dataelementgroupsetstructure table the following 
error is thrown. The data element name field is now 230 characters. 

* INFO  15:54:10,601 Create data element group set table SQL: CREATE TABLE 
_dataelementgroupsetstructure ( dataelementid INTEGER NOT NULL, dataelementname 
VARCHAR (160), disease_totals VARCHAR (160), diseases VARCHAR (160), totals 
VARCHAR (160), PRIMARY KEY ( dataelementid ) ) 
(CreateDataElementGroupSetTableStatement.java [http-8080-2])
* ERROR 15:54:10,751 Error while executing action (ExceptionInterceptor.java 
[http-8080-2])
java.lang.RuntimeException: Failed to flush BatchHandler
at 
org.amplecode.quick.batchhandler.AbstractBatchHandler.flush(AbstractBatchHandler.java:290)
at 
org.hisp.dhis.resourcetable.DefaultResourceTableService.generateDataElementGroupSetTable(DefaultResourceTableService.java:311)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at 
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)
at $Proxy20.generateDataElementGroupSetTable(Unknown Source)
at 
org.hisp.dhis.dataadmin.action.resourcetable.GenerateResourceTableAction.execute(GenerateResourceTableAction.java:124)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:440)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:279)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:242)
at 
org.hisp.dhis.webportal.interceptor.WebWorkPortalUserInterceptor.intercept(WebWorkPortalUserInterceptor.java:82)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
at 
org.hisp.dhis.webportal.interceptor.WebWorkPortalModuleInterceptor.intercept(WebWorkPortalModuleInterceptor.java:85)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
at 
org.hisp.dhis.webportal.interceptor.WebWorkPortalMenuInterceptor.intercept(WebWorkPortalMenuInterceptor.java:91)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
at 
org.hisp.dhis.webportal.interceptor.WebWorkPortalParamsInterceptor.intercept(WebWorkPortalParamsInterceptor.java:117)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
at 
org.hisp.dhis.interceptor.StyleInterceptor.intercept(StyleInterceptor.java:89)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
at 
org.hisp.dhis.interceptor.SystemSettingInterceptor.intercept(SystemSettingInterceptor.java:94)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
at 
org.hisp.dhis.interceptor.DataDictionaryModeInterceptor.intercept(DataDictionaryModeInterceptor.java:109)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
at 
org.hisp.dhis.interceptor.DisplayPropertyInterceptor.intercept(DisplayPropertyInterceptor.java:90)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
at 
org.hisp.dhis.interceptor.SortOrderInterceptor.intercept(SortOrderInterceptor.java:124)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
at 
org.hisp.dhis.security.intercept.WebWorkSecurityInterceptor.intercept(WebWorkSecurityInterceptor.java:98)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
at 
org.hisp.dhis.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:14

[Dhis2-devs] [Bug 531321] Re: Indicator group list in orgunit chart not sorted

2010-03-08 Thread Lars Helge Øverland
** Changed in: dhis2
 Assignee: (unassigned) => Lars Helge Øverland (larshelge)

** Changed in: dhis2
   Status: New => Fix Committed

** Changed in: dhis2
Milestone: None => 2.0.4

-- 
Indicator group list in orgunit chart not sorted
https://bugs.launchpad.net/bugs/531321
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 Software: Fix Committed

Bug description:
In the orgunit chart window, the indicator group list for filtering is not 
sorted in any way. It should be alphabetically



___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 1572: Fixed bug #531321

2010-03-08 Thread noreply

revno: 1572
committer: Lars Helge Oeverland 
branch nick: trunk
timestamp: Mon 2010-03-08 09:02:09 +0100
message:
  Fixed bug #531321
modified:
  
dhis-2/dhis-web/dhis-web-reporting/src/main/java/org/hisp/dhis/reporting/chart/action/GetChartOptionsAction.java


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to 
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription.
=== modified file 'dhis-2/dhis-web/dhis-web-reporting/src/main/java/org/hisp/dhis/reporting/chart/action/GetChartOptionsAction.java'
--- dhis-2/dhis-web/dhis-web-reporting/src/main/java/org/hisp/dhis/reporting/chart/action/GetChartOptionsAction.java	2010-02-18 15:41:11 +
+++ dhis-2/dhis-web/dhis-web-reporting/src/main/java/org/hisp/dhis/reporting/chart/action/GetChartOptionsAction.java	2010-03-08 08:02:09 +
@@ -37,10 +37,12 @@
 import org.hisp.dhis.indicator.Indicator;
 import org.hisp.dhis.indicator.IndicatorGroup;
 import org.hisp.dhis.indicator.IndicatorService;
+import org.hisp.dhis.indicator.comparator.IndicatorGroupNameComparator;
 import org.hisp.dhis.options.displayproperty.DisplayPropertyHandler;
 import org.hisp.dhis.organisationunit.OrganisationUnit;
 import org.hisp.dhis.organisationunit.OrganisationUnitLevel;
 import org.hisp.dhis.organisationunit.OrganisationUnitService;
+import org.hisp.dhis.organisationunit.comparator.OrganisationUnitLevelComparator;
 import org.hisp.dhis.period.MonthlyPeriodType;
 import org.hisp.dhis.period.Period;
 import org.hisp.dhis.period.PeriodService;
@@ -224,8 +226,10 @@
 
 availableOrganisationUnits = new ArrayList( organisationUnitService.getAllOrganisationUnits() );
 
+Collections.sort( indicatorGroups, new IndicatorGroupNameComparator() );
 Collections.sort( availableIndicators, indicatorComparator );
 Collections.sort( availablePeriods, new PeriodComparator() );
+Collections.sort( levels, new OrganisationUnitLevelComparator() );
 Collections.sort( availableOrganisationUnits, organisationUnitComparator );   
 
 displayPropertyHandler.handle( availableIndicators );

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 1571: Fixed bug #531314. Removed sort ordering of periods and applied an ascending sort.

2010-03-08 Thread noreply

revno: 1571
committer: Lars Helge Oeverland 
branch nick: trunk
timestamp: Mon 2010-03-08 08:57:10 +0100
message:
  Fixed bug #531314. Removed sort ordering of periods and applied an ascending 
sort.
modified:
  
dhis-2/dhis-web/dhis-web-reporting/src/main/java/org/hisp/dhis/reporting/chart/action/SaveChartAction.java
  
dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/addChartPeriodModeForm.vm


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to 
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription.
=== modified file 'dhis-2/dhis-web/dhis-web-reporting/src/main/java/org/hisp/dhis/reporting/chart/action/SaveChartAction.java'
--- dhis-2/dhis-web/dhis-web-reporting/src/main/java/org/hisp/dhis/reporting/chart/action/SaveChartAction.java	2010-02-18 15:41:11 +
+++ dhis-2/dhis-web/dhis-web-reporting/src/main/java/org/hisp/dhis/reporting/chart/action/SaveChartAction.java	2010-03-08 07:57:10 +
@@ -40,10 +40,13 @@
 import org.hisp.dhis.organisationunit.OrganisationUnitService;
 import org.hisp.dhis.period.Period;
 import org.hisp.dhis.period.PeriodService;
+import org.hisp.dhis.period.comparator.AscendingPeriodComparator;
 import org.hisp.dhis.reporttable.RelativePeriods;
 
 import com.opensymphony.xwork2.Action;
 
+import edu.emory.mathcs.backport.java.util.Collections;
+
 /**
  * @author Lars Helge Overland
  * @version $Id: UploadDesignAction.java 5207 2008-05-22 12:16:36Z larshelg $
@@ -271,24 +274,21 @@
 Chart chart = new Chart();
 
 List indicators = new ArrayList();
-List periods = new ArrayList();
 List organisationUnits = new ArrayList();
+List periods = new ArrayList( periodService.getPeriods( getIntegerCollection( selectedPeriods ) ) );
 
 for ( Integer id : getIntegerCollection( selectedIndicators ) )
 {
 indicators.add( indicatorService.getIndicator( id ) );
 }
 
-for ( Integer id : getIntegerCollection( selectedPeriods ) )
-{
-periods.add( periodService.getPeriod( id ) );
-}
-
 for ( Integer id : getIntegerCollection( selectedOrganisationUnits ) )
 {
 organisationUnits.add( organisationUnitService.getOrganisationUnit( id ) );
 }
 
+Collections.sort( periods, new AscendingPeriodComparator() );
+
 chart.setId( id != null ? id : 0 );
 chart.setTitle( title );
 chart.setType( type );

=== modified file 'dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/addChartPeriodModeForm.vm'
--- dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/addChartPeriodModeForm.vm	2010-02-18 15:41:11 +
+++ dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/addChartPeriodModeForm.vm	2010-03-08 07:57:10 +
@@ -42,10 +42,7 @@
 #end
 
 
-
-
-
-
+
 
 
 

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] [Bug 531314] Re: Reversed Period sort order in charts

2010-03-08 Thread Lars Helge Øverland
** Changed in: dhis2
 Assignee: (unassigned) => Lars Helge Øverland (larshelge)

** Changed in: dhis2
   Status: New => Fix Committed

-- 
Reversed Period sort order in charts
https://bugs.launchpad.net/bugs/531314
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 Software: Fix Committed

Bug description:
When making an indicator chart from the report page, selecting a few months, 
the months I've selected appear in a descending order, with June on top and 
January at the bottom. However, the finished chart lists the periods as June to 
January, left to right. So I would manually have to reverse the order for each 
period chart I make. Can the default interpretation of this be set to "top 
period" is set furthest left in the chart?



___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] [Bug 527066] Re: Data mart exports fail when there are no data elements selected for export

2010-03-08 Thread Lars Helge Øverland
Cannot reproduce this. Might be related to invalid indicator formula
expressions, as data elements used in export is derived from those.

** Changed in: dhis2
   Status: New => Invalid

-- 
Data mart exports fail when there are no data elements selected for export
https://bugs.launchpad.net/bugs/527066
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 Software: Invalid

Bug description:
* INFO  15:41:06,526 Export process started (DefaultDataMartEngine.java 
[Thread-20])
* INFO  15:41:06,536 Deleted existing aggregated data: 0:00:00.003 
(DefaultDataMartEngine.java [Thread-20])
* INFO  15:41:07,027 Filtered data elements (DefaultDataMartEngine.java 
[Thread-20])
* INFO  15:41:07,027 Validated crosstab table: 0:00:00.496 
(DefaultDataMartEngine.java [Thread-20])
* WARN  15:41:08,660 No operands selected for crosstab table 
(DefaultCrossTabService.java [Thread-20])
* INFO  15:41:08,661 Populated crosstab table: 0:00:02.130 
(DefaultDataMartEngine.java [Thread-20])
* ERROR 15:41:08,664 The process threw exception (ProcessExecutor.java 
[Thread-20])
java.lang.RuntimeException: Failed to get crosstab table columns
at 
org.hisp.dhis.datamart.crosstab.jdbc.JDBCCrossTabStore.createTrimmedCrossTabTable(JDBCCrossTabStore.java:220)
at 
org.hisp.dhis.datamart.crosstab.DefaultCrossTabService.trimCrossTabTable(DefaultCrossTabService.java:180)
at 
org.hisp.dhis.datamart.engine.DefaultDataMartEngine.export(DefaultDataMartEngine.java:250)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at 
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at 
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy33.export(Unknown Source)
at 
org.hisp.dhis.datamart.DataMartInternalProcess.executeStatements(DataMartInternalProcess.java:125)
at 
org.hisp.dhis.system.process.AbstractStatementInternalProcess.execute(AbstractStatementInternalProcess.java:79)
at 
org.hisp.dhis.system.process.AbstractStatementInternalProcess.execute(AbstractStatementInternalProcess.java:37)
at 
org.amplecode.cave.process.ProcessExecutor.run(ProcessExecutor.java:125)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.postgresql.util.PSQLException: ERROR: relation 
"datavaluecrosstab" does not exist
at 
org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2062)
at 
org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1795)
at 
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257)
at 
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:479)
at 
org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:353)
at 
org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:299)
at 
org.hisp.dhis.datamart.crosstab.jdbc.JDBCCrossTabStore.createTrimmedCrossTabTable(JDBCCrossTabStore.java:216)
... 18 more



___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp