/**
  * Sets the "selected" attribute of the Institucioncat controller in order to display its data in
  * a dialog. This is reusing existing the existing View dialog.
  *
  * @param event Event object for the widget that triggered an action
  */
 public void prepareIdinsticat(ActionEvent event) {
   if (this.getSelected() != null && idinsticatController.getSelected() == null) {
     idinsticatController.setSelected(this.getSelected().getIdinsticat());
   }
 }
 /** Resets the "selected" attribute of any parent Entity controllers. */
 public void resetParents() {
   idinsticatController.setSelected(null);
 }