item.add(HomePage.link("selection", DisplayPersonneAdmin.class,
map));
}
else
{
item.add(new Label("selection", "L'usager n'a pas de compte"));
}
}
// l'usager est train de gérer les plaques....
else if (this.saison != null)
{
map = new HashMap();
map.put( DisplayPlaquePersonne.TypeParameters.ISNEW, true);
map.put(DisplayPlaquePersonne.TypeParameters.INFOSAISON, null);
map.put(DisplayPlaquePersonne.TypeParameters.PERSONNE, personne);
map.put(ViewPersonnePanel.TypeParameters.SAISON, this.saison);
map.put(DisplayPlaquePersonne.TypeParameters.SAISON, this.saison);
try
{
map.put(DisplayPlaquePersonne.TypeParameters.INFOSSAISONS, personne.getInfosSaison());
}
catch (final Exception e)
{
throw new SystemeException(e.getMessage());
}
item.add(HomePage.link("selection",DisplayPlaquePersonne.class, map));
}
// l'usager est en train de gérer les membres.
else
{
map.put("Oid", personne.getOid());
item.add(HomePage
.link("selection", DisplayPersonnePanel.class, map));
}
item.add(new Label("prenom", new PropertyModel(personne, "prenom")));
item.add(new Label("nom", new PropertyModel(personne, "nom")));
item.add(new Label("pays", new PropertyModel(personne, "pays")));
}