Hello, As I recently discovered XHTML specification does not allow empty lists. So the markup like <ul> </ul> is invalid. So there appears a problem with ListViews, because when the list passed to the ListView constructor happen to be empty we end up with invalid markup.
Of course there is workaround like (let's say that we have the ListView with wicket:id="myList") <ul> <li class="invisible" style="display: none"/> <li wicket:id="myList"/> </ul> But it is neither very elegant nor convenient. It is not very appealing to me to seek for every list in the project and add this line. Do you have any other suggestion of doing this? -- View this message in context: http://www.nabble.com/Empty-List-tp21350751p21350751.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org