Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- protected HashMap<FieldModel.Id<?>, Field<?>> fields = new HashMap<FieldModel.Id<?>, Field<?>>();
- for (Entry<FieldModel.Id<?>, Field<?>> entry : fields.entrySet()) {
- String key = entry.getKey().toString();
- FieldModel<?> fieldModel = getFormModel().get(entry.getKey());
- if (fieldModel != null) {
- fieldModel.bind((Field<?>) entry.getValue());
- }
- widgets.put(key, (Widget) entry.getValue());
- labels.put(key, "Hilfe");
- try {
- infotexts.put(key, getConstants().getString(key + "InfoText"));
- } catch (Exception e) {
- // do nothing...
- }
- }
Add Comment
Please, Sign In to add comment