35,6 → 35,7 |
import com.extjs.gxt.ui.client.widget.layout.FlowLayout; |
import com.extjs.gxt.ui.client.widget.layout.FormData; |
import com.extjs.gxt.ui.client.widget.layout.FormLayout; |
import com.google.gwt.user.client.Window; |
|
public class ProjetForm extends Formulaire implements Rafraichissable { |
|
68,7 → 69,7 |
|
private Sequenceur sequenceur = new Sequenceur(); |
|
private Rafraichissable vueExterneARafraichirApresValidation = null; |
public Rafraichissable vueExterneARafraichirApresValidation = null; |
|
|
public ProjetForm(Mediateur mediateurCourrant, String projetId) { |
299,10 → 300,13 |
if (type.equals("ajout_projet") || type.equals("modif_projet")) { |
if (info.getDonnee(0) != null && info.getDonnee(0) instanceof String) { |
projetValideOk = true; |
String projetId = (String) info.getDonnee(0); |
if (vueExterneARafraichirApresValidation != null) { |
projet.setId(projetId); |
if(!type.equals("modif_projet")) { |
String projetId = (String) info.getDonnee(0); |
if (vueExterneARafraichirApresValidation != null) { |
projet.setId(projetId); |
} |
} |
controlerFermeture(); |
} |
} |
|
310,7 → 314,7 |
if (type.equals("selection_projet")) { |
InfoLogger.display(i18nC.projetTitreFormModif(), info.toString()); |
} else if (type.equals("modif_projet")) { |
InfoLogger.display(i18nC.projetTitreFormModif(), info.toString()); |
//InfoLogger.display(i18nC.projetTitreFormModif(), info.toString()); |
} else if (type.equals("ajout_projet")) { |
if (info.getDonnee(0) != null && info.getDonnee(0) instanceof String) { |
String projetId = (String) info.getDonnee(0); |