@Override public ComponentContainer getLayout() { String title = (user.getUsername() == null) ? AppContext.getMessage(UserI18nEnum.VIEW_NEW_USER) : user.getDisplayName(); final AddViewLayout formAddLayout = new AddViewLayout(title, FontAwesome.USER); formAddLayout.addHeaderRight(createButtonControls()); userInformationLayout = new UserInformationLayout(); formAddLayout.addBody(userInformationLayout.getLayout()); return formAddLayout; }
@Override public void attachField(Object propertyId, Field<?> field) { userInformationLayout.attachField(propertyId, field); }