I tried that already. But I ran into the following problem:
Caused by: java.lang.ClassCastException: java.util.HashMap cannot be 
cast to java.util.List
        at 
org.apache.wicket.markup.html.list.ListView.getList(ListView.java:174)
        at 
org.apache.wicket.markup.html.list.ListView.getViewSize(ListView.java:227)
        at 
org.apache.wicket.markup.html.list.ListView.onBeforeRender(ListView.java:538)
        at org.apache.wicket.Component.beforeRender(Component.java:3037)
        at 
org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1433)
        ... 28 more

The method-body:
public final List getList()
{
        final List list = (List)getModelObject();
        if (list == null)
        {
                return Collections.EMPTY_LIST;
        }
        return list;
}

So there is a need to use a List. I can't override getList() cause it's 
final.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to