List of usage examples for org.apache.wicket.model IWrapModel interface-usage
From source file com.googlecode.wicketwebbeans.model.BeanPropertyModel.java
/**
* An extension of PropertyModel so that we can get the backing bean and check for
* modifications. We only set the bean property if the value from the form has changed with respect
* to the value that was retrieved from the model when the form was rendered.
* This is important because setting one property on a bean via this model may cause other properties to be
* set indirectly. Wicket dumps the whole form back every time and we do not want to wipe out those
From source file com.lyndir.lhunath.opal.wayward.model.ModelProvider.java
/**
* <h2>{@link ModelProvider}<br> <sub>A base class for {@link IModel} providers.</sub></h2>
*
* <p> Model providers are classes that serve to extract the maintenance of a component's models from the component's logic. </p>
*
* <p> Generally, you would create a {@link ModelProvider} for each component that you have a top-level class for. The {@link
From source file org.cdlflex.ui.fruit.model.FilterModel.java
/** * Readonly model that returns a {@code org.cdlflex.fruit.Filter} from a {@link IFilterProvider}. */ public class FilterModel extends AbstractReadOnlyModel<Filter> implements IFilterProvider, IWrapModel<Filter> { private static final long serialVersionUID = 1L;
From source file org.cdlflex.ui.model.IGenericWrapModel.java
/**
* Typesafe interface extension of IWrapModel which wraps another model.
*
* @param <T> The model type
* @param <W> The wrapped model type
*/
From source file org.devgateway.eudevfin.ui.common.models.WrappingModel.java
/**
* Abstract model that allows the custom converting models (eg: {@link org.devgateway.eudevfin.dim.core.models.BigMoneyModel}, etc)
* to proxy a {@link RWComponentPropertyModel} without intercepting the wrapOnAssignment call,
* but passing it through. This allows the {@link org.apache.wicket.model.CompoundPropertyModel} to do it's work and bind the parent model
* to the RWComponentPropertyModel
*
From source file org.devgateway.eudevfin.ui.common.RWComponentPropertyModel.java
public class RWComponentPropertyModel<T> implements IComponentAssignedModel<T>, IWrapModel<T> { private static final long serialVersionUID = 1L; /** * Name of property to read */
From source file org.devgateway.toolkit.forms.models.SubComponentWrapModel.java
/** * @author mpostelnicu * */ public class SubComponentWrapModel<T> implements IWrapModel<T> {