most components in wicket are. the nesting of components must follow the
nesting in html.

-igor


On 3/2/07, Chris Colman <[EMAIL PROTECTED]> wrote:

> instead of
> item.add(new link("categoryLink"){});
> item.add(new label("categoryname"))
> do
> Link link=new linke("categoryLink");
> item.add(link);
> link.add(new label("categoryname"));

Ok, so Link is a kind of composite component that can have subcomponents
- like the label.

-------------------------------------------------------------------------
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

-------------------------------------------------------------------------
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

Reply via email to