T - The model object typepublic interface IComponentInheritedModel<T> extends IModel<T>
Form form = new Form("form", new ModelImplementingIInheritableModel());
new TextField("textfield"); // notice textfield is created with a null model
| Modifier and Type | Method and Description |
|---|---|
<W> IWrapModel<W> |
wrapOnInheritance(Component component) |
detach<W> IWrapModel<W> wrapOnInheritance(Component component)
W - the model object type of the wrapped modelcomponent - Copyright © 2006–2014 Apache Software Foundation. All rights reserved.