Most of the display tag examples do not work anymore since the recent
(model or resolver?) changes. Also, my examples for the chapters I'm
working on for Wicket In Action is broken. I'm using a
PropertyListView, and the exception I'm getting is similar to the one
that wicket.examples.displaytag.ExampleTwoTables throws
(http://localhost:8080/wicket-examples/displaytag?wicket:bookmarkablePage=:wicket.examples.displaytag.ExampleTwoTables):

WicketMessage: No get method defined for class: class
wicket.markup.html.list.ListItemModel expression: <auto>-id

Root cause:

wicket.WicketRuntimeException: No get method defined for class: class
wicket.markup.html.list.ListItemModel expression: <auto>-id
at wicket.util.lang.PropertyResolver.getGetAndSetter(PropertyResolver.java:327)
at 
wicket.util.lang.PropertyResolver.getObjectAndGetSetter(PropertyResolver.java:202)
at wicket.util.lang.PropertyResolver.getValue(PropertyResolver.java:88)
at wicket.model.AbstractPropertyModel.getObject(AbstractPropertyModel.java:102)
at wicket.Component.getModelObject(Component.java:1136)
at wicket.Component.getModelObjectAsString(Component.java:1151)
at wicket.markup.html.basic.Label.onComponentTagBody(Label.java:122)
at wicket.Component.renderComponent(Component.java:1882)
at wicket.markup.html.WebComponent.onRender(WebComponent.java:67)
at wicket.Component.render(Component.java:1716)
at wicket.Component.render(Component.java:1682)
at wicket.Component.autoAdded(Component.java:826)
at 
wicket.examples.displaytag.utils.SimplePageableListView.resolve(SimplePageableListView.java:144)
at wicket.MarkupContainer.renderNext(MarkupContainer.java:1268)

etc...


Eelco

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-develop mailing list
Wicket-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to