Ejemplo n.º 1
0
  public Component getEmergente(String nombre, Map<String, Object> param) throws Exception {
    log.info("Ejecutando el metodo [getEmergente]");

    AATEjecutable detalle = Utilidades.obtenerDetalle(nombre);
    Component componente =
        Executions.createComponentsDirectly(detalle.getFuente(), null, null, param);
    Sessions.getCurrent().setAttribute("EMERGENTE", nombre);
    return componente;
  }
Ejemplo n.º 2
0
  private Component getEmergente(String nombre, Map<String, Object> param) throws Exception {
    log.info("Ejecutando m�todo [ getEmergente().. ]");
    log.debug("nombre ==>" + nombre);
    log.debug("param ==>" + param);

    AATEjecutable detalle = Utilidades.obtenerDetalle(nombre);
    Component component =
        Executions.createComponentsDirectly(detalle.getFuente(), null, null, param);
    if (component instanceof Window) {
      // AGREGAMOS EL TITULO DE LAS NOTIFICACIONES COMO UN ATRIBUTO
      component.setAttribute("TITULO_NOTIFICACIONES_GRITTER", ((Window) component).getTitle());
    }

    return component;
  }