Пример #1
0
 /**
  * Sets the "selected" attribute of the Adres controller in order to display its data in its View
  * dialog.
  *
  * @param event Event object for the widget that triggered an action
  */
 public void prepareAdres(ActionEvent event) {
   if (this.getSelected() != null && adresController.getSelected() == null) {
     adresController.setSelected(this.getSelected().getAdres());
   }
 }
Пример #2
0
 /** Resets the "selected" attribute of any parent Entity controllers. */
 public void resetParents() {
   adresController.setSelected(null);
 }