Example usage for org.apache.wicket.model IComponentAssignedModel interface-usage

List of usage examples for org.apache.wicket.model IComponentAssignedModel interface-usage

Introduction

In this page you can find the example usage for org.apache.wicket.model IComponentAssignedModel interface-usage.

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.servoy.j2db.server.headlessclient.dataui.SortableCellViewHeaderGroup.java

/**
 * A model sorts a {@link WebCellBasedView} and keeps the sort state. 
 * 
 * @author jblok
 */
public class SortableCellViewHeaderGroup extends Model implements IComponentAssignedModel {

From source file com.servoy.j2db.server.headlessclient.dataui.StyleAttributeModifierModel.java

/**
 * This model/AttributeModifier can be attached to a {@link IComponent} (Wicket component) so that it 
 * will track its style changes through the {@link IProviderStylePropertyChanges} if the Wicket component does implement that one.
 * 
 * @author jcompagner
 * @since 5.0

From source file com.servoy.j2db.server.headlessclient.dataui.WebDefaultRecordNavigator.java

class FoundSetIndexModel extends Model implements IComponentAssignedModel {
    private static final long serialVersionUID = 1L;

    /** The ListView's list model */
    private final WebForm form;

From source file fr.openwide.core.wicket.markup.html.model.CountMessageModel.java

/**
 * Selects an appropriate localized string based on whether a count value is
 * zero, one or greater than one. This makes it easier to produce singluar and
 * plural phrases.
 * <p>
 * For example, consider the case where we would like to set one of these three

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.hippoecm.frontend.plugins.cms.dashboard.EventModel.java

public class EventModel implements IComponentAssignedModel<String> {

    private static final long ONE_MINUTE = 60 * 1000;
    private static final long FIVE_MINUTES = 5 * 60 * 1000;
    private static final long TEN_MINUTES = 10 * 60 * 1000;
    private static final long HALF_AN_HOUR = 30 * 60 * 1000;

From source file org.wicketstuff.minis.model.ReplacingResourceModel.java

/**
 * The ReplacingResourceModel is used to replaced other keys marked up like ${key} with their
 * corresponding values in the given key.The replacing mechanism also uses the default way to get
 * the localized String.<br>
 * <br>
 *