return newField;
}
- /**
- * Notifies the component that it is connected to an application
- *
- * @see com.vaadin.ui.Component#attach()
- */
- @Override
- public void attach() {
- super.attach();
- getLayout().attach();
- if (getFooter() != null) {
- getFooter().attach();
- }
- }
-
- /**
- * Notifies the component that it is detached from the application.
- *
- * @see com.vaadin.ui.Component#detach()
- */
- @Override
- public void detach() {
- super.detach();
- getLayout().detach();
- if (getFooter() != null) {
- getFooter().detach();
- }
- }
-
/**
* Checks the validity of the Form and all of its fields.
*