le context d'application avec JSF
bonjour tout le monde ,je debut avec jsf .j'ai la fonction suivant qui fonction parfaitement:
Code:
1 2 3 4 5 6 7 8 9 10
|
public String getComposant() {
if (this.composant == null) {
this.composant = "http://localhost:80/auth/pages/main.xhtml";
} else if (this.composant.equals("") || this.composant.equalsIgnoreCase("null")) {
this.composant = "http://localhost:80/auth/pages/main.xhtml";
}
return this.composant;
} |
mon problem est:
je veux que la partie on rouge soit recuperer depuis le context jsf?
Merci