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

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


    int rowsPerPage, IModel<Set<T>> state)
  {
    super(id, columns, provider, rowsPerPage, state);

    getTable().addTopToolbar(new NavigationToolbar(getTable()));
    getTable().addTopToolbar(new HeadersToolbar(getTable(), provider));
    getTable().addBottomToolbar(new NoRecordsToolbar(getTable()));

    add(new WindowsTheme());
  }
View Full Code Here


                protected Item newRowItem(String id, int index, IModel model)
                {
                    return new PortletOddEvenItem(id, index, model);
                }
            };
            userRulesDataTable.addTopToolbar(new HeadersToolbar(
                    userRulesDataTable, dataProvider));
            userRulesDataTable.addBottomToolbar(new NavigationToolbar(
                    userRulesDataTable));
            userRulesForm.add(userRulesDataTable);
            userRulesForm.add(new Button("submit", new ResourceModel(
View Full Code Here

                    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));
            ruleEditForm.add(ruleCriteriaTable);

            Button newCriterionButton = new Button("newCriterionButton",new ResourceModel("criteria.new")) {
View Full Code Here

      protected Item<Foo> newRowItem(String id, int index, IModel<Foo> model)
      {
        return new OddEvenItem<Foo>(id, index, model);
      }
    };
    tree.getTable().addTopToolbar(new HeadersToolbar(tree.getTable(), null));
    tree.getTable().addBottomToolbar(new NoRecordsToolbar(tree.getTable()));
    return tree;
  }
View Full Code Here

    int rowsPerPage, IModel<Set<T>> state)
  {
    super(id, columns, provider, rowsPerPage, state);

    getTable().addTopToolbar(new NavigationToolbar(getTable()));
    getTable().addTopToolbar(new HeadersToolbar(getTable(), provider));
    getTable().addBottomToolbar(new NoRecordsToolbar(getTable()));

    add(new WindowsTheme());
  }
View Full Code Here

   
    FilterToolbar filterToolbar = new FilterToolbar(tableWithFilterForm, filterForm, null);
   
    tableWithFilterForm.addTopToolbar(filterToolbar);
    tableWithFilterForm.addTopToolbar(new NavigationToolbar(tableWithFilterForm));
    tableWithFilterForm.addTopToolbar(new HeadersToolbar(tableWithFilterForm, dataProvider));
    filterForm.add(tableWithFilterForm);
  }
View Full Code Here

                protected Item newRowItem(String id, int index, IModel model)
                {
                    return new PortletOddEvenItem(id, index, model);
                }
            };
            userRulesDataTable.addTopToolbar(new HeadersToolbar(
                    userRulesDataTable, dataProvider));
            userRulesDataTable.addBottomToolbar(new NavigationToolbar(
                    userRulesDataTable));
            userRulesForm.add(userRulesDataTable);
            userRulesForm.add(new Button("submit", new ResourceModel(
View Full Code Here

      protected Item<TimesheetDO> newRowItem(final String id, final int index, final IModel<TimesheetDO> model)
      {
        return new OddEvenItem<TimesheetDO>(id, index, model);
      }
    };
    final HeadersToolbar headersToolbar = new HeadersToolbar(dataTable, null);
    dataTable.addTopToolbar(headersToolbar);
    table.add(dataTable);
  }
View Full Code Here

      protected Item<Foo> newRowItem(String id, int index, IModel<Foo> model)
      {
        return new OddEvenItem<Foo>(id, index, model);
      }
    };
    tree.getTable().addTopToolbar(new HeadersToolbar(tree.getTable(), null));
    tree.getTable().addBottomToolbar(new NoRecordsToolbar(tree.getTable()));
    return tree;
  }
View Full Code Here

                protected Item newRowItem(String id, int index, IModel model)
                {
                    return new PortletOddEvenItem(id, index, model);
                }
            };
            userRulesDataTable.addTopToolbar(new HeadersToolbar(
                    userRulesDataTable, dataProvider));
            userRulesDataTable.addBottomToolbar(new NavigationToolbar(
                    userRulesDataTable));
            userRulesForm.add(userRulesDataTable);
            userRulesForm.add(new Button("submit", new ResourceModel(
View Full Code Here

TOP

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

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.