use of app.hongs.action.FormSet in project HongsCORE by ihongs.
the class JointGate method getForm.
private Map getForm(String mod, String ent) throws HongsException {
String cuf = FormSet.hasConfFile(mod + "/" + ent) ? mod + "/" + ent : mod;
FormSet form = FormSet.getInstance(cuf);
try {
return form.getFormTranslated(ent);
} catch (HongsException ex) {
if (ex.getErrno() == 0x10ea) {
return null;
} else {
throw ex;
}
}
}
Aggregations