dhis-mobile-devs team mailing list archive
-
dhis-mobile-devs team
-
Mailing list archive
-
Message #00306
[Branch ~dhis-mobile-devs/dhis-mobile/lwuit-tracking] Rev 167: support add person without program
------------------------------------------------------------
revno: 167
committer: Hong Em <em.hispvietnam@xxxxxxxxx>
branch nick: lwuit-tracking
timestamp: Thu 2013-10-10 13:13:16 +0700
message:
support add person without program
modified:
src/org/hisp/dhis/mobile/connection/task/GetAllAnonymousProgramTask.java
--
lp:~dhis-mobile-devs/dhis-mobile/lwuit-tracking
https://code.launchpad.net/~dhis-mobile-devs/dhis-mobile/lwuit-tracking
Your team DHIS mobile developers is subscribed to branch lp:~dhis-mobile-devs/dhis-mobile/lwuit-tracking.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis-mobile-devs/dhis-mobile/lwuit-tracking/+edit-subscription
=== modified file 'src/org/hisp/dhis/mobile/connection/task/GetAllAnonymousProgramTask.java'
--- src/org/hisp/dhis/mobile/connection/task/GetAllAnonymousProgramTask.java 2013-10-09 08:56:22 +0000
+++ src/org/hisp/dhis/mobile/connection/task/GetAllAnonymousProgramTask.java 2013-10-10 06:13:16 +0000
@@ -113,7 +113,10 @@
nameBasedMIDlet.getAlertBoxView(
"No program found for " + nameBasedMIDlet.getCurrentOrgUnit().getName(), "Opps" ).showView();
nameBasedMIDlet.getOrgUnitSelectView().setProgramType( programType );
- nameBasedMIDlet.getOrgUnitSelectView().showView();
+ //nameBasedMIDlet.getOrgUnitSelectView().showView();
+ ConnectionManager.setUrl( nameBasedMIDlet.getCurrentOrgUnit().getGetVariesInfoUrl() );
+ nameBasedMIDlet.getPersonRegistrationView().prepareView();
+ nameBasedMIDlet.getPersonRegistrationView().showView();
}
else
{