Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

You can use the same technique described in http://cwiki.apache.org/WICKET/forms-with-dynamic-elements.htmlImage Removed to dynamically add components to a page.

...

Code Block
public class Component extends Panel
{
	public Component()
	{
		super( "component" );
                		add( new Label( "name" ), "component 1" );
	}
}

...