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

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


    }

    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


    }

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

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

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

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

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

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

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

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

*
*/
public abstract class ContactsDisplayPage extends BasePage {
  public ContactsDisplayPage() {
    IColumn[] cols = new IColumn[4];
    cols[0] = new PropertyColumn(new Model("first name"), "firstName",
        "firstName");
    cols[1] = new PropertyColumn(new Model("last name"), "lastName",
        "lastName");
    cols[2] = new PropertyColumn(new Model("home phone"), "homePhone");
    cols[3] = new PropertyColumn(new Model("cell phone"), "cellPhone");

    add(new DefaultDataTable("contacts", Arrays.asList(cols), getDataProvider(), 5));
  }
View Full Code Here

      {
        cellItem.add(new ActionPanel(componentId, model));
      }
    });

    columns.add(new PropertyColumn(new Model("ID"), "id"));
    columns.add(new PropertyColumn(new Model("First Name"), "firstName", "firstName"));
    columns.add(new PropertyColumn(new Model("Last Name"), "lastName", "lastName"));
    columns.add(new PropertyColumn(new Model("Home Phone"), "homePhone"));
    columns.add(new PropertyColumn(new Model("Cell Phone"), "cellPhone"));

    add(new DefaultDataTable("table", columns, new SortableContactDataProvider(), 8));
  }
View Full Code Here

      {
        cellItem.add(new ActionPanel(componentId, model));
      }
    });

    columns.add(new PropertyColumn(new Model("ID"), "id"));
    columns.add(new PropertyColumn(new Model("First Name"), "firstName", "firstName"));
    columns.add(new PropertyColumn(new Model("Last Name"), "lastName", "lastName"));
    columns.add(new PropertyColumn(new Model("Home Phone"), "homePhone"));
    columns.add(new PropertyColumn(new Model("Cell Phone"), "cellPhone"));

    add(new AjaxFallbackDefaultDataTable("table", columns, new SortableContactDataProvider(), 8));
  }
View Full Code Here

public abstract class ContactsDisplayPage extends BasePage
{
  public ContactsDisplayPage()
  {
    IColumn[] cols = new IColumn[4];
    cols[0] = new PropertyColumn(new Model("first name"), "firstName", "firstName");
    cols[1] = new PropertyColumn(new Model("last name"), "lastName", "lastName");
    cols[2] = new PropertyColumn(new Model("home phone"), "homePhone");
    cols[3] = new PropertyColumn(new Model("cell phone"), "cellPhone");

    add(new DefaultDataTable("contacts", Arrays.asList(cols), getDataProvider(), 5));
  }
View Full Code Here

   * Construct.
   */
  public ContactsDisplayPage()
  {
    IColumn<?>[] cols = new IColumn[4];
    cols[0] = new PropertyColumn(new Model<String>("first name"), "firstName", "firstName");
    cols[1] = new PropertyColumn(new Model<String>("last name"), "lastName", "lastName");
    cols[2] = new PropertyColumn(new Model<String>("home phone"), "homePhone");
    cols[3] = new PropertyColumn(new Model<String>("cell phone"), "cellPhone");

    add(new DefaultDataTable("contacts", Arrays.asList(cols), getDataProvider(), 5));
  }
View Full Code Here

      {
        cellItem.add(new ActionPanel(componentId, model));
      }
    });

    columns.add(new PropertyColumn(new Model("ID"), "id")
    {
      @Override
      public String getCssClass()
      {
        return "numeric";
      }
    });

    columns.add(new PropertyColumn(new Model("First Name"), "firstName", "firstName"));

    columns.add(new PropertyColumn(new Model("Last Name"), "lastName", "lastName")
    {
      @Override
      public String getCssClass()
      {
        return "last-name";
      }
    });

    columns.add(new PropertyColumn(new Model("Home Phone"), "homePhone"));
    columns.add(new PropertyColumn(new Model("Cell Phone"), "cellPhone"));

    add(new DefaultDataTable("table", columns, new SortableContactDataProvider(), 8));
  }
View Full Code Here

      {
        cellItem.add(new ActionPanel(componentId, model));
      }
    });

    columns.add(new PropertyColumn(new Model("ID"), "id"));
    columns.add(new PropertyColumn(new Model("First Name"), "firstName", "firstName"));
    columns.add(new PropertyColumn(new Model("Last Name"), "lastName", "lastName"));
    columns.add(new PropertyColumn(new Model("Home Phone"), "homePhone"));
    columns.add(new PropertyColumn(new Model("Cell Phone"), "cellPhone"));

    add(new AjaxFallbackDefaultDataTable("table", columns, new SortableContactDataProvider(), 8));
  }
View Full Code Here

                }
            };
            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

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.