@Override
 public void doAfterCompose(Component comp) throws Exception {
     super.doAfterCompose(comp);
     comp.setVariable("assignedTaskQualityFormsController", this, true);
     messages = new MessagesForUser(messagesContainerTaskQualityForms);
     this.reloadTaskQualityForms();
 }
 public void doAfterCompose(Component comp) throws Exception {
   super.doAfterCompose(comp);
   comp.setVariable("cntrl", this, false);
   almacenes = servicioAlmacen.listarActivos();
   instalaciones = servicioInstalacion.listarActivos();
   // instalaciones = new ArrayList<Instalacion>();
   // instalaciones = servicioInstalacion.listarInstalacion();
 }
Ejemplo n.º 3
0
  @Override
  public void doAfterCompose(Component comp) throws Exception {
    // TODO Auto-generated method stub
    super.doAfterCompose(comp);
    comp.setVariable("cntrl", this, true);
    component = comp;
    //		aux = servicioDatoBasico.listarPorTipoDato("TIPO EGRESO");
    //		aux.add(new DatoBasico(99, td, "TODOS", 'A'));
    //		tiposEgresos = aux;

  }
  public void doAfterCompose(Component comp) throws Exception {
    super.doAfterCompose(comp);
    comp.setVariable("cntrl", this, false);

    this.prueba();
    tareasPlanificadas = servicioTareaActividadPlanificada.listarTareas(actividad);
    materialesPlanificados =
        servicioMaterialActividadPlanificada.listarMateriales(
            actividad.getPlanificacionActividad());
    this.barraProgreso.setValue(this.ActualizarBarra());
  }
    @Override
    public void doAfterCompose(org.zkoss.zk.ui.Component comp) {
        planner = (Planner) comp;
        String zoomLevelParameter = null;
        if ((parameters != null) && (parameters.get("zoom") != null)
                && !(parameters.isEmpty())) {
            zoomLevelParameter = parameters.get("zoom")[0];
        }
        if (zoomLevelParameter != null) {
            planner.setInitialZoomLevel(ZoomLevel
                    .getFromString(zoomLevelParameter));
        }
        planner.setAreContainersExpandedByDefault(Planner
                .guessContainersExpandedByDefault(parameters));

        initializeListboxProgressTypes();

        planner.setAreShownAdvancesByDefault(Planner
                .guessShowAdvancesByDefault(parameters));

        planner.setAreShownReportedHoursByDefault(Planner
                .guessShowReportedHoursByDefault(parameters));
        planner.setAreShownMoneyCostBarByDefault(Planner
                .guessShowMoneyCostBarByDefault(parameters));

        orderFilter = (Vbox) planner.getFellow("orderFilter");
        // Configuration of the order filter
        Component filterComponent = Executions.createComponents(
                "/orders/_orderFilter.zul", orderFilter,
                new HashMap<String, String>());
        filterComponent.setVariable("orderFilterController", this, true);
        filterStartDate = (Datebox) filterComponent
                .getFellow("filterStartDate");
        filterFinishDate = (Datebox) filterComponent
                .getFellow("filterFinishDate");
        bdFilters = (BandboxMultipleSearch) filterComponent
                .getFellow("bdFilters");
        bdFilters.setFinder("taskGroupsMultipleFiltersFinder");
        loadPredefinedBandboxFilter();

        checkIncludeOrderElements = (Checkbox) filterComponent
                .getFellow("checkIncludeOrderElements");
        filterComponent.setVisible(true);
        checkCreationPermissions();

    }
 @Override
 public void doAfterCompose(Component comp) throws Exception {
   super.doAfterCompose(comp);
   comp.setVariable("assignedHoursToOrderElementController", this, true);
 }