* Jan Kriesten:
>
> i just stumbled over another problem generating a form dynamically:
>
> i can't add an input field to a span. - textfields are only allowed to be
> applied to <input>-markup.
<snip/>
> ---8<---
> public class ItemListView
> extends ListView
> {
<snip/>
> @Override
> protected void populateItem( ListItem item )
> {
> Component component = itemresolver.resolve( item );
>
> if( component != null )
> item.add( component );
Here you need to add a Panel, not any Component.
--
Jean-Baptiste Quenot
aka John Banana Qwerty
http://caraldi.com/jbq/
-------------------------------------------------------------------------
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