コード例 #1
0
  /**
   * Fonction qui modifie le contenu de la tâche
   *
   * @return
   */
  public String modifierTache() {

    Tache tacheTMP = tacheEJB.findTache(pid);
    tache.setId(pid);
    tache.setResponsable(tacheTMP.getResponsable());

    tache = tacheEJB.modifierTache(tache, listeParticipantsActif);
    return "accueil.xhtml?faces-redirect=true";
  }
コード例 #2
0
 public String ajouterTache() {
   tache.setResponsable(utilisateur);
   tache = tacheEJB.creerTache(tache, listeParticipants);
   return "accueil.xhtml?faces-redirect=true";
 }