Example usage for org.apache.wicket.model AbstractReadOnlyModel subclass-usage

List of usage examples for org.apache.wicket.model AbstractReadOnlyModel subclass-usage

Introduction

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

Usage

From source file com.robmcguinness.models.SessionModel.java

/**
 * Model that displays whether if the application is stateless or stateful.
 * 
 * @author Eelco Hillenius
 */
public class SessionModel extends AbstractReadOnlyModel<String> {

From source file com.userweave.components.model.LocaleModel.java

@SuppressWarnings("serial")
public class LocaleModel extends AbstractReadOnlyModel {

    private final IModel model;
    private final Locale refLocale;

From source file cz.muni.fi.pa165.languageschoolweb.model.SessionModel.java

/**
 * Model that displays whether a session was created yet, and if it was, prints the session id.
 *
 * @author Eelco Hillenius
 */
public class SessionModel extends AbstractReadOnlyModel<String> {

From source file de.codepitbull.guice.model.TestServiceModel.java

public class TestServiceModel extends AbstractReadOnlyModel<String> {
    @Inject
    private TestService testService;
    {
        Injector.get().inject(this);
    }

From source file de.widone.web.model.CurrentUserModel.java

public class CurrentUserModel extends AbstractReadOnlyModel<User> {
    @Override
    public User getObject() {
        return ((WiDoneSession) WiDoneSession.get()).getUser();
    }
}

From source file de.widone.web.model.ListOfTaskListsModel.java

@Configurable
public class ListOfTaskListsModel extends AbstractReadOnlyModel<List<TaskList>> {
    @Inject
    private transient UserService userService;

    private IModel<User> userModel;

From source file de.widone.web.model.TaskListWIthTasksInitializedModel.java

@Configurable
public class TaskListWIthTasksInitializedModel extends AbstractReadOnlyModel<TaskList> {

    @Inject
    private transient TaskListService taskListService;

From source file dk.frankbille.scoreboard.components.FormatModel.java

public class FormatModel extends AbstractReadOnlyModel<String> {
    private static final long serialVersionUID = 1L;

    private final Format format;

    private final IModel<Object> objectModel;

From source file fiftyfive.wicket.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

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