That is a typo, but you actually meant to say:
<tr wicket:id="hideme">
not:
<tr wicket:id="wicket-hideme">
because it's:
WebMarkupContainer hideme = new WebMarkupContainer("hideme");
not
WebMarkupContainer hideme = new WebMarkupContainer("wicket-hideme");
Scott Swank wrote:
>
> There is a typo in the faq -- which hit one our Wicket test driver
> developers. The last FAQ "How can I hide markup and/or components?"
> should
> have
>
> <tr wicket:id="wicket-hideme">
>
> instead of
>
> <tr id="wicket-hideme">
>
> Also, there are CDATA tags wrapping each of the code examples.
>
> Cheers, Scott
>
>
> <![CDATA[
> WebMarkupContainer hideme = new WebMarkupContainer("hideme");
> hideme.setVisible(false);
>
> <html>
> <body>
> <table>
> <tr id = "wicket-hideme">
> <td>this row will be hidden</td>
> </tr>
> <tr>
> <td>this row will not be hidden</td>
> </tr>
> </table>
> </body>
> </html>
> ]]>
>
>
>
> --
> Scott Swank
> reformed mathematician
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>
--
View this message in context:
http://www.nabble.com/-Wicket-user--error-on-the-faq-tf3083739.html#a8584536
Sent from the Wicket - User mailing list archive at Nabble.com.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user