}
@Override
protected void populateItem(final ListItem item)
{
final Publicite publicite = (Publicite) item.getModelObject();
item.add(new Label("description", publicite.getDescription()));
item.add(new Label("dtDebut", publicite.getDtDebutUI()));
item.add(new Label("dtFin", publicite.getDtFinUI()));
item.add(new Label("zone", publicite.getZone()));
if (publicite.getImage() != null)
{
BlobImage rscBlob = new BlobImage(publicite.getImage(),
imageService);
Image img = new Image("image", rscBlob);
item.add(img);
}
else
{
Image img = new Image("image");
img.setVisible(false);
item.add(img);
}
if (publicite.isActif())
{
item.add(new Label("actif", "Oui"));
}
else
{