I am trying to create FeedbackPanel within each ListView component. The problem is how the visibility is handled... from what I understand, the order of events occurs like this:
updateFeedback is called on my FeedbackPanel ListView re-creates all of my components, thus ignoring the visiblity flag set in updateFeedback Because of this, my feedback panels never show. If i set ListView#setReuseItems( true ), I get an NPE: Caused by: java.lang.NullPointerException at wicket.markup.html.list.ListView.renderItem(ListView.java:701) at wicket.markup.html.list.ListView.onRender(ListView.java:664) at wicket.Component.render(Component.java:1726) at wicket.MarkupContainer.renderNext(MarkupContainer.java:1357) at wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:948) at wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:882) at wicket.Component.renderComponent(Component.java:1941) ... 116 more How can I get this to work (preferably without ListView#setReuseItems( true )) ?? Aaron ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user