Package org.primefaces.context

Examples of org.primefaces.context.RequestContext.update()


            final String uid = params.get("uid");

            Operadores op = chatOperadores.getOperadoresMap().get(uid);
            if (op != null && !op.getLogin().equals(operador.getLogin()) && op.isProntoConversa()) {
                warn("O operador " + op.getLogin() + " já esta em atendimento!");
                requestContext.update(":painelAdminForm:msgs");
                return;
            }
            Visitantes v = (Visitantes) CollectionUtils.find(chatVisitantes.getVisitantesList(), new Predicate() {
                @Override
                public boolean evaluate(Object input) {
View Full Code Here


    counter++;

    RequestContext requestContext = RequestContext.getCurrentInstance();

    if (firstOutput) {
      requestContext.update("firstOutput");
    } else {
      requestContext.update("secondOutput");
    }
  }
View Full Code Here

    RequestContext requestContext = RequestContext.getCurrentInstance();

    if (firstOutput) {
      requestContext.update("firstOutput");
    } else {
      requestContext.update("secondOutput");
    }
  }

  public void incrementWithScroll(ActionEvent ae) {
    counter++;
View Full Code Here

   
    if(event.getOldStep().equals(tabIds[1]) && event.getNewStep().equals(tabIds[2]) && !getEntity().isConfirmedAgreement()) {
      BeanUtil.addMessageFmt(FacesMessage.SEVERITY_WARN, "start.agreement", "start.agreement.youmustagree");
     
      RequestContext context = RequestContext.getCurrentInstance();
      context.update("startForm:growl");
     
      return event.getOldStep();
    }
    return event.getNewStep();
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.