dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #19415
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 8455: Updated validation for negative value on TextFields
------------------------------------------------------------
revno: 8455
committer: thaichuong159 <thaichuong159@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2012-10-10 12:47:43 +0700
message:
Updated validation for negative value on TextFields
modified:
local/in/dhis-mobile/J2ME/HP/CHC/CHCForm1/nbproject/private/private.properties
local/in/dhis-mobile/J2ME/HP/CHC/CHCForm1/src/org/hispindia/mobile/SCForm1.java
local/in/dhis-mobile/J2ME/HP/CHC/CHCForm1/src/org/hispindia/mobile/SCForm1.vmd
local/in/dhis-mobile/J2ME/HP/HMIS-CHC/SCForm1/nbproject/private/private.properties
local/in/dhis-mobile/J2ME/HP/HMIS-CHC/SCForm1/nbproject/private/private.xml
local/in/dhis-mobile/J2ME/HP/HMIS-CHC/SCForm1/src/org/hispindia/mobile/SCForm1.java
local/in/dhis-mobile/J2ME/HP/HMIS-CHC/SCForm1/src/org/hispindia/mobile/SCForm1.vmd
local/in/dhis-mobile/J2ME/HP/HMIS-PHC/SCForm1/nbproject/private/private.properties
local/in/dhis-mobile/J2ME/HP/HMIS-PHC/SCForm1/src/org/hispindia/mobile/SCForm1.java
local/in/dhis-mobile/J2ME/HP/HMIS-PHC/SCForm1/src/org/hispindia/mobile/SCForm1.vmd
local/in/dhis-mobile/J2ME/HP/HMIS-SUBCENTER/SCForm1/nbproject/private/private.properties
local/in/dhis-mobile/J2ME/HP/HMIS-SUBCENTER/SCForm1/nbproject/private/private.xml
local/in/dhis-mobile/J2ME/HP/HMIS-SUBCENTER/SCForm1/src/org/hispindia/mobile/SCForm1.java
local/in/dhis-mobile/J2ME/HP/HMIS-SUBCENTER/SCForm1/src/org/hispindia/mobile/SCForm1.vmd
local/in/dhis-mobile/J2ME/HP/IDSP jar S_1/SCForm1/nbproject/private/private.properties
local/in/dhis-mobile/J2ME/HP/IDSP jar S_1/SCForm1/src/org/hispindia/mobile/SCForm1.java
local/in/dhis-mobile/J2ME/HP/IDSP jar S_1/SCForm1/src/org/hispindia/mobile/SCForm1.vmd
local/in/dhis-mobile/J2ME/HP/MORTALITY/SCForm1/nbproject/private/private.properties
local/in/dhis-mobile/J2ME/HP/MORTALITY/SCForm1/src/org/hispindia/mobile/SCForm1.java
local/in/dhis-mobile/J2ME/HP/MORTALITY/SCForm1/src/org/hispindia/mobile/SCForm1.vmd
local/in/dhis-mobile/J2ME/HP/PHC/SCForm1/nbproject/private/private.properties
local/in/dhis-mobile/J2ME/HP/PHC/SCForm1/nbproject/private/private.xml
local/in/dhis-mobile/J2ME/HP/PHC/SCForm1/src/org/hispindia/mobile/SCForm1.java
local/in/dhis-mobile/J2ME/HP/PHC/SCForm1/src/org/hispindia/mobile/SCForm1.vmd
--
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 'local/in/dhis-mobile/J2ME/HP/CHC/CHCForm1/nbproject/private/private.properties'
--- local/in/dhis-mobile/J2ME/HP/CHC/CHCForm1/nbproject/private/private.properties 2012-10-06 11:36:56 +0000
+++ local/in/dhis-mobile/J2ME/HP/CHC/CHCForm1/nbproject/private/private.properties 2012-10-10 05:47:43 +0000
@@ -1,8 +1,8 @@
-#Sat, 06 Oct 2012 18:03:39 +0700
+#Mon, 08 Oct 2012 01:01:11 +0700
#Sat Jun 26 20:02:35 IST 2010
netbeans.user=C\:\\Users\\Thai Chuong\\.netbeans\\7.1
javadoc.preview=true
config.active=
-deployment.counter=351
+deployment.counter=353
app-version.autoincrement=true
-deployment.number=0.3.50
+deployment.number=0.3.52
=== modified file 'local/in/dhis-mobile/J2ME/HP/CHC/CHCForm1/src/org/hispindia/mobile/SCForm1.java'
--- local/in/dhis-mobile/J2ME/HP/CHC/CHCForm1/src/org/hispindia/mobile/SCForm1.java 2012-10-06 11:36:56 +0000
+++ local/in/dhis-mobile/J2ME/HP/CHC/CHCForm1/src/org/hispindia/mobile/SCForm1.java 2012-10-10 05:47:43 +0000
@@ -4846,7 +4846,7 @@
if (item == myTextField)
{
String[] list = {"00"};
- if(!valueValidation(myTextField, list) || (myTextField.getString().length() > 1 && Integer.parseInt(myTextField.getString()) == 0))
+ if(!valueValidation(myTextField, list) || (myTextField.getString().length() > 0 && !isIntNumber(myTextField.getString())))
{
myTextField.setString( "" );
Alert myAlert = new Alert("Wrong data","not allow!",null,AlertType.INFO);
=== modified file 'local/in/dhis-mobile/J2ME/HP/CHC/CHCForm1/src/org/hispindia/mobile/SCForm1.vmd'
--- local/in/dhis-mobile/J2ME/HP/CHC/CHCForm1/src/org/hispindia/mobile/SCForm1.vmd 2012-10-06 11:36:56 +0000
+++ local/in/dhis-mobile/J2ME/HP/CHC/CHCForm1/src/org/hispindia/mobile/SCForm1.vmd 2012-10-10 05:47:43 +0000
@@ -1356,18 +1356,18 @@
<Property name="label" typeID="Pjava.lang.String" value="VOk"/>
<Property name="type" typeID="Pint" value="V4"/>
</Component>
+ <Component componentID="176" typeID="C#SplashScreenDismissCommand">
+ <Property name="label" typeID="Pjava.lang.String" value="VDismiss"/>
+ <Property name="type" typeID="Pint" value="V4"/>
+ <Property name="priority" typeID="Pint" value="V0"/>
+ <Property name="ordinary" typeID="Pboolean" value="Vfalse"/>
+ </Component>
<Component componentID="662" typeID="Cjavax.microedition.lcdui.Command">
<Property name="instanceName" typeID="Pjava.lang.String" value="VvitaminadoseBackCmd"/>
<Property name="codeGenerated" typeID="Pboolean" value="Vtrue"/>
<Property name="label" typeID="Pjava.lang.String" value="VBack"/>
<Property name="type" typeID="Pint" value="V2"/>
</Component>
- <Component componentID="176" typeID="C#SplashScreenDismissCommand">
- <Property name="label" typeID="Pjava.lang.String" value="VDismiss"/>
- <Property name="type" typeID="Pint" value="V4"/>
- <Property name="priority" typeID="Pint" value="V0"/>
- <Property name="ordinary" typeID="Pboolean" value="Vfalse"/>
- </Component>
<Component componentID="745" typeID="Cjavax.microedition.lcdui.Command">
<Property name="instanceName" typeID="Pjava.lang.String" value="VCsectiondeliveriesokcmd"/>
<Property name="codeGenerated" typeID="Pboolean" value="Vtrue"/>
@@ -1464,18 +1464,18 @@
<Property name="label" typeID="Pjava.lang.String" value="VBack"/>
<Property name="type" typeID="Pint" value="V2"/>
</Component>
+ <Component componentID="227" typeID="Cjavax.microedition.lcdui.Command">
+ <Property name="instanceName" typeID="Pjava.lang.String" value="VloadExitCmd"/>
+ <Property name="codeGenerated" typeID="Pboolean" value="Vtrue"/>
+ <Property name="label" typeID="Pjava.lang.String" value="VExit"/>
+ <Property name="type" typeID="Pint" value="V7"/>
+ </Component>
<Component componentID="709" typeID="Cjavax.microedition.lcdui.Command">
<Property name="instanceName" typeID="Pjava.lang.String" value="VmenstrualhygieneprogrammeCmd"/>
<Property name="codeGenerated" typeID="Pboolean" value="Vtrue"/>
<Property name="label" typeID="Pjava.lang.String" value="VNext"/>
<Property name="type" typeID="Pint" value="V4"/>
</Component>
- <Component componentID="227" typeID="Cjavax.microedition.lcdui.Command">
- <Property name="instanceName" typeID="Pjava.lang.String" value="VloadExitCmd"/>
- <Property name="codeGenerated" typeID="Pboolean" value="Vtrue"/>
- <Property name="label" typeID="Pjava.lang.String" value="VExit"/>
- <Property name="type" typeID="Pint" value="V7"/>
- </Component>
<Component componentID="225" typeID="Cjavax.microedition.lcdui.Command">
<Property name="instanceName" typeID="Pjava.lang.String" value="VloadCmd"/>
<Property name="codeGenerated" typeID="Pboolean" value="Vtrue"/>
@@ -1734,18 +1734,18 @@
<Property name="label" typeID="Pjava.lang.String" value="VBack"/>
<Property name="type" typeID="Pint" value="V2"/>
</Component>
+ <Component componentID="458" typeID="Cjavax.microedition.lcdui.Command">
+ <Property name="instanceName" typeID="Pjava.lang.String" value="VmonthExitCmd"/>
+ <Property name="codeGenerated" typeID="Pboolean" value="Vtrue"/>
+ <Property name="label" typeID="Pjava.lang.String" value="VExit"/>
+ <Property name="type" typeID="Pint" value="V7"/>
+ </Component>
<Component componentID="1004" typeID="Cjavax.microedition.lcdui.Command">
<Property name="instanceName" typeID="Pjava.lang.String" value="VHIVtestsconductedCmd"/>
<Property name="codeGenerated" typeID="Pboolean" value="Vtrue"/>
<Property name="label" typeID="Pjava.lang.String" value="VOk"/>
<Property name="type" typeID="Pint" value="V4"/>
</Component>
- <Component componentID="458" typeID="Cjavax.microedition.lcdui.Command">
- <Property name="instanceName" typeID="Pjava.lang.String" value="VmonthExitCmd"/>
- <Property name="codeGenerated" typeID="Pboolean" value="Vtrue"/>
- <Property name="label" typeID="Pjava.lang.String" value="VExit"/>
- <Property name="type" typeID="Pint" value="V7"/>
- </Component>
<Component componentID="993" typeID="Cjavax.microedition.lcdui.Command">
<Property name="instanceName" typeID="Pjava.lang.String" value="VOutPatientbackCmd"/>
<Property name="codeGenerated" typeID="Pboolean" value="Vtrue"/>
@@ -1795,26 +1795,26 @@
</Component>
</Document>
<FlowScene version="1">
+ <Node componentID="167" descriptorID="componentNode167" x="93" y="337"/>
+ <Node componentID="784" descriptorID="componentNode784" x="919" y="1553"/>
+ <Node componentID="789" descriptorID="componentNode789" x="694" y="1659"/>
<Node componentID="794" descriptorID="componentNode794" x="583" y="2536"/>
- <Node componentID="784" descriptorID="componentNode784" x="919" y="1553"/>
+ <Node componentID="826" descriptorID="componentNode826" x="877" y="2786"/>
+ <Node componentID="825" descriptorID="componentNode825" x="867" y="2401"/>
<Node componentID="992" descriptorID="componentNode992" x="663" y="2084"/>
+ <Node componentID="822" descriptorID="componentNode822" x="561" y="1765"/>
+ <Node componentID="848" descriptorID="componentNode848" x="268" y="3015"/>
+ <Node componentID="202" descriptorID="componentNode202" x="488" y="135"/>
<Node componentID="1001" descriptorID="componentNode1001" x="452" y="2683"/>
- <Node componentID="167" descriptorID="componentNode167" x="93" y="337"/>
+ <Node componentID="823" descriptorID="componentNode823" x="765" y="1855"/>
+ <Node componentID="775" descriptorID="componentNode775" x="567" y="1441"/>
+ <Node componentID="724" descriptorID="componentNode724" x="644" y="41"/>
<Node componentID="2" descriptorID="componentNode2" x="97" y="10"/>
- <Node componentID="775" descriptorID="componentNode775" x="567" y="1441"/>
- <Node componentID="825" descriptorID="componentNode825" x="867" y="2401"/>
+ <Node componentID="233" descriptorID="componentNode233" x="313" y="227"/>
+ <Node componentID="219" descriptorID="componentNode219" x="377" y="-103"/>
+ <Node componentID="178" descriptorID="componentNode178" x="865" y="177"/>
<Node componentID="774" descriptorID="componentNode774" x="1091" y="1337"/>
- <Node componentID="823" descriptorID="componentNode823" x="765" y="1855"/>
- <Node componentID="826" descriptorID="componentNode826" x="877" y="2786"/>
- <Node componentID="848" descriptorID="componentNode848" x="268" y="3015"/>
<Node componentID="824" descriptorID="componentNode824" x="505" y="2309"/>
<Node componentID="847" descriptorID="componentNode847" x="560" y="2875"/>
- <Node componentID="789" descriptorID="componentNode789" x="694" y="1659"/>
- <Node componentID="178" descriptorID="componentNode178" x="865" y="177"/>
- <Node componentID="233" descriptorID="componentNode233" x="313" y="227"/>
- <Node componentID="202" descriptorID="componentNode202" x="488" y="135"/>
- <Node componentID="724" descriptorID="componentNode724" x="644" y="41"/>
- <Node componentID="822" descriptorID="componentNode822" x="561" y="1765"/>
- <Node componentID="219" descriptorID="componentNode219" x="377" y="-103"/>
</FlowScene>
</VisualDesign>
=== modified file 'local/in/dhis-mobile/J2ME/HP/HMIS-CHC/SCForm1/nbproject/private/private.properties'
--- local/in/dhis-mobile/J2ME/HP/HMIS-CHC/SCForm1/nbproject/private/private.properties 2012-10-06 11:36:56 +0000
+++ local/in/dhis-mobile/J2ME/HP/HMIS-CHC/SCForm1/nbproject/private/private.properties 2012-10-10 05:47:43 +0000
@@ -1,8 +1,8 @@
-#Sat, 06 Oct 2012 17:48:04 +0700
+#Mon, 08 Oct 2012 01:01:14 +0700
#Sat Jun 26 20:02:35 IST 2010
netbeans.user=C\:\\Users\\Thai Chuong\\.netbeans\\7.1
javadoc.preview=true
config.active=
-deployment.counter=339
+deployment.counter=340
app-version.autoincrement=true
-deployment.number=0.3.38
+deployment.number=0.3.39
=== modified file 'local/in/dhis-mobile/J2ME/HP/HMIS-CHC/SCForm1/nbproject/private/private.xml'
--- local/in/dhis-mobile/J2ME/HP/HMIS-CHC/SCForm1/nbproject/private/private.xml 2012-05-23 06:15:36 +0000
+++ local/in/dhis-mobile/J2ME/HP/HMIS-CHC/SCForm1/nbproject/private/private.xml 2012-10-10 05:47:43 +0000
@@ -6,4 +6,7 @@
<line>380</line>
</file>
</editor-bookmarks>
+ <open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/1">
+ <file>file:/D:/DHIS%20trunk/local/in/dhis-mobile/J2ME/HP/HMIS-CHC/SCForm1/src/org/hispindia/mobile/SCForm1.java</file>
+ </open-files>
</project-private>
=== modified file 'local/in/dhis-mobile/J2ME/HP/HMIS-CHC/SCForm1/src/org/hispindia/mobile/SCForm1.java'
--- local/in/dhis-mobile/J2ME/HP/HMIS-CHC/SCForm1/src/org/hispindia/mobile/SCForm1.java 2012-10-06 11:36:56 +0000
+++ local/in/dhis-mobile/J2ME/HP/HMIS-CHC/SCForm1/src/org/hispindia/mobile/SCForm1.java 2012-10-10 05:47:43 +0000
@@ -4655,7 +4655,7 @@
if (item == myTextField)
{
String[] list = {"00"};
- if(!valueValidation(myTextField, list) || (myTextField.getString().length() > 1 && Integer.parseInt(myTextField.getString()) == 0))
+ if(!valueValidation(myTextField, list) || (myTextField.getString().length() > 0 && !isIntNumber(myTextField.getString())))
{
myTextField.setString( "" );
Alert myAlert = new Alert("Wrong data","not allow!",null,AlertType.INFO);
=== modified file 'local/in/dhis-mobile/J2ME/HP/HMIS-CHC/SCForm1/src/org/hispindia/mobile/SCForm1.vmd'
--- local/in/dhis-mobile/J2ME/HP/HMIS-CHC/SCForm1/src/org/hispindia/mobile/SCForm1.vmd 2012-10-06 11:36:56 +0000
+++ local/in/dhis-mobile/J2ME/HP/HMIS-CHC/SCForm1/src/org/hispindia/mobile/SCForm1.vmd 2012-10-10 05:47:43 +0000
@@ -1740,18 +1740,18 @@
<Property name="label" typeID="Pjava.lang.String" value="VOk"/>
<Property name="type" typeID="Pint" value="V4"/>
</Component>
+ <Component componentID="176" typeID="C#SplashScreenDismissCommand">
+ <Property name="label" typeID="Pjava.lang.String" value="VDismiss"/>
+ <Property name="type" typeID="Pint" value="V4"/>
+ <Property name="priority" typeID="Pint" value="V0"/>
+ <Property name="ordinary" typeID="Pboolean" value="Vfalse"/>
+ </Component>
<Component componentID="662" typeID="Cjavax.microedition.lcdui.Command">
<Property name="instanceName" typeID="Pjava.lang.String" value="VvitaminadoseBackCmd"/>
<Property name="codeGenerated" typeID="Pboolean" value="Vtrue"/>
<Property name="label" typeID="Pjava.lang.String" value="VBack"/>
<Property name="type" typeID="Pint" value="V2"/>
</Component>
- <Component componentID="176" typeID="C#SplashScreenDismissCommand">
- <Property name="label" typeID="Pjava.lang.String" value="VDismiss"/>
- <Property name="type" typeID="Pint" value="V4"/>
- <Property name="priority" typeID="Pint" value="V0"/>
- <Property name="ordinary" typeID="Pboolean" value="Vfalse"/>
- </Component>
<Component componentID="206" typeID="Cjavax.microedition.lcdui.Command">
<Property name="instanceName" typeID="Pjava.lang.String" value="VsendExitCmd"/>
<Property name="codeGenerated" typeID="Pboolean" value="Vtrue"/>
@@ -1770,18 +1770,18 @@
<Property name="label" typeID="Pjava.lang.String" value="VBack"/>
<Property name="type" typeID="Pint" value="V2"/>
</Component>
+ <Component componentID="227" typeID="Cjavax.microedition.lcdui.Command">
+ <Property name="instanceName" typeID="Pjava.lang.String" value="VloadExitCmd"/>
+ <Property name="codeGenerated" typeID="Pboolean" value="Vtrue"/>
+ <Property name="label" typeID="Pjava.lang.String" value="VExit"/>
+ <Property name="type" typeID="Pint" value="V7"/>
+ </Component>
<Component componentID="709" typeID="Cjavax.microedition.lcdui.Command">
<Property name="instanceName" typeID="Pjava.lang.String" value="VmenstrualhygieneprogrammeCmd"/>
<Property name="codeGenerated" typeID="Pboolean" value="Vtrue"/>
<Property name="label" typeID="Pjava.lang.String" value="VNext"/>
<Property name="type" typeID="Pint" value="V4"/>
</Component>
- <Component componentID="227" typeID="Cjavax.microedition.lcdui.Command">
- <Property name="instanceName" typeID="Pjava.lang.String" value="VloadExitCmd"/>
- <Property name="codeGenerated" typeID="Pboolean" value="Vtrue"/>
- <Property name="label" typeID="Pjava.lang.String" value="VExit"/>
- <Property name="type" typeID="Pint" value="V7"/>
- </Component>
<Component componentID="225" typeID="Cjavax.microedition.lcdui.Command">
<Property name="instanceName" typeID="Pjava.lang.String" value="VloadCmd"/>
<Property name="codeGenerated" typeID="Pboolean" value="Vtrue"/>
@@ -1885,27 +1885,27 @@
</Component>
</Document>
<FlowScene version="1">
- <Node componentID="681" descriptorID="componentNode681" x="41" y="1630"/>
- <Node componentID="606" descriptorID="componentNode606" x="45" y="869"/>
<Node componentID="578" descriptorID="componentNode578" x="7" y="619"/>
+ <Node componentID="661" descriptorID="componentNode661" x="40" y="1344"/>
+ <Node componentID="178" descriptorID="componentNode178" x="1188" y="181"/>
+ <Node componentID="587" descriptorID="componentNode587" x="193" y="757"/>
+ <Node componentID="2" descriptorID="componentNode2" x="954" y="375"/>
<Node componentID="568" descriptorID="componentNode568" x="165" y="513"/>
- <Node componentID="178" descriptorID="componentNode178" x="1188" y="181"/>
- <Node componentID="557" descriptorID="componentNode557" x="30" y="372"/>
+ <Node componentID="533" descriptorID="componentNode533" x="-66" y="219"/>
+ <Node componentID="233" descriptorID="componentNode233" x="497" y="373"/>
+ <Node componentID="167" descriptorID="componentNode167" x="766" y="181"/>
+ <Node componentID="681" descriptorID="componentNode681" x="41" y="1630"/>
+ <Node componentID="671" descriptorID="componentNode671" x="245" y="1482"/>
<Node componentID="627" descriptorID="componentNode627" x="215" y="999"/>
+ <Node componentID="606" descriptorID="componentNode606" x="45" y="869"/>
+ <Node componentID="473" descriptorID="componentNode473" x="504" y="508"/>
+ <Node componentID="518" descriptorID="componentNode518" x="80" y="94"/>
+ <Node componentID="202" descriptorID="componentNode202" x="1188" y="521"/>
+ <Node componentID="724" descriptorID="componentNode724" x="1190" y="650"/>
+ <Node componentID="652" descriptorID="componentNode652" x="206" y="1240"/>
<Node componentID="688" descriptorID="componentNode688" x="288" y="1735"/>
- <Node componentID="233" descriptorID="componentNode233" x="497" y="373"/>
- <Node componentID="671" descriptorID="componentNode671" x="245" y="1482"/>
+ <Node componentID="557" descriptorID="componentNode557" x="30" y="372"/>
<Node componentID="642" descriptorID="componentNode642" x="40" y="1121"/>
- <Node componentID="202" descriptorID="componentNode202" x="1188" y="521"/>
- <Node componentID="661" descriptorID="componentNode661" x="40" y="1344"/>
- <Node componentID="473" descriptorID="componentNode473" x="504" y="508"/>
<Node componentID="219" descriptorID="componentNode219" x="710" y="546"/>
- <Node componentID="2" descriptorID="componentNode2" x="954" y="375"/>
- <Node componentID="587" descriptorID="componentNode587" x="193" y="757"/>
- <Node componentID="652" descriptorID="componentNode652" x="206" y="1240"/>
- <Node componentID="167" descriptorID="componentNode167" x="766" y="181"/>
- <Node componentID="533" descriptorID="componentNode533" x="-66" y="219"/>
- <Node componentID="724" descriptorID="componentNode724" x="1190" y="650"/>
- <Node componentID="518" descriptorID="componentNode518" x="80" y="94"/>
</FlowScene>
</VisualDesign>
=== modified file 'local/in/dhis-mobile/J2ME/HP/HMIS-PHC/SCForm1/nbproject/private/private.properties'
--- local/in/dhis-mobile/J2ME/HP/HMIS-PHC/SCForm1/nbproject/private/private.properties 2012-10-06 11:36:56 +0000
+++ local/in/dhis-mobile/J2ME/HP/HMIS-PHC/SCForm1/nbproject/private/private.properties 2012-10-10 05:47:43 +0000
@@ -1,8 +1,8 @@
-#Sat, 06 Oct 2012 18:12:52 +0700
+#Mon, 08 Oct 2012 01:01:30 +0700
#Sat Jun 26 20:02:35 IST 2010
netbeans.user=C\:\\Users\\Thai Chuong\\.netbeans\\7.1
javadoc.preview=true
config.active=
-deployment.counter=339
+deployment.counter=340
app-version.autoincrement=true
-deployment.number=0.3.38
+deployment.number=0.3.39
=== modified file 'local/in/dhis-mobile/J2ME/HP/HMIS-PHC/SCForm1/src/org/hispindia/mobile/SCForm1.java'
--- local/in/dhis-mobile/J2ME/HP/HMIS-PHC/SCForm1/src/org/hispindia/mobile/SCForm1.java 2012-10-06 11:36:56 +0000
+++ local/in/dhis-mobile/J2ME/HP/HMIS-PHC/SCForm1/src/org/hispindia/mobile/SCForm1.java 2012-10-10 05:47:43 +0000
@@ -4615,7 +4615,7 @@
if (item == myTextField)
{
String[] list = {"00"};
- if(!valueValidation(myTextField, list) || (myTextField.getString().length() > 1 && Integer.parseInt(myTextField.getString()) == 0))
+ if(!valueValidation(myTextField, list) || (myTextField.getString().length() > 0 && !isIntNumber(myTextField.getString())))
{
myTextField.setString( "" );
Alert myAlert = new Alert("Wrong data","not allow!",null,AlertType.INFO);
=== modified file 'local/in/dhis-mobile/J2ME/HP/HMIS-PHC/SCForm1/src/org/hispindia/mobile/SCForm1.vmd'
--- local/in/dhis-mobile/J2ME/HP/HMIS-PHC/SCForm1/src/org/hispindia/mobile/SCForm1.vmd 2012-10-06 11:36:56 +0000
+++ local/in/dhis-mobile/J2ME/HP/HMIS-PHC/SCForm1/src/org/hispindia/mobile/SCForm1.vmd 2012-10-10 05:47:43 +0000
@@ -1722,18 +1722,18 @@
<Property name="label" typeID="Pjava.lang.String" value="VOk"/>
<Property name="type" typeID="Pint" value="V4"/>
</Component>
+ <Component componentID="176" typeID="C#SplashScreenDismissCommand">
+ <Property name="label" typeID="Pjava.lang.String" value="VDismiss"/>
+ <Property name="type" typeID="Pint" value="V4"/>
+ <Property name="priority" typeID="Pint" value="V0"/>
+ <Property name="ordinary" typeID="Pboolean" value="Vfalse"/>
+ </Component>
<Component componentID="662" typeID="Cjavax.microedition.lcdui.Command">
<Property name="instanceName" typeID="Pjava.lang.String" value="VvitaminadoseBackCmd"/>
<Property name="codeGenerated" typeID="Pboolean" value="Vtrue"/>
<Property name="label" typeID="Pjava.lang.String" value="VBack"/>
<Property name="type" typeID="Pint" value="V2"/>
</Component>
- <Component componentID="176" typeID="C#SplashScreenDismissCommand">
- <Property name="label" typeID="Pjava.lang.String" value="VDismiss"/>
- <Property name="type" typeID="Pint" value="V4"/>
- <Property name="priority" typeID="Pint" value="V0"/>
- <Property name="ordinary" typeID="Pboolean" value="Vfalse"/>
- </Component>
<Component componentID="206" typeID="Cjavax.microedition.lcdui.Command">
<Property name="instanceName" typeID="Pjava.lang.String" value="VsendExitCmd"/>
<Property name="codeGenerated" typeID="Pboolean" value="Vtrue"/>
@@ -1752,18 +1752,18 @@
<Property name="label" typeID="Pjava.lang.String" value="VBack"/>
<Property name="type" typeID="Pint" value="V2"/>
</Component>
+ <Component componentID="227" typeID="Cjavax.microedition.lcdui.Command">
+ <Property name="instanceName" typeID="Pjava.lang.String" value="VloadExitCmd"/>
+ <Property name="codeGenerated" typeID="Pboolean" value="Vtrue"/>
+ <Property name="label" typeID="Pjava.lang.String" value="VExit"/>
+ <Property name="type" typeID="Pint" value="V7"/>
+ </Component>
<Component componentID="709" typeID="Cjavax.microedition.lcdui.Command">
<Property name="instanceName" typeID="Pjava.lang.String" value="VmenstrualhygieneprogrammeCmd"/>
<Property name="codeGenerated" typeID="Pboolean" value="Vtrue"/>
<Property name="label" typeID="Pjava.lang.String" value="VNext"/>
<Property name="type" typeID="Pint" value="V4"/>
</Component>
- <Component componentID="227" typeID="Cjavax.microedition.lcdui.Command">
- <Property name="instanceName" typeID="Pjava.lang.String" value="VloadExitCmd"/>
- <Property name="codeGenerated" typeID="Pboolean" value="Vtrue"/>
- <Property name="label" typeID="Pjava.lang.String" value="VExit"/>
- <Property name="type" typeID="Pint" value="V7"/>
- </Component>
<Component componentID="225" typeID="Cjavax.microedition.lcdui.Command">
<Property name="instanceName" typeID="Pjava.lang.String" value="VloadCmd"/>
<Property name="codeGenerated" typeID="Pboolean" value="Vtrue"/>
@@ -1867,27 +1867,27 @@
</Component>
</Document>
<FlowScene version="1">
- <Node componentID="681" descriptorID="componentNode681" x="41" y="1630"/>
+ <Node componentID="178" descriptorID="componentNode178" x="1188" y="181"/>
+ <Node componentID="578" descriptorID="componentNode578" x="7" y="619"/>
<Node componentID="219" descriptorID="componentNode219" x="710" y="546"/>
+ <Node componentID="627" descriptorID="componentNode627" x="215" y="999"/>
<Node componentID="652" descriptorID="componentNode652" x="206" y="1240"/>
- <Node componentID="642" descriptorID="componentNode642" x="40" y="1121"/>
- <Node componentID="202" descriptorID="componentNode202" x="1188" y="521"/>
- <Node componentID="533" descriptorID="componentNode533" x="-66" y="219"/>
- <Node componentID="671" descriptorID="componentNode671" x="245" y="1482"/>
+ <Node componentID="724" descriptorID="componentNode724" x="1190" y="650"/>
+ <Node componentID="557" descriptorID="componentNode557" x="30" y="372"/>
+ <Node componentID="661" descriptorID="componentNode661" x="40" y="1344"/>
<Node componentID="167" descriptorID="componentNode167" x="766" y="181"/>
- <Node componentID="557" descriptorID="componentNode557" x="30" y="372"/>
<Node componentID="587" descriptorID="componentNode587" x="193" y="757"/>
+ <Node componentID="568" descriptorID="componentNode568" x="165" y="513"/>
<Node componentID="233" descriptorID="componentNode233" x="497" y="373"/>
- <Node componentID="661" descriptorID="componentNode661" x="40" y="1344"/>
+ <Node componentID="2" descriptorID="componentNode2" x="954" y="375"/>
+ <Node componentID="671" descriptorID="componentNode671" x="245" y="1482"/>
+ <Node componentID="642" descriptorID="componentNode642" x="40" y="1121"/>
+ <Node componentID="688" descriptorID="componentNode688" x="288" y="1735"/>
+ <Node componentID="681" descriptorID="componentNode681" x="41" y="1630"/>
+ <Node componentID="202" descriptorID="componentNode202" x="1188" y="521"/>
<Node componentID="518" descriptorID="componentNode518" x="80" y="94"/>
- <Node componentID="568" descriptorID="componentNode568" x="165" y="513"/>
+ <Node componentID="533" descriptorID="componentNode533" x="-66" y="219"/>
<Node componentID="606" descriptorID="componentNode606" x="45" y="869"/>
- <Node componentID="578" descriptorID="componentNode578" x="7" y="619"/>
- <Node componentID="724" descriptorID="componentNode724" x="1190" y="650"/>
- <Node componentID="688" descriptorID="componentNode688" x="288" y="1735"/>
<Node componentID="473" descriptorID="componentNode473" x="504" y="508"/>
- <Node componentID="178" descriptorID="componentNode178" x="1188" y="181"/>
- <Node componentID="627" descriptorID="componentNode627" x="215" y="999"/>
- <Node componentID="2" descriptorID="componentNode2" x="954" y="375"/>
</FlowScene>
</VisualDesign>
=== modified file 'local/in/dhis-mobile/J2ME/HP/HMIS-SUBCENTER/SCForm1/nbproject/private/private.properties'
--- local/in/dhis-mobile/J2ME/HP/HMIS-SUBCENTER/SCForm1/nbproject/private/private.properties 2012-10-06 11:36:56 +0000
+++ local/in/dhis-mobile/J2ME/HP/HMIS-SUBCENTER/SCForm1/nbproject/private/private.properties 2012-10-10 05:47:43 +0000
@@ -1,8 +1,8 @@
-#Sat, 06 Oct 2012 17:22:19 +0700
+#Mon, 08 Oct 2012 01:01:19 +0700
#Sat Jun 26 20:02:35 IST 2010
netbeans.user=C\:\\Users\\Thai Chuong\\.netbeans\\7.1
javadoc.preview=true
config.active=
-deployment.counter=332
+deployment.counter=342
app-version.autoincrement=true
-deployment.number=0.3.31
+deployment.number=0.3.41
=== modified file 'local/in/dhis-mobile/J2ME/HP/HMIS-SUBCENTER/SCForm1/nbproject/private/private.xml'
--- local/in/dhis-mobile/J2ME/HP/HMIS-SUBCENTER/SCForm1/nbproject/private/private.xml 2012-10-06 11:36:56 +0000
+++ local/in/dhis-mobile/J2ME/HP/HMIS-SUBCENTER/SCForm1/nbproject/private/private.xml 2012-10-10 05:47:43 +0000
@@ -6,7 +6,4 @@
<line>378</line>
</file>
</editor-bookmarks>
- <open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/1">
- <file>file:/D:/DHIS%20trunk/local/in/dhis-mobile/J2ME/HP/HMIS-SUBCENTER/SCForm1/src/org/hispindia/mobile/SCForm1.java</file>
- </open-files>
</project-private>
=== modified file 'local/in/dhis-mobile/J2ME/HP/HMIS-SUBCENTER/SCForm1/src/org/hispindia/mobile/SCForm1.java'
--- local/in/dhis-mobile/J2ME/HP/HMIS-SUBCENTER/SCForm1/src/org/hispindia/mobile/SCForm1.java 2012-10-06 11:36:56 +0000
+++ local/in/dhis-mobile/J2ME/HP/HMIS-SUBCENTER/SCForm1/src/org/hispindia/mobile/SCForm1.java 2012-10-10 05:47:43 +0000
@@ -16,7 +16,7 @@
import javax.wireless.messaging.TextMessage;
import org.netbeans.microedition.lcdui.SplashScreen;
-public class SCForm1 extends MIDlet implements CommandListener, ItemStateListener {
+public class SCForm1 extends MIDlet implements CommandListener, ItemStateListener{
private boolean midletPaused = false;
private boolean editingLastReport = false;
@@ -4604,11 +4604,14 @@
}
+
+
private void Validation (Item item, TextField myTextField){
if (item == myTextField)
{
+ System.out.println("Value:" + myTextField.getString());
String[] list = {"00"};
- if(!valueValidation(myTextField, list) || (myTextField.getString().length() > 1 && Integer.parseInt(myTextField.getString()) == 0))
+ if(!valueValidation(myTextField, list) || (myTextField.getString().length() > 0 && !isIntNumber(myTextField.getString())))
{
myTextField.setString( "" );
Alert myAlert = new Alert("Wrong data","not allow!",null,AlertType.INFO);
@@ -4710,4 +4713,5 @@
Validation(item, textAWWpresent);
}
+
}
\ No newline at end of file
=== modified file 'local/in/dhis-mobile/J2ME/HP/HMIS-SUBCENTER/SCForm1/src/org/hispindia/mobile/SCForm1.vmd'
--- local/in/dhis-mobile/J2ME/HP/HMIS-SUBCENTER/SCForm1/src/org/hispindia/mobile/SCForm1.vmd 2012-10-06 11:36:56 +0000
+++ local/in/dhis-mobile/J2ME/HP/HMIS-SUBCENTER/SCForm1/src/org/hispindia/mobile/SCForm1.vmd 2012-10-10 05:47:43 +0000
@@ -1921,29 +1921,29 @@
</Component>
</Document>
<FlowScene version="1">
+ <Node componentID="706" descriptorID="componentNode706" x="39" y="1844"/>
+ <Node componentID="606" descriptorID="componentNode606" x="45" y="869"/>
+ <Node componentID="546" descriptorID="componentNode546" x="137" y="251"/>
+ <Node componentID="568" descriptorID="componentNode568" x="165" y="513"/>
+ <Node componentID="688" descriptorID="componentNode688" x="288" y="1735"/>
<Node componentID="202" descriptorID="componentNode202" x="1188" y="521"/>
+ <Node componentID="233" descriptorID="componentNode233" x="497" y="373"/>
+ <Node componentID="627" descriptorID="componentNode627" x="215" y="999"/>
<Node componentID="587" descriptorID="componentNode587" x="193" y="757"/>
- <Node componentID="578" descriptorID="componentNode578" x="45" y="619"/>
- <Node componentID="557" descriptorID="componentNode557" x="30" y="372"/>
- <Node componentID="2" descriptorID="componentNode2" x="954" y="375"/>
- <Node componentID="652" descriptorID="componentNode652" x="206" y="1240"/>
- <Node componentID="671" descriptorID="componentNode671" x="245" y="1482"/>
<Node componentID="681" descriptorID="componentNode681" x="41" y="1630"/>
- <Node componentID="688" descriptorID="componentNode688" x="288" y="1735"/>
<Node componentID="518" descriptorID="componentNode518" x="158" y="11"/>
+ <Node componentID="642" descriptorID="componentNode642" x="40" y="1121"/>
<Node componentID="473" descriptorID="componentNode473" x="504" y="508"/>
- <Node componentID="167" descriptorID="componentNode167" x="766" y="181"/>
- <Node componentID="627" descriptorID="componentNode627" x="215" y="999"/>
<Node componentID="724" descriptorID="componentNode724" x="1190" y="650"/>
<Node componentID="219" descriptorID="componentNode219" x="710" y="546"/>
- <Node componentID="606" descriptorID="componentNode606" x="45" y="869"/>
+ <Node componentID="671" descriptorID="componentNode671" x="245" y="1482"/>
+ <Node componentID="578" descriptorID="componentNode578" x="45" y="619"/>
+ <Node componentID="167" descriptorID="componentNode167" x="766" y="181"/>
+ <Node componentID="533" descriptorID="componentNode533" x="24" y="128"/>
<Node componentID="661" descriptorID="componentNode661" x="40" y="1344"/>
<Node componentID="178" descriptorID="componentNode178" x="1188" y="181"/>
- <Node componentID="233" descriptorID="componentNode233" x="497" y="373"/>
- <Node componentID="706" descriptorID="componentNode706" x="39" y="1844"/>
- <Node componentID="568" descriptorID="componentNode568" x="165" y="513"/>
- <Node componentID="642" descriptorID="componentNode642" x="40" y="1121"/>
- <Node componentID="546" descriptorID="componentNode546" x="137" y="251"/>
- <Node componentID="533" descriptorID="componentNode533" x="24" y="128"/>
+ <Node componentID="2" descriptorID="componentNode2" x="954" y="375"/>
+ <Node componentID="652" descriptorID="componentNode652" x="206" y="1240"/>
+ <Node componentID="557" descriptorID="componentNode557" x="30" y="372"/>
</FlowScene>
</VisualDesign>
=== modified file 'local/in/dhis-mobile/J2ME/HP/IDSP jar S_1/SCForm1/nbproject/private/private.properties'
--- local/in/dhis-mobile/J2ME/HP/IDSP jar S_1/SCForm1/nbproject/private/private.properties 2012-10-06 11:36:56 +0000
+++ local/in/dhis-mobile/J2ME/HP/IDSP jar S_1/SCForm1/nbproject/private/private.properties 2012-10-10 05:47:43 +0000
@@ -1,8 +1,8 @@
-#Sat, 06 Oct 2012 16:56:08 +0700
+#Mon, 08 Oct 2012 01:01:34 +0700
#Sat Jun 26 20:02:35 IST 2010
netbeans.user=C\:\\Users\\Thai Chuong\\.netbeans\\7.1
javadoc.preview=true
config.active=
-deployment.counter=366
+deployment.counter=367
app-version.autoincrement=true
-deployment.number=0.3.65
+deployment.number=0.3.66
=== modified file 'local/in/dhis-mobile/J2ME/HP/IDSP jar S_1/SCForm1/src/org/hispindia/mobile/SCForm1.java'
--- local/in/dhis-mobile/J2ME/HP/IDSP jar S_1/SCForm1/src/org/hispindia/mobile/SCForm1.java 2012-10-06 11:36:56 +0000
+++ local/in/dhis-mobile/J2ME/HP/IDSP jar S_1/SCForm1/src/org/hispindia/mobile/SCForm1.java 2012-10-10 05:47:43 +0000
@@ -6243,7 +6243,7 @@
if (item == myTextField)
{
String[] list = {"00"};
- if(!valueValidation(myTextField, list) || (myTextField.getString().length() > 1 && Integer.parseInt(myTextField.getString()) == 0))
+ if(!valueValidation(myTextField, list) || (myTextField.getString().length() > 0 && !isIntNumber(myTextField.getString())))
{
myTextField.setString( "0" );
Alert myAlert = new Alert("Wrong data","not allow!",null,AlertType.INFO);
=== modified file 'local/in/dhis-mobile/J2ME/HP/IDSP jar S_1/SCForm1/src/org/hispindia/mobile/SCForm1.vmd'
--- local/in/dhis-mobile/J2ME/HP/IDSP jar S_1/SCForm1/src/org/hispindia/mobile/SCForm1.vmd 2012-10-06 11:36:56 +0000
+++ local/in/dhis-mobile/J2ME/HP/IDSP jar S_1/SCForm1/src/org/hispindia/mobile/SCForm1.vmd 2012-10-10 05:47:43 +0000
@@ -2584,35 +2584,35 @@
</Component>
</Document>
<FlowScene version="1">
- <Node componentID="897" descriptorID="componentNode897" x="902" y="2032"/>
- <Node componentID="806" descriptorID="componentNode806" x="-29" y="350"/>
+ <Node componentID="722" descriptorID="componentNode722" x="645" y="501"/>
+ <Node componentID="764" descriptorID="componentNode764" x="585" y="1047"/>
<Node componentID="233" descriptorID="componentNode233" x="322" y="-187"/>
- <Node componentID="711" descriptorID="componentNode711" x="317" y="404"/>
- <Node componentID="882" descriptorID="componentNode882" x="475" y="1718"/>
+ <Node componentID="914" descriptorID="componentNode914" x="479" y="2347"/>
+ <Node componentID="2" descriptorID="componentNode2" x="17" y="-160"/>
+ <Node componentID="887" descriptorID="componentNode887" x="904" y="1838"/>
+ <Node componentID="919" descriptorID="componentNode919" x="1049" y="2465"/>
+ <Node componentID="909" descriptorID="componentNode909" x="793" y="2250"/>
+ <Node componentID="877" descriptorID="componentNode877" x="890" y="1606"/>
+ <Node componentID="892" descriptorID="componentNode892" x="453" y="1919"/>
<Node componentID="654" descriptorID="componentNode654" x="515" y="116"/>
<Node componentID="219" descriptorID="componentNode219" x="141" y="152"/>
+ <Node componentID="902" descriptorID="componentNode902" x="464" y="2154"/>
+ <Node componentID="202" descriptorID="componentNode202" x="23" y="16"/>
+ <Node componentID="178" descriptorID="componentNode178" x="320" y="24"/>
<Node componentID="838" descriptorID="componentNode838" x="511" y="238"/>
+ <Node componentID="777" descriptorID="componentNode777" x="751" y="1156"/>
+ <Node componentID="167" descriptorID="componentNode167" x="1039" y="-4"/>
+ <Node componentID="882" descriptorID="componentNode882" x="475" y="1718"/>
<Node componentID="793" descriptorID="componentNode793" x="491" y="1246"/>
+ <Node componentID="732" descriptorID="componentNode732" x="428" y="608"/>
+ <Node componentID="1010" descriptorID="componentNode1010" x="195" y="276"/>
<Node componentID="741" descriptorID="componentNode741" x="494" y="805"/>
- <Node componentID="178" descriptorID="componentNode178" x="320" y="24"/>
- <Node componentID="777" descriptorID="componentNode777" x="751" y="1156"/>
- <Node componentID="902" descriptorID="componentNode902" x="464" y="2154"/>
+ <Node componentID="867" descriptorID="componentNode867" x="833" y="1361"/>
+ <Node componentID="711" descriptorID="componentNode711" x="317" y="404"/>
+ <Node componentID="897" descriptorID="componentNode897" x="902" y="2032"/>
+ <Node componentID="806" descriptorID="componentNode806" x="-29" y="350"/>
<Node componentID="872" descriptorID="componentNode872" x="483" y="1488"/>
- <Node componentID="1010" descriptorID="componentNode1010" x="195" y="276"/>
- <Node componentID="732" descriptorID="componentNode732" x="428" y="608"/>
- <Node componentID="722" descriptorID="componentNode722" x="645" y="501"/>
- <Node componentID="867" descriptorID="componentNode867" x="833" y="1361"/>
- <Node componentID="919" descriptorID="componentNode919" x="1049" y="2465"/>
- <Node componentID="877" descriptorID="componentNode877" x="890" y="1606"/>
- <Node componentID="202" descriptorID="componentNode202" x="23" y="16"/>
+ <Node componentID="755" descriptorID="componentNode755" x="668" y="700"/>
<Node componentID="847" descriptorID="componentNode847" x="705" y="927"/>
- <Node componentID="887" descriptorID="componentNode887" x="904" y="1838"/>
- <Node componentID="909" descriptorID="componentNode909" x="793" y="2250"/>
- <Node componentID="2" descriptorID="componentNode2" x="17" y="-160"/>
- <Node componentID="167" descriptorID="componentNode167" x="1039" y="-4"/>
- <Node componentID="764" descriptorID="componentNode764" x="585" y="1047"/>
- <Node componentID="892" descriptorID="componentNode892" x="453" y="1919"/>
- <Node componentID="755" descriptorID="componentNode755" x="668" y="700"/>
- <Node componentID="914" descriptorID="componentNode914" x="479" y="2347"/>
</FlowScene>
</VisualDesign>
=== modified file 'local/in/dhis-mobile/J2ME/HP/MORTALITY/SCForm1/nbproject/private/private.properties'
--- local/in/dhis-mobile/J2ME/HP/MORTALITY/SCForm1/nbproject/private/private.properties 2012-10-06 11:36:56 +0000
+++ local/in/dhis-mobile/J2ME/HP/MORTALITY/SCForm1/nbproject/private/private.properties 2012-10-10 05:47:43 +0000
@@ -1,8 +1,8 @@
-#Sat, 06 Oct 2012 17:33:08 +0700
+#Mon, 08 Oct 2012 01:01:22 +0700
#Sat Jun 26 20:02:35 IST 2010
netbeans.user=C\:\\Users\\Thai Chuong\\.netbeans\\7.1
javadoc.preview=true
config.active=
-deployment.counter=277
+deployment.counter=278
app-version.autoincrement=true
-deployment.number=0.2.76
+deployment.number=0.2.77
=== modified file 'local/in/dhis-mobile/J2ME/HP/MORTALITY/SCForm1/src/org/hispindia/mobile/SCForm1.java'
--- local/in/dhis-mobile/J2ME/HP/MORTALITY/SCForm1/src/org/hispindia/mobile/SCForm1.java 2012-10-06 11:36:56 +0000
+++ local/in/dhis-mobile/J2ME/HP/MORTALITY/SCForm1/src/org/hispindia/mobile/SCForm1.java 2012-10-10 05:47:43 +0000
@@ -3360,7 +3360,7 @@
if (item == myTextField)
{
String[] list = {"00"};
- if(!valueValidation(myTextField, list) || (myTextField.getString().length() > 1 && Integer.parseInt(myTextField.getString()) == 0))
+ if(!valueValidation(myTextField, list) || (myTextField.getString().length() > 0 && !isIntNumber(myTextField.getString())))
{
myTextField.setString( "" );
Alert myAlert = new Alert("Wrong data","not allow!",null,AlertType.INFO);
=== modified file 'local/in/dhis-mobile/J2ME/HP/MORTALITY/SCForm1/src/org/hispindia/mobile/SCForm1.vmd'
--- local/in/dhis-mobile/J2ME/HP/MORTALITY/SCForm1/src/org/hispindia/mobile/SCForm1.vmd 2012-10-06 11:36:56 +0000
+++ local/in/dhis-mobile/J2ME/HP/MORTALITY/SCForm1/src/org/hispindia/mobile/SCForm1.vmd 2012-10-10 05:47:43 +0000
@@ -1320,19 +1320,19 @@
</Component>
</Document>
<FlowScene version="1">
+ <Node componentID="233" descriptorID="componentNode233" x="281" y="27"/>
<Node componentID="530" descriptorID="componentNode530" x="758" y="205"/>
<Node componentID="525" descriptorID="componentNode525" x="569" y="44"/>
- <Node componentID="2" descriptorID="componentNode2" x="15" y="23"/>
<Node componentID="219" descriptorID="componentNode219" x="18" y="419"/>
+ <Node componentID="202" descriptorID="componentNode202" x="31" y="229"/>
<Node componentID="540" descriptorID="componentNode540" x="762" y="524"/>
+ <Node componentID="2" descriptorID="componentNode2" x="15" y="23"/>
<Node componentID="603" descriptorID="componentNode603" x="585" y="682"/>
- <Node componentID="654" descriptorID="componentNode654" x="133" y="600"/>
- <Node componentID="202" descriptorID="componentNode202" x="31" y="229"/>
- <Node componentID="535" descriptorID="componentNode535" x="546" y="351"/>
<Node componentID="545" descriptorID="componentNode545" x="641" y="950"/>
<Node componentID="178" descriptorID="componentNode178" x="279" y="189"/>
+ <Node componentID="654" descriptorID="componentNode654" x="133" y="600"/>
<Node componentID="167" descriptorID="componentNode167" x="353" y="383"/>
<Node componentID="604" descriptorID="componentNode604" x="808" y="818"/>
- <Node componentID="233" descriptorID="componentNode233" x="281" y="27"/>
+ <Node componentID="535" descriptorID="componentNode535" x="546" y="351"/>
</FlowScene>
</VisualDesign>
=== modified file 'local/in/dhis-mobile/J2ME/HP/PHC/SCForm1/nbproject/private/private.properties'
--- local/in/dhis-mobile/J2ME/HP/PHC/SCForm1/nbproject/private/private.properties 2012-10-06 11:36:56 +0000
+++ local/in/dhis-mobile/J2ME/HP/PHC/SCForm1/nbproject/private/private.properties 2012-10-10 05:47:43 +0000
@@ -1,8 +1,8 @@
-#Sat, 06 Oct 2012 18:22:05 +0700
+#Mon, 08 Oct 2012 01:01:26 +0700
#Sat Jun 26 20:02:35 IST 2010
netbeans.user=C\:\\Users\\Thai Chuong\\.netbeans\\7.1
javadoc.preview=true
config.active=
-deployment.counter=354
+deployment.counter=355
app-version.autoincrement=true
-deployment.number=0.3.53
+deployment.number=0.3.54
=== modified file 'local/in/dhis-mobile/J2ME/HP/PHC/SCForm1/nbproject/private/private.xml'
--- local/in/dhis-mobile/J2ME/HP/PHC/SCForm1/nbproject/private/private.xml 2012-05-23 06:15:36 +0000
+++ local/in/dhis-mobile/J2ME/HP/PHC/SCForm1/nbproject/private/private.xml 2012-10-10 05:47:43 +0000
@@ -6,4 +6,7 @@
<line>469</line>
</file>
</editor-bookmarks>
+ <open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/1">
+ <file>file:/D:/DHIS%20trunk/local/in/dhis-mobile/J2ME/HP/PHC/SCForm1/src/org/hispindia/mobile/SCForm1.java</file>
+ </open-files>
</project-private>
=== modified file 'local/in/dhis-mobile/J2ME/HP/PHC/SCForm1/src/org/hispindia/mobile/SCForm1.java'
--- local/in/dhis-mobile/J2ME/HP/PHC/SCForm1/src/org/hispindia/mobile/SCForm1.java 2012-10-06 11:36:56 +0000
+++ local/in/dhis-mobile/J2ME/HP/PHC/SCForm1/src/org/hispindia/mobile/SCForm1.java 2012-10-10 05:47:43 +0000
@@ -4560,7 +4560,7 @@
if (item == myTextField)
{
String[] list = {"00"};
- if(!valueValidation(myTextField, list) || (myTextField.getString().length() > 1 && Integer.parseInt(myTextField.getString()) == 0))
+ if(!valueValidation(myTextField, list) || (myTextField.getString().length() > 0 && !isIntNumber(myTextField.getString())))
{
myTextField.setString( "" );
Alert myAlert = new Alert("Wrong data","not allow!",null,AlertType.INFO);
=== modified file 'local/in/dhis-mobile/J2ME/HP/PHC/SCForm1/src/org/hispindia/mobile/SCForm1.vmd'
--- local/in/dhis-mobile/J2ME/HP/PHC/SCForm1/src/org/hispindia/mobile/SCForm1.vmd 2012-10-06 11:36:56 +0000
+++ local/in/dhis-mobile/J2ME/HP/PHC/SCForm1/src/org/hispindia/mobile/SCForm1.vmd 2012-10-10 05:47:43 +0000
@@ -1338,18 +1338,18 @@
<Property name="label" typeID="Pjava.lang.String" value="VOk"/>
<Property name="type" typeID="Pint" value="V4"/>
</Component>
+ <Component componentID="176" typeID="C#SplashScreenDismissCommand">
+ <Property name="label" typeID="Pjava.lang.String" value="VDismiss"/>
+ <Property name="type" typeID="Pint" value="V4"/>
+ <Property name="priority" typeID="Pint" value="V0"/>
+ <Property name="ordinary" typeID="Pboolean" value="Vfalse"/>
+ </Component>
<Component componentID="662" typeID="Cjavax.microedition.lcdui.Command">
<Property name="instanceName" typeID="Pjava.lang.String" value="VvitaminadoseBackCmd"/>
<Property name="codeGenerated" typeID="Pboolean" value="Vtrue"/>
<Property name="label" typeID="Pjava.lang.String" value="VBack"/>
<Property name="type" typeID="Pint" value="V2"/>
</Component>
- <Component componentID="176" typeID="C#SplashScreenDismissCommand">
- <Property name="label" typeID="Pjava.lang.String" value="VDismiss"/>
- <Property name="type" typeID="Pint" value="V4"/>
- <Property name="priority" typeID="Pint" value="V0"/>
- <Property name="ordinary" typeID="Pboolean" value="Vfalse"/>
- </Component>
<Component componentID="745" typeID="Cjavax.microedition.lcdui.Command">
<Property name="instanceName" typeID="Pjava.lang.String" value="VCsectiondeliveriesokcmd"/>
<Property name="codeGenerated" typeID="Pboolean" value="Vtrue"/>
@@ -1446,18 +1446,18 @@
<Property name="label" typeID="Pjava.lang.String" value="VBack"/>
<Property name="type" typeID="Pint" value="V2"/>
</Component>
+ <Component componentID="227" typeID="Cjavax.microedition.lcdui.Command">
+ <Property name="instanceName" typeID="Pjava.lang.String" value="VloadExitCmd"/>
+ <Property name="codeGenerated" typeID="Pboolean" value="Vtrue"/>
+ <Property name="label" typeID="Pjava.lang.String" value="VExit"/>
+ <Property name="type" typeID="Pint" value="V7"/>
+ </Component>
<Component componentID="709" typeID="Cjavax.microedition.lcdui.Command">
<Property name="instanceName" typeID="Pjava.lang.String" value="VmenstrualhygieneprogrammeCmd"/>
<Property name="codeGenerated" typeID="Pboolean" value="Vtrue"/>
<Property name="label" typeID="Pjava.lang.String" value="VNext"/>
<Property name="type" typeID="Pint" value="V4"/>
</Component>
- <Component componentID="227" typeID="Cjavax.microedition.lcdui.Command">
- <Property name="instanceName" typeID="Pjava.lang.String" value="VloadExitCmd"/>
- <Property name="codeGenerated" typeID="Pboolean" value="Vtrue"/>
- <Property name="label" typeID="Pjava.lang.String" value="VExit"/>
- <Property name="type" typeID="Pint" value="V7"/>
- </Component>
<Component componentID="225" typeID="Cjavax.microedition.lcdui.Command">
<Property name="instanceName" typeID="Pjava.lang.String" value="VloadCmd"/>
<Property name="codeGenerated" typeID="Pboolean" value="Vtrue"/>
@@ -1789,26 +1789,26 @@
</Component>
</Document>
<FlowScene version="1">
- <Node componentID="825" descriptorID="componentNode825" x="728" y="2186"/>
<Node componentID="774" descriptorID="componentNode774" x="1043" y="1298"/>
- <Node componentID="202" descriptorID="componentNode202" x="438" y="-160"/>
- <Node componentID="2" descriptorID="componentNode2" x="90" y="39"/>
- <Node componentID="724" descriptorID="componentNode724" x="598" y="-64"/>
- <Node componentID="822" descriptorID="componentNode822" x="1102" y="1724"/>
+ <Node componentID="848" descriptorID="componentNode848" x="344" y="2277"/>
+ <Node componentID="219" descriptorID="componentNode219" x="311" y="79"/>
<Node componentID="1009" descriptorID="componentNode1009" x="829" y="2440"/>
<Node componentID="784" descriptorID="componentNode784" x="1072" y="1532"/>
- <Node componentID="178" descriptorID="componentNode178" x="790" y="162"/>
- <Node componentID="824" descriptorID="componentNode824" x="1120" y="2074"/>
+ <Node componentID="826" descriptorID="componentNode826" x="983" y="2620"/>
+ <Node componentID="822" descriptorID="componentNode822" x="1102" y="1724"/>
+ <Node componentID="847" descriptorID="componentNode847" x="612" y="2733"/>
+ <Node componentID="233" descriptorID="componentNode233" x="-120" y="350"/>
<Node componentID="794" descriptorID="componentNode794" x="1073" y="2280"/>
- <Node componentID="826" descriptorID="componentNode826" x="983" y="2620"/>
+ <Node componentID="825" descriptorID="componentNode825" x="728" y="2186"/>
+ <Node componentID="202" descriptorID="componentNode202" x="438" y="-160"/>
+ <Node componentID="1002" descriptorID="componentNode1002" x="707" y="1977"/>
<Node componentID="823" descriptorID="componentNode823" x="823" y="1875"/>
- <Node componentID="789" descriptorID="componentNode789" x="730" y="1630"/>
+ <Node componentID="178" descriptorID="componentNode178" x="790" y="162"/>
<Node componentID="775" descriptorID="componentNode775" x="822" y="1402"/>
- <Node componentID="847" descriptorID="componentNode847" x="612" y="2733"/>
<Node componentID="167" descriptorID="componentNode167" x="106" y="193"/>
- <Node componentID="233" descriptorID="componentNode233" x="-120" y="350"/>
- <Node componentID="1002" descriptorID="componentNode1002" x="707" y="1977"/>
- <Node componentID="848" descriptorID="componentNode848" x="344" y="2277"/>
- <Node componentID="219" descriptorID="componentNode219" x="311" y="79"/>
+ <Node componentID="824" descriptorID="componentNode824" x="1120" y="2074"/>
+ <Node componentID="724" descriptorID="componentNode724" x="598" y="-64"/>
+ <Node componentID="2" descriptorID="componentNode2" x="90" y="39"/>
+ <Node componentID="789" descriptorID="componentNode789" x="730" y="1630"/>
</FlowScene>
</VisualDesign>