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]

Reply via email to