this.add(new Label("nom", new PropertyModel(session.getCompte()
.getPersonne(), "nom")));
this.add(new Label("prenom", new PropertyModel(session.getCompte()
.getPersonne(), "prenom")));
this.add(new PageLink("profil", PersonnalInfoPage.class));
this.add(new PageLink("inscription", SaisonPage.class));
this.add(new PageLink("inscriptionAutrePersonne", new IPageLink()
{
private static final long serialVersionUID = 1L;
public Class getPageIdentity()
{
return DelegateRegistrationModePage.class;
}
public Page getPage()
{
return new DelegateRegistrationModePage(Etapes.AutrePersonne);
}
}));
this.add(new PageLink("consultationInscription", MesCoursesPage.class));
this.add(new PageLink("historique", MesTransactionsPage.class));
this.add(new PageLink("consulterInscriptions", SaisonsPage.class));
List<ChoixPair> articlesAVendre = gestionVenteArticle
.RechercherPairArticlesAVendre();
this.add(new ArticleVenteListViewPanel("articleVenteListViewPanel",
articlesAVendre).setVisible(articlesAVendre.size() > 0));