My list entry is only one component, but the only way I can get the ListView
to work is have the markup with one level nesting like this:

      <span wicket:id="entry">
            <span wicket:id="label">EEEEEE</span>
     </span>


Is it possible to just have markup without the additional level of nesting?
Like this:

      <span wicket:id="entry">EEEEEE</span>


and  somehow in java, make the "entry" span become my list entry component?:


new ListView("entry", data) {
    .... populateItem(ListItem item) {
               item.JUST-BECOME-THIS-COMPONENT(new Label("entry",
item.getModelObject().toString()));
         }
};

Reply via email to