Martijn's example works only with JavaScript but needs no server roundtrip.
Igor's and my version also works without JavaScript but does need to 
make a call to the server.

My version is probably more useful when you need to switch more things 
in and out. Now I reread your question, this does not seem to be the 
case. So either of the Martijn and Igor solutions are appropriate.

    Erik.


Marc-Andre Houle wrote:
> Every one of you seem's to have a different answer, but I'm not sure 
> which one is the best...

-- 
Erik van Oosten
http://day-to-day-stuff.blogspot.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
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to