litesoft
Diff Revisions
632
vs
633
for /trunk/GWT_Sandbox/FormEngine/src/com/temp/shared/validators/IdentifierValueValidator.java
|
@@ -33,7 +33,7 @@ |
33 |
33 |
|
return null; // OK! |
34 |
34 |
|
} |
35 |
35 |
|
return new E13nData( TEMPLATE_ID_CODE ).addSubstitutionNamedSubTemplateIdCode( TEMPLATE_NAME_WHY, SUBTEMPLATE_WHY_BAD_CHAR ) // |
36 |
|
- |
.addSubstitutionNamedUserData( USER_DATA_POSITION, Integer.toString( errorIndex ) ) // |
|
36 |
+ |
.addSubstitutionNamedUserData( USER_DATA_POSITION, Integer.toString( errorIndex + 1 ) ) // |
37 |
37 |
|
.addSubstitutionNamedUserData( USER_DATA_CHAR, Character.toString( userData.charAt( errorIndex ) ) ); |
38 |
38 |
|
} |
39 |
39 |
|
} |