No that is not possible.

Consider:

<span wicket:id="foo"><span wicket:id="bar"></span></span>
<span wicket:id="bar"><span wicket:id="bar"></span></span>

add(new WebMarkupContainer("foo").add(new Label("bar", "bar")));
add(new WebMarkupContainer("bar").add(new Label("bar", "bar")));

How could Wicket automatically know where to add the nested bar? Is it
a child of foo or of bar? or isn't it a child?

Martijn

On 3/13/07, Robert . <[EMAIL PROTECTED]> wrote:
> Considering that the hierarchy is specified in the template, isn't there
> some way to use this to construct the hierarchy automatically?
>
> Robert
>
>
> -------------------------------------------------------------------------
> 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
>
>


-- 
Learn Wicket at ApacheCon Europe: http://apachecon.com
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.5 will keep your server alive. Download Wicket now!
http://wicketframework.org

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