Line 43... |
Line 43... |
43 |
private boolean listeIndexationDureeChargee = false;
|
43 |
private boolean listeIndexationDureeChargee = false;
|
44 |
private ValeurListe valeurListeIndexationFrequence = null;
|
44 |
private ValeurListe valeurListeIndexationFrequence = null;
|
45 |
private boolean listeIndexationFrequenceChargee = false;
|
45 |
private boolean listeIndexationFrequenceChargee = false;
|
46 |
private ValeurListe valeurListeLangue = null;
|
46 |
private ValeurListe valeurListeLangue = null;
|
47 |
private boolean listeLangueChargee = false;
|
47 |
private boolean listeLangueChargee = false;
|
- |
|
48 |
private boolean displayUrl = true;
|
Line 48... |
Line 49... |
48 |
|
49 |
|
Line 49... |
Line 50... |
49 |
private Sequenceur sequenceur;
|
50 |
private Sequenceur sequenceur;
|
50 |
|
51 |
|
51 |
public ProjetDetailVue(Mediateur mediateurCourant, Sequenceur sequenceur) {
|
52 |
public ProjetDetailVue(Mediateur mediateurCourant, Sequenceur sequenceur) {
|
Line 52... |
Line -... |
52 |
super(mediateurCourant);
|
- |
|
53 |
this.sequenceur = sequenceur;
|
- |
|
54 |
|
53 |
super(mediateurCourant);
|
55 |
initialiserTousLesTpl();
|
54 |
this.sequenceur = sequenceur;
|
56 |
|
55 |
|
57 |
panneauPrincipal = new ContentPanel();
|
56 |
panneauPrincipal = new ContentPanel();
|
58 |
panneauPrincipal.setLayout(new FitLayout());
|
57 |
panneauPrincipal.setLayout(new FitLayout());
|
Line 94... |
Line 93... |
94 |
" <div class='{css_fieldset}'>"+
|
93 |
" <div class='{css_fieldset}'>"+
|
95 |
" <h2>{i18n_titre_info_generale}</h2>"+
|
94 |
" <h2>{i18n_titre_info_generale}</h2>"+
|
96 |
" <span class='{css_label}'>{i18n_nom} :</span> {nom}<br />"+
|
95 |
" <span class='{css_label}'>{i18n_nom} :</span> {nom}<br />"+
|
97 |
" <span class='{css_label}'>{i18n_abreviation} :</span> {abreviation}<br />"+
|
96 |
" <span class='{css_label}'>{i18n_abreviation} :</span> {abreviation}<br />"+
|
98 |
" <span class='{css_label}'>{i18n_resume} :</span> {resume}<br />"+
|
97 |
" <span class='{css_label}'>{i18n_resume} :</span> {resume}<br />"+
|
99 |
" <span class='{css_label}'>{i18n_description} :</span> {description}<br />"+
|
98 |
" <span class='{css_label}'>{i18n_description} :</span> {description}<br />";
|
- |
|
99 |
|
- |
|
100 |
if (projet.getUrl() != null && !UtilString.isEmpty(projet.getUrl()))
|
100 |
" <span class='{css_label}'>{i18n_url} :</span> <a class='{css_lien_ext}' href='{url}' onclick='window.open(this.href); return false;'>{url}</a><br />"+
|
101 |
contenuTpl += " <span class='{css_label}'>{i18n_url} :</span> <a class='{css_lien_ext}' href='{url}' onclick='window.open(this.href); return false;'>{url}</a><br />";
|
- |
|
102 |
|
- |
|
103 |
contenuTpl +=
|
101 |
" </div>"+
|
104 |
" </div>"+
|
102 |
" <div class='{css_fieldset}'>"+
|
105 |
" <div class='{css_fieldset}'>"+
|
103 |
" <h2>{i18n_titre_complement}</h2>"+
|
106 |
" <h2>{i18n_titre_complement}</h2>"+
|
104 |
" <span class='{css_label}'>{i18n_mot_cles} :</span> {mot_cles}<br />"+
|
107 |
" <span class='{css_label}'>{i18n_mot_cles} :</span> {mot_cles}<br />"+
|
105 |
" <span class='{css_label}'>{i18n_citation} :</span> {citation}<br />"+
|
108 |
" <span class='{css_label}'>{i18n_citation} :</span> {citation}<br />"+
|
Line 228... |
Line 231... |
228 |
public void rafraichir(Object nouvellesDonnees) {
|
231 |
public void rafraichir(Object nouvellesDonnees) {
|
229 |
if (nouvellesDonnees instanceof Projet) {
|
232 |
if (nouvellesDonnees instanceof Projet) {
|
230 |
if (Mediateur.DEBUG) System.out.println("|| ProjetDetailVue > Réception d'un Projet");
|
233 |
if (Mediateur.DEBUG) System.out.println("|| ProjetDetailVue > Réception d'un Projet");
|
231 |
projet = (Projet) nouvellesDonnees;
|
234 |
projet = (Projet) nouvellesDonnees;
|
232 |
projetChargementOk = true;
|
235 |
projetChargementOk = true;
|
- |
|
236 |
|
- |
|
237 |
initialiserTousLesTpl();
|
- |
|
238 |
|
233 |
} else if (nouvellesDonnees instanceof ProjetListe) {
|
239 |
} else if (nouvellesDonnees instanceof ProjetListe) {
|
234 |
if (Mediateur.DEBUG) System.out.println("|| ProjetDetailVue > Réception d'une ProjetListe");
|
240 |
if (Mediateur.DEBUG) System.out.println("|| ProjetDetailVue > Réception d'une ProjetListe");
|
235 |
projets = (ProjetListe) nouvellesDonnees;
|
241 |
projets = (ProjetListe) nouvellesDonnees;
|
236 |
projetsChargementOk = true;
|
242 |
projetsChargementOk = true;
|
237 |
} else if(nouvellesDonnees instanceof ValeurListe) {
|
243 |
} else if(nouvellesDonnees instanceof ValeurListe) {
|