I i know you started the thread, but...from the initial post: > He overrides isVisible on the ListView, and does: > > @Override public boolean isVisible() { > return ((List)myModel.getObject()).size() > 0; >} > >.. so THE LIST WONT BE VISIBLE if the list is empty. >
etc... The CAPITALS are mine. what gives? Thomas > -----Original Message----- > From: Edvin Syse [mailto:[EMAIL PROTECTED] > Sent: Freitag, 7. März 2008 13:26 > To: users@wicket.apache.org > Subject: Re: ListView#isVisible dilemma > > > But wasn't hiding the listview the original point of the question? > > No, hiding was not the issue. The issue was that because the > model was consulted in the isVisible() method of the > ListView, the deletion wouldn't be visible before the page > was rerendered using the page-constructor (hence, the need to > do setResponsePage()). > > -- Edvin > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]