or add a simple repeatingview, and then add any number of panels/fragments
into it if you need a variable number
-igor
On 2/22/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> I am new to Wicket, I have been looking at it for the
> last couple of days. Looks like whatever controls we
> create on the serverside are mapped to what is in the
> markup files. I couldn't really figure out, is there
> any way of adding componets dynamically based on some
> business logic?
Yep. You would typically do that with panels. With panels you kind of
defer the actual component/ component you are placing and you can
decide on some business logic which panels to place. Furthermore, you
can replace components as well, so that e.g. when a link is clicked,
you replace part of the component tree.
There are several examples displaying this. Like the wizard example
and the nested example, but also how the tree and repeaters work.
Eelco
-------------------------------------------------------------------------
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