title: Remove part of the last element from display from a Wicket ListView
body: <p>I am new to Wicket. I have to implement a <code>ListView</code> that contains a <code>div</code> between all list items. I am able to do it, but it shows the <code>div</code> after last element also. I don't want that last <code>div</code> to appear. How can I get rid of it? This is my existing code:</p>
  
  <pre><code>    add(new ListView&lt;ItemAdapter&gt;("items", order.getItems()) {
          @Override protected void populateItem(ListItem&lt;ItemAdapter&gt; item)
          ItemAdapter itemList= (ItemAdapter)item.getModelObject();
          item.add(new Label("itemName",  itemList.getItemName()));
          item.add(new Label("qty",itemList.getQuantity().toString()));
          item.add(new Label("div","&lt;br/&gt;&lt;div class='itemList'&gt;&lt;/div&gt;"))
      }
  });
  </code></pre>