@@ -0,0 +1,914 @@
+package fr.openwide.core.wicket.more.markup.html.basic;%0A%0Aimport org.apache.wicket.IGenericComponent;%0Aimport org.apache.wicket.MarkupContainer;%0Aimport org.apache.wicket.model.IModel;%0A%0Apublic class GenericMarkupContainer%3CT%3E extends MarkupContainer implements IGenericComponent%3CT%3E %7B%0A%0A%09private static final long serialVersionUID = 6524723170525068340L;%0A%0A%09public GenericMarkupContainer(String id) %7B%0A%09%09super(id);%0A%09%7D%0A%09%0A%09public GenericMarkupContainer(String id, IModel%3CT%3E model) %7B%0A%09%09super(id, model);%0A%09%7D%0A%0A%09@Override%0A%09public void setModel(IModel%3CT%3E model) %7B%0A%09%09setDefaultModel(model);%0A%09%7D%0A%09%0A%09@Override%0A%09@SuppressWarnings(%22unchecked%22)%0A%09public final IModel%3CT%3E getModel() %7B%0A%09%09return (IModel%3CT%3E) getDefaultModel();%0A%09%7D%0A%09%0A%09@Override%0A%09@SuppressWarnings(%22unchecked%22)%0A%09public final T getModelObject() %7B%0A%09%09return (T) getDefaultModelObject();%0A%09%7D%0A%0A%09@Override%0A%09public void setModelObject(T object) %7B%0A%09%09setDefaultModelObject(object);%0A%09%7D%0A%7D%0A

Ajout d'un GenericMarkupContainer.