result.append("var calloutName='SL_Module_Minor_version';\n\n");
result.append("var respuesta = new Array(");
// do not change the name field, if the user just left it
if (strChanged.equals(DEPENDENT_MODULE_FIELD)) {
// get the minor version
final Module dependsOnModule = OBDal.getInstance().get(Module.class, strModule);
if (dependsOnModule.getVersion() != null) {
result.append("new Array(\"" + MINOR_VERSION_FIELD + "\", \""
+ dependsOnModule.getVersion() + "\")");
} else {
result.append("new Array(\"" + MINOR_VERSION_FIELD + "\", \""
+ dependsOnModule.getVersion() + "\")");
}
}
result.append(");");
xmlDocument.setParameter("array", result.toString());
xmlDocument.setParameter("frameName", "appFrame");