Hi.
I want to be able to display easily a ListView with no items. There
are two things that bother me, thought. First, I would like to dipslay
a message You have no foo's in the place of the list. And second,
how do I drop the ul, given that my code is like this:
ul
li wicket:id=foos
span
give url a wicket:id and make it a WebMarkupContainer in the javapart.Then add another:img wicket:id=nophotosul wicket:id=listli wicket:id=foos
span wicket:id=name[Name]/spanspan wicket:id=stuff[OtherStuff
/span/li/uland make or the list or the nophoto's visible depending on the contentjohanOn
Well, off the top of my head, you could either use panels and have two
panels there, chosing at run time (one with the UL and data, the other
with the You have no foo's message), or alternatively have both in
the basic page and setVisible(false) one or the other at run time.
/Gwyn
On 19/05/06,