Matthieu Casanova <chocolat.mou <at> gmail.com> writes:

> <html>
> <body>
> <span wicket:id="list">
>     <label wicket:id="key">key</label>
>     <span wicket:id="list2">
>         <label wicket:id="value">Value</label>
>     </span>
> </span>
> </body>
> </html>

If you use a fragment inside list2, there is no one to absorb the <label>:

         <label wicket:id="value">Value</label>

As it is sticking there, Wicket can't find the closing tag for list2.
A solution is to not to use a fragment. Just make list2 invisible
(or just use it as is. If the model given to it is null, list2 will
do nothing).




-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to