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

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


                }
            };
            IColumn[] columns =
            {
                    new CheckBoxPropertyColumn(new Model(" "), "checked"),
                    new PropertyColumn(new ResourceModel("user.ruleName"),
                            "rule.locatorName"),
                    new PropertyColumn(new ResourceModel("user.ruleValue"),
                            "rule.profilingRule")};
            DataTable userRulesDataTable = new DataTable("entries", columns,
                    dataProvider, 10)
            {
View Full Code Here


                        }
                    }, "name"));
                }
               
            },
                    new PropertyColumn(new Model("Value"), "value"),
                    new PropertyColumn(new Model("Resolver Type"), "type"),
                    new PropertyColumn(new Model("Fallback Type"), "fallbackType"),
                    new PropertyColumn(new Model("Order"), "fallbackOrder") };
           
            DataTable ruleCriteriaTable = new DataTable("ruleCriteriaTable", columns, dataProvider, 10);

            ruleCriteriaTable.addTopToolbar(new HeadersToolbar(ruleCriteriaTable, dataProvider));
            ruleCriteriaTable.addBottomToolbar(new NavigationToolbar(ruleCriteriaTable));
View Full Code Here

                "Approval", "list"));

        approvalPaginatorRows = prefMan.getPaginatorRows(getRequest(), Constants.PREF_APPROVAL_PAGINATOR_ROWS);

        List<IColumn> columns = new ArrayList<IColumn>();
        columns.add(new PropertyColumn(new ResourceModel("taskId"), "taskId", "taskId"));
        columns.add(new PropertyColumn(new ResourceModel("key"), "key", "key"));
        columns.add(new PropertyColumn(new ResourceModel("description"), "description", "description"));
        columns.add(new DatePropertyColumn(new ResourceModel("createTime"), "createTime", "createTime"));
        columns.add(new DatePropertyColumn(new ResourceModel("dueDate"), "dueDate", "dueDate"));
        columns.add(new PropertyColumn(new ResourceModel("owner"), "owner", "owner"));
        columns.add(new AbstractColumn<WorkflowFormTO, String>(new ResourceModel("actions", "")) {

            private static final long serialVersionUID = 2054811145491901166L;

            @Override
View Full Code Here

                "UserRequest", "list"));

        userRequestPaginatorRows = prefMan.getPaginatorRows(getRequest(), Constants.PREF_USER_REQUEST_PAGINATOR_ROWS);

        List<IColumn> columns = new ArrayList<IColumn>();
        columns.add(new PropertyColumn(new ResourceModel("id"), "id", "id"));
        columns.add(new PropertyColumn(new ResourceModel("type"), "type", "type"));
        columns.add(new UserRequestColumn("user"));
        columns.add(new AbstractColumn<UserRequestTO, String>(new ResourceModel("actions", "")) {

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

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

        final int paginatorRows = 10;

        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 ActionColumn<TaskExecTO, String>(new ResourceModel("actions", "")) {

            private static final long serialVersionUID = 2054811145491901166L;
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

            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 : prefMan.getList(getRequest(), Constants.PREF_USERS_ATTRIBUTES_VIEW)) {
            columns.add(new UserAttrColumn(name, UserAttrColumn.SchemaType.schema));
        }

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

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

        // Add defaults in case of no selection
        if (columns.isEmpty()) {
            for (String name : DisplayAttributesModalPage.DEFAULT_SELECTION) {
                columns.add(new PropertyColumn(new ResourceModel(name, name), name, name));
            }

            prefMan.setList(getRequest(), getResponse(), Constants.PREF_USERS_DETAILS_VIEW,
                    DisplayAttributesModalPage.DEFAULT_SELECTION);
        }
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

        id.setEnabled(false);
        profile.add(id);

        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<TaskExecTO>(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.