Package org.apache.wicket.extensions.markup.html.repeater.data.table

Examples of org.apache.wicket.extensions.markup.html.repeater.data.table.PropertyColumn


        paginatorRows = prefMan.getPaginatorRows(getWebRequest(), Constants.PREF_NOTIFICATION_TASKS_PAGINATOR_ROWS);

        columns = new ArrayList<IColumn<TaskTO>>();

        columns.add(new PropertyColumn(new ResourceModel("id"), "id", "id"));
        columns.add(new PropertyColumn(new ResourceModel("sender"), "sender", "sender"));
        columns.add(new PropertyColumn(new ResourceModel("recipients"), "recipients", "recipients"));
        columns.add(new PropertyColumn(new ResourceModel("subject"), "subject", "subject"));
        columns.add(new PropertyColumn(new ResourceModel("traceLevel"), "traceLevel", "traceLevel"));
        columns.add(new PropertyColumn(new ResourceModel("latestExecStatus"), "latestExecStatus", "latestExecStatus"));

        columns.add(new AbstractColumn<TaskTO>(new ResourceModel("actions", "")) {

            private static final long serialVersionUID = 2054811145491901166L;
View Full Code Here


                "Reports", "list"));

        paginatorRows = prefMan.getPaginatorRows(getRequest(), Constants.PREF_REPORT_PAGINATOR_ROWS);

        List<IColumn> columns = new ArrayList<IColumn>();
        columns.add(new PropertyColumn(new ResourceModel("id"), "id", "id"));
        columns.add(new PropertyColumn(new ResourceModel("name"), "name", "name"));
        columns.add(new DatePropertyColumn(new ResourceModel("lastExec"), "lastExec", "lastExec"));
        columns.add(new DatePropertyColumn(new ResourceModel("nextExec"), "nextExec", "nextExec"));
        columns.add(new PropertyColumn(new ResourceModel("latestExecStatus"), "latestExecStatus", "latestExecStatus"));
        columns.add(new AbstractColumn<ReportTO>(new ResourceModel("actions", "")) {

            private static final long serialVersionUID = 2054811145491901166L;

            @Override
View Full Code Here

            if ("token".equalsIgnoreCase(name)) {
                columns.add(new TokenColumn("token"));
            } else if (field != null && field.getType().equals(Date.class)) {
                columns.add(new DatePropertyColumn<UserTO>(new ResourceModel(name, name), name, name));
            } else {
                columns.add(new PropertyColumn(new ResourceModel(name, name), name, name));
            }
        }

        for (String name : preferences.getList(getRequest(), Constants.PREF_USERS_ATTRIBUTES_VIEW)) {
            columns.add(new UserAttrColumn(name, UserAttrColumn.SchemaType.schema));
        }

        for (String name : preferences.getList(getRequest(), Constants.PREF_USERS_DERIVED_ATTRIBUTES_VIEW)) {
            columns.add(new UserAttrColumn(name, UserAttrColumn.SchemaType.derivedSchema));
        }

        for (String name : preferences.getList(getRequest(), Constants.PREF_USERS_VIRTUAL_ATTRIBUTES_VIEW)) {
            columns.add(new UserAttrColumn(name, UserAttrColumn.SchemaType.virtualSchema));
        }

        // Add defaults in case of empty selections
        if (columns.isEmpty()) {
            columns.add(new PropertyColumn(new ResourceModel("id", "id"), "id", "id"));
            columns.add(new PropertyColumn(new ResourceModel("username", "username"), "username", "username"));
            columns.add(new PropertyColumn(new ResourceModel("status", "status"), "status", "status"));
        }

        columns.add(new AbstractColumn<UserTO>(new ResourceModel("actions", "")) {

            private static final long serialVersionUID = 2054811145491901166L;
View Full Code Here

            }
        });
        add(reportExecExportWin);

        final List<IColumn> columns = new ArrayList<IColumn>();
        columns.add(new PropertyColumn(new ResourceModel("id"), "id", "id"));
        columns.add(new DatePropertyColumn(new ResourceModel("startDate"), "startDate", "startDate"));
        columns.add(new DatePropertyColumn(new ResourceModel("endDate"), "endDate", "endDate"));
        columns.add(new PropertyColumn(new ResourceModel("status"), "status", "status"));
        columns.add(new AbstractColumn<ReportExecTO>(new ResourceModel("actions", "")) {

            private static final long serialVersionUID = 2054811145491901166L;

            @Override
View Full Code Here

        setWindowClosedCallback(mwindow, container);

        final List<IColumn> columns = new ArrayList<IColumn>();

        columns.add(new PropertyColumn(new ResourceModel("id"), "id", "id"));

        columns.add(new PropertyColumn(new ResourceModel("description"), "description", "description"));

        columns.add(new AbstractColumn<PolicyTO>(new ResourceModel("type")) {

            private static final long serialVersionUID = 8263694778917279290L;
View Full Code Here

    private void setupSyncopeConf() {
        confPaginatorRows = prefMan.getPaginatorRows(getRequest(), Constants.PREF_CONFIGURATION_PAGINATOR_ROWS);

        List<IColumn> confColumns = new ArrayList<IColumn>();

        confColumns.add(new PropertyColumn(new ResourceModel("key"), "key", "key"));

        confColumns.add(new PropertyColumn(new ResourceModel("value"), "value", "value"));

        confColumns.add(new AbstractColumn<ConfigurationTO>(new ResourceModel("actions", "")) {

            private static final long serialVersionUID = 2054811145491901166L;
View Full Code Here

    private void setupNotification() {
        notificationPaginatorRows = prefMan.getPaginatorRows(getRequest(), Constants.PREF_NOTIFICATION_PAGINATOR_ROWS);

        List<IColumn> notificationCols = new ArrayList<IColumn>();
        notificationCols.add(new PropertyColumn(new ResourceModel("id"), "id", "id"));
        notificationCols.add(new PropertyColumn(new ResourceModel("events"), "events", "events"));
        notificationCols.add(new PropertyColumn(new ResourceModel("subject"), "subject", "subject"));
        notificationCols.add(new PropertyColumn(new ResourceModel("template"), "template", "template"));
        notificationCols.add(new PropertyColumn(new ResourceModel("traceLevel"), "traceLevel", "traceLevel"));

        notificationCols.add(new AbstractColumn<NotificationTO>(new ResourceModel("actions", "")) {

            private static final long serialVersionUID = 2054811145491901166L;
View Full Code Here

        paginatorRows = prefMan.getPaginatorRows(getWebRequest(), Constants.PREF_SCHED_TASKS_PAGINATOR_ROWS);

        columns = new ArrayList<IColumn<TaskTO>>();

        columns.add(new PropertyColumn(new ResourceModel("id"), "id", "id"));

        columns.add(new PropertyColumn(new ResourceModel("class"), "jobClassName", "jobClassName"));

        columns.add(new DatePropertyColumn(new ResourceModel("lastExec"), "lastExec", "lastExec"));

        columns.add(new DatePropertyColumn(new ResourceModel("nextExec"), "nextExec", "nextExec"));

        columns.add(new PropertyColumn(new ResourceModel("latestExecStatus"), "latestExecStatus", "latestExecStatus"));

        columns.add(new AbstractColumn<TaskTO>(new ResourceModel("actions", "")) {

            private static final long serialVersionUID = 2054811145491901166L;
View Full Code Here

        paginatorRows = prefMan.getPaginatorRows(getWebRequest(), Constants.PREF_PROPAGATION_TASKS_PAGINATOR_ROWS);

        columns = new ArrayList<IColumn<TaskTO>>();

        columns.add(new PropertyColumn(new ResourceModel("id"), "id", "id"));

        columns.add(new PropertyColumn(new ResourceModel("resource"), "resource", "resource"));

        columns.add(new PropertyColumn(new ResourceModel("accountId"), "accountId", "accountId"));

        columns.add(new PropertyColumn(new ResourceModel("propagationMode"), "propagationMode", "propagationMode"));

        columns.add(new PropertyColumn(new ResourceModel("propagationOperation"), "propagationOperation",
                "propagationOperation"));

        columns.add(new PropertyColumn(new ResourceModel("latestExecStatus"), "latestExecStatus", "latestExecStatus"));

        columns.add(new AbstractColumn<TaskTO>(new ResourceModel("actions", "")) {

            private static final long serialVersionUID = 2054811145491901166L;
View Full Code Here

    }

    private void setupResources() {
        List<IColumn> columns = new ArrayList<IColumn>();

        columns.add(new PropertyColumn(new ResourceModel("name"), "name", "name"));
        columns.add(new PropertyColumn(new ResourceModel("propagationPrimary"), "propagationPrimary",
                "propagationPrimary"));
        columns.add(new PropertyColumn(new ResourceModel("propagationPriority"), "propagationPriority",
                "propagationPriority"));

        columns.add(new AbstractColumn<ResourceTO>(new ResourceModel("actions", "")) {

            private static final long serialVersionUID = 2054811145491901166L;
View Full Code Here

TOP

Related Classes of org.apache.wicket.extensions.markup.html.repeater.data.table.PropertyColumn

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.