wicket.model
Interface ICompoundModel
- All Superinterfaces:
- IDetachable, IModel, java.io.Serializable
- All Known Implementing Classes:
- BoundCompoundPropertyModel, CompoundPropertyModel
public interface ICompoundModel
- extends IModel
This is a marker interface for models that can be used as a shared/compound
model for multiply components.
If a model implements this interface then you can give the parent container
this model and all the child components will also get and then set that model
as there own.
Form form = new Form("form", new ModelImplementingICompoundModel());
form.add(new TextField("textfield"));
- Author:
- jcompagner
Copyright © 2004-2007 Wicket developers. All Rights Reserved.