Hi Kent,
If you use enclosures, you should upgrade to beta 4 as it fixes an
important bug (http://issues.apache.org/jira/browse/WICKET-993).
Regards,
Erik.
kent lai wrote:
Hi,
I was trying to use wicket enclosure on a list. The html look as
below
<wicket:enclosure>
<table>
<tr wicket:id="list">
<td><a href="#" wicket:id="link"><span
wicket:id="ref-number">[ref number]</span></a></td>
</tr>
</table>
</wicket:enclosure>
But I keep getting an error that says wicket enclosure has to
declare a child. I added wicket:child="list" to the tag, but I still
get the same error.
list is a ListView derived class.
I could work around this with a wicket:container, and hide the
entire table if the list is not visible, but I would really like to
use wicket:enclosure as it is cleaner.
Any ideas?
Thanks
Kent
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Erik van Oosten
http://2008.rubyenrails.nl/
http://www.day-to-day-stuff.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]