• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

Java FilterForm类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了Java中org.apache.wicket.extensions.markup.html.repeater.data.table.filter.FilterForm的典型用法代码示例。如果您正苦于以下问题:Java FilterForm类的具体用法?Java FilterForm怎么用?Java FilterForm使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



FilterForm类属于org.apache.wicket.extensions.markup.html.repeater.data.table.filter包,在下文中一共展示了FilterForm类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: doInitialize

import org.apache.wicket.extensions.markup.html.repeater.data.table.filter.FilterForm; //导入依赖的package包/类
@Override
protected void doInitialize(Border layout) {
    add(layout);

    RoleProvider provider = new RoleProvider();
    provider.selectField("roleId", String.class);

    FilterForm<Map<String, String>> filterForm = new FilterForm<>("filter-form", provider);
    layout.add(filterForm);

    List<IColumn<Map<String, Object>, String>> columns = new ArrayList<>();
    columns.add(new TextFilterColumn(provider, ItemClass.String, Model.of("name"), "name", this::modelValue));
    columns.add(new TextFilterColumn(provider, ItemClass.String, Model.of("description"), "description", this::modelValue));
    columns.add(new TextFilterColumn(provider, ItemClass.Boolean, Model.of("system"), "system", this::modelValue));
    columns.add(new ActionFilterColumn(Model.of("action"), this::actions, this::clickable, this::itemCss, this::itemClick));

    DataTable<Map<String, Object>, String> dataTable = new DefaultDataTable<>("table", columns, provider, 20);
    dataTable.addTopToolbar(new FilterToolbar(dataTable, filterForm));
    filterForm.add(dataTable);

    BookmarkablePageLink<Void> refreshLink = new BookmarkablePageLink<>("refreshLink", RoleBrowsePage.class);
    layout.add(refreshLink);

    BookmarkablePageLink<Void> createLink = new BookmarkablePageLink<>("createLink", RoleCreatePage.class);
    layout.add(createLink);
}
 
开发者ID:PkayJava,项目名称:MBaaS,代码行数:27,代码来源:RoleBrowsePage.java


示例2: doInitialize

import org.apache.wicket.extensions.markup.html.repeater.data.table.filter.FilterForm; //导入依赖的package包/类
@Override
protected void doInitialize(Border layout) {
    add(layout);

    SectionProvider provider = new SectionProvider();
    provider.selectField("sectionId", String.class);

    FilterForm<Map<String, String>> filterForm = new FilterForm<>("filter-form", provider);
    layout.add(filterForm);

    List<IColumn<Map<String, Object>, String>> columns = new ArrayList<>();
    columns.add(new TextFilterColumn(provider, ItemClass.String, Model.of("title"), "title", this::modelValue));
    columns.add(new TextFilterColumn(provider, ItemClass.Boolean, Model.of("system"), "system", this::modelValue));
    columns.add(new ActionFilterColumn(Model.of("action"), this::actions, this::clickable, this::itemCss, this::itemClick));

    DataTable<Map<String, Object>, String> dataTable = new DefaultDataTable<>("table", columns, provider, 20);
    dataTable.addTopToolbar(new FilterToolbar(dataTable, filterForm));
    filterForm.add(dataTable);

    BookmarkablePageLink<Void> refreshLink = new BookmarkablePageLink<>("refreshLink", SectionBrowsePage.class);
    layout.add(refreshLink);

    BookmarkablePageLink<Void> createLink = new BookmarkablePageLink<>("createLink", SectionCreatePage.class);
    layout.add(createLink);
}
 
开发者ID:PkayJava,项目名称:MBaaS,代码行数:26,代码来源:SectionBrowsePage.java


示例3: doInitialize

import org.apache.wicket.extensions.markup.html.repeater.data.table.filter.FilterForm; //导入依赖的package包/类
@Override
protected void doInitialize(Border layout) {
    add(layout);

    FileProvider provider = new FileProvider();

    FilterForm<Map<String, String>> filterForm = new FilterForm<>("filter-form", provider);
    layout.add(filterForm);

    List<IColumn<Map<String, Object>, String>> columns = new ArrayList<>();
    columns.add(new TextFilterColumn(provider, ItemClass.String, Model.of("fileId"), "fileId", this::modelValue));
    columns.add(new TextFilterColumn(provider, ItemClass.String, Model.of("name"), "name", this::modelValue));
    columns.add(new TextFilterColumn(provider, ItemClass.Integer, Model.of("length"), "length", this::modelValue));
    columns.add(new TextFilterColumn(provider, ItemClass.String, Model.of("mime"), "mime", this::modelValue));
    columns.add(new ActionFilterColumn(Model.of("action"), this::actions, this::clickable, this::itemCss, this::itemClick));

    this.dataTable = new DefaultDataTable<>("table", columns, provider, 17);
    this.dataTable.addTopToolbar(new FilterToolbar(this.dataTable, filterForm));
    filterForm.add(this.dataTable);

    BookmarkablePageLink<Void> refreshLink = new BookmarkablePageLink<>("refreshLink", FileBrowsePage.class);
    layout.add(refreshLink);
}
 
开发者ID:PkayJava,项目名称:MBaaS,代码行数:24,代码来源:FileBrowsePage.java


示例4: customerDataTable

import org.apache.wicket.extensions.markup.html.repeater.data.table.filter.FilterForm; //导入依赖的package包/类
private void customerDataTable(CustomerDataProvider customerDataProvider) {

		filterForm = new FilterForm<CustomerFilter>("filterForm", customerDataProvider);
		queue(filterForm);

		List<IColumn<Customer, CustomerSort>> columns = new ArrayList<>();
		columns.add(idColumn());
		columns.add(usernameColumn());
		columns.add(firstnameColumn());
		columns.add(lastnameColumn());
		columns.add(activeColumn());
		columns.add(actionColumn());

		DataTable<Customer, CustomerSort> dataTable = new AjaxFallbackDefaultDataTable<Customer, CustomerSort>("table", columns,
				customerDataProvider, 10);
		FilterToolbar filterToolbar = new FilterToolbar(dataTable, filterForm);

		dataTable.addTopToolbar(filterToolbar);
		queue(dataTable);
	}
 
开发者ID:MarcGiffing,项目名称:wicket-spring-boot,代码行数:21,代码来源:CustomerListPage.java


示例5: doInitialize

import org.apache.wicket.extensions.markup.html.repeater.data.table.filter.FilterForm; //导入依赖的package包/类
@Override
protected void doInitialize(Border layout) {
    add(layout);

    RestProvider provider = new RestProvider();
    provider.selectField("restId", String.class);
    provider.selectField("system", Boolean.class);
    provider.selectField("dateModified", Date.class);
    provider.setSort("dateModified", SortOrder.DESCENDING);

    FilterForm<Map<String, String>> filterForm = new FilterForm<>("filter-form", provider);
    layout.add(filterForm);

    List<IColumn<Map<String, Object>, String>> columns = new ArrayList<>();
    columns.add(new TextFilterColumn(provider, ItemClass.String, Model.of("name"), "name", this::modelValue));
    columns.add(new TextFilterColumn(provider, ItemClass.String, Model.of("method"), "method", this::modelValue));
    columns.add(new TextFilterColumn(provider, ItemClass.String, Model.of("path"), "path", this::modelValue));
    columns.add(new ActionFilterColumn(Model.of("action"), this::actions, this::clickable, this::itemCss, this::itemClick));

    this.dataTable = new DefaultDataTable<>("table", columns, provider, 20);
    this.dataTable.addTopToolbar(new FilterToolbar(this.dataTable, filterForm));
    filterForm.add(this.dataTable);

    BookmarkablePageLink<Void> createLink = new BookmarkablePageLink<>("createLink", RestCreatePage.class);
    layout.add(createLink);

    BookmarkablePageLink<Void> refreshLink = new BookmarkablePageLink<>("refreshLink", RestBrowsePage.class);
    layout.add(refreshLink);
}
 
开发者ID:PkayJava,项目名称:MBaaS,代码行数:30,代码来源:RestBrowsePage.java


示例6: doInitialize

import org.apache.wicket.extensions.markup.html.repeater.data.table.filter.FilterForm; //导入依赖的package包/类
@Override
protected void doInitialize(Border layout) {
    add(layout);
    CollectionProvider provider = new CollectionProvider();
    provider.setSort("name", SortOrder.ASCENDING);
    provider.selectField("collectionId", String.class);

    FilterForm<Map<String, String>> filterForm = new FilterForm<>("filter-form", provider);
    layout.add(filterForm);

    List<IColumn<Map<String, Object>, String>> columns = new ArrayList<>();
    columns.add(new TextFilterColumn(provider, ItemClass.String, Model.of("name"), "name", this::modelValue));
    columns.add(new TextFilterColumn(provider, ItemClass.Boolean, Model.of("system"), "system", this::modelValue));
    columns.add(new TextFilterColumn(provider, ItemClass.Boolean, Model.of("locked"), "locked", this::modelValue));
    columns.add(new TextFilterColumn(provider, ItemClass.Boolean, Model.of("mutable"), "mutable", this::modelValue));
    columns.add(new ActionFilterColumn(Model.of("action"), this::actions, this::clickable, this::itemCss, this::itemClick));

    this.dataTable = new DefaultDataTable<>("table", columns, provider, 20);
    this.dataTable.addTopToolbar(new FilterToolbar(this.dataTable, filterForm));
    filterForm.add(this.dataTable);

    BookmarkablePageLink<Void> refreshLink = new BookmarkablePageLink<>("refreshLink", CollectionBrowsePage.class);
    layout.add(refreshLink);

    BookmarkablePageLink<Void> createLink = new BookmarkablePageLink<>("createLink", CollectionCreatePage.class);
    layout.add(createLink);
}
 
开发者ID:PkayJava,项目名称:MBaaS,代码行数:28,代码来源:CollectionBrowsePage.java


示例7: doInitialize

import org.apache.wicket.extensions.markup.html.repeater.data.table.filter.FilterForm; //导入依赖的package包/类
@Override
protected void doInitialize(Border layout) {
    add(layout);

    MenuProvider provider = new MenuProvider();
    provider.selectField("menuId", String.class);

    FilterForm<Map<String, String>> filterForm = new FilterForm<>("filter-form", provider);
    layout.add(filterForm);

    List<IColumn<Map<String, Object>, String>> columns = new ArrayList<>();
    columns.add(new TextFilterColumn(provider, ItemClass.String, Model.of("title"), "title", this::modelValue));
    columns.add(new TextFilterColumn(provider, ItemClass.String, Model.of("icon"), "icon", this::modelValue));
    columns.add(new TextFilterColumn(provider, ItemClass.String, Model.of("parent"), "parent", this::modelValue));
    columns.add(new TextFilterColumn(provider, ItemClass.String, Model.of("section"), "section", this::modelValue));
    columns.add(new TextFilterColumn(provider, ItemClass.Boolean, Model.of("system"), "system", this::modelValue));
    columns.add(new ActionFilterColumn(Model.of("action"), this::actions, this::clickable, this::itemCss, this::itemClick));

    DataTable<Map<String, Object>, String> dataTable = new DefaultDataTable<>("table", columns, provider, 20);
    dataTable.addTopToolbar(new FilterToolbar(dataTable, filterForm));
    filterForm.add(dataTable);

    BookmarkablePageLink<Void> refreshLink = new BookmarkablePageLink<>("refreshLink", MenuBrowsePage.class);
    layout.add(refreshLink);

    BookmarkablePageLink<Void> createLink = new BookmarkablePageLink<>("createLink", MenuCreatePage.class);
    layout.add(createLink);
}
 
开发者ID:PkayJava,项目名称:MBaaS,代码行数:29,代码来源:MenuBrowsePage.java


示例8: doInitialize

import org.apache.wicket.extensions.markup.html.repeater.data.table.filter.FilterForm; //导入依赖的package包/类
@Override
protected void doInitialize(Border layout) {
    add(layout);

    MenuItemProvider provider = new MenuItemProvider();
    provider.selectField("menuItemId", String.class);

    FilterForm<Map<String, String>> filterForm = new FilterForm<>("filter-form", provider);
    layout.add(filterForm);

    List<IColumn<Map<String, Object>, String>> columns = new ArrayList<>();
    columns.add(new TextFilterColumn(provider, ItemClass.String, Model.of("title"), "title", this::modelValue));
    columns.add(new TextFilterColumn(provider, ItemClass.String, Model.of("icon"), "icon", this::modelValue));
    columns.add(new TextFilterColumn(provider, ItemClass.String, Model.of("page"), "page", this::modelValue));
    columns.add(new TextFilterColumn(provider, ItemClass.String, Model.of("menu"), "menu", this::modelValue));
    columns.add(new TextFilterColumn(provider, ItemClass.String, Model.of("section"), "section", this::modelValue));
    columns.add(new TextFilterColumn(provider, ItemClass.Boolean, Model.of("system"), "system", this::modelValue));
    columns.add(new ActionFilterColumn(Model.of("action"), this::actions, this::clickable, this::itemCss, this::itemClick));

    dataTable = new DefaultDataTable<>("table", columns, provider, 20);
    dataTable.addTopToolbar(new FilterToolbar(dataTable, filterForm));
    filterForm.add(dataTable);

    BookmarkablePageLink<Void> refreshLink = new BookmarkablePageLink<>("refreshLink", MenuItemBrowsePage.class);
    layout.add(refreshLink);

    BookmarkablePageLink<Void> createLink = new BookmarkablePageLink<>("createLink", MenuItemCreatePage.class);
    layout.add(createLink);
}
 
开发者ID:PkayJava,项目名称:MBaaS,代码行数:30,代码来源:MenuItemBrowsePage.java


示例9: doInitialize

import org.apache.wicket.extensions.markup.html.repeater.data.table.filter.FilterForm; //导入依赖的package包/类
@Override
protected void doInitialize(Border layout) {
    add(layout);

    PageProvider provider = new PageProvider();
    provider.setSort("title", SortOrder.ASCENDING);
    provider.selectField("pageId", String.class);
    provider.selectField("cmsPage", Boolean.class);
    provider.selectField("dateModified", Date.class);
    provider.setSort("dateModified", SortOrder.DESCENDING);

    FilterForm<Map<String, String>> filterForm = new FilterForm<>("filter-form", provider);
    layout.add(filterForm);

    List<IColumn<Map<String, Object>, String>> columns = new ArrayList<>();
    columns.add(new TextFilterColumn(provider, ItemClass.String, Model.of("title"), "title", this::modelValue));
    columns.add(new TextFilterColumn(provider, ItemClass.String, Model.of("description"), "description", this::modelValue));
    columns.add(new TextFilterColumn(provider, ItemClass.String, Model.of("layout"), "layout", this::modelValue));
    columns.add(new TextFilterColumn(provider, ItemClass.Boolean, Model.of("system"), "system", this::modelValue));
    columns.add(new TextFilterColumn(provider, ItemClass.Boolean, Model.of("cms"), "cmsPage", this::modelValue));
    columns.add(new ActionFilterColumn(Model.of("action"), this::actions, this::clickable, this::itemCss, this::itemClick));

    dataTable = new DefaultDataTable<>("table", columns, provider, 20);
    dataTable.addTopToolbar(new FilterToolbar(dataTable, filterForm));
    filterForm.add(dataTable);

    BookmarkablePageLink<Void> refreshLink = new BookmarkablePageLink<>("refreshLink", PageBrowsePage.class);
    layout.add(refreshLink);

    BookmarkablePageLink<Void> createLink = new BookmarkablePageLink<>("createLink", PageCreatePage.class);
    layout.add(createLink);
}
 
开发者ID:PkayJava,项目名称:MBaaS,代码行数:33,代码来源:PageBrowsePage.java


示例10: doInitialize

import org.apache.wicket.extensions.markup.html.repeater.data.table.filter.FilterForm; //导入依赖的package包/类
@Override
protected void doInitialize(Border layout) {
    add(layout);

    DSLContext context = Spring.getBean(DSLContext.class);
    CollectionTable collectionTable = Tables.COLLECTION.as("collectionTable");
    AttributeTable attributeTable = Tables.ATTRIBUTE.as("attributeTable");

    String collectionId = getPageParameters().get("collectionId").toString();
    this.collection = context.select(collectionTable.fields()).from(collectionTable).where(collectionTable.COLLECTION_ID.eq(collectionId)).fetchOneInto(CollectionPojo.class);
    List<AttributePojo> attributes = context.select(attributeTable.fields()).from(attributeTable).where(attributeTable.COLLECTION_ID.eq(collectionId)).fetchInto(AttributePojo.class);

    this.provider = new DocumentProvider(collectionId);

    FilterForm<Map<String, String>> filterForm = new FilterForm<>("filter-form", this.provider);
    layout.add(filterForm);

    List<IColumn<Map<String, Object>, String>> columns = new ArrayList<>();
    for (AttributePojo attribute : attributes) {
        TypeEnum type = TypeEnum.valueOf(attribute.getType());
        ProviderUtils.addColumn(this.provider, columns, attribute, type);
    }

    columns.add(new ActionFilterColumn(Model.of("action"), this::actions, this::clickable, this::itemCss, this::itemClick));

    DataTable<Map<String, Object>, String> dataTable = new DefaultDataTable<>("table", columns, provider, 20);
    dataTable.addTopToolbar(new FilterToolbar(dataTable, filterForm));
    filterForm.add(dataTable);

    BookmarkablePageLink<Void> refreshLink = new BookmarkablePageLink<>("refreshLink", DocumentBrowsePage.class, getPageParameters());
    layout.add(refreshLink);

    BookmarkablePageLink<Void> createLink = new BookmarkablePageLink<>("createLink", DocumentCreatePage.class, getPageParameters());
    layout.add(createLink);

    BookmarkablePageLink<Void> collectionBrowseLink = new BookmarkablePageLink<>("collectionBrowseLink", CollectionBrowsePage.class);
    layout.add(collectionBrowseLink);
}
 
开发者ID:PkayJava,项目名称:MBaaS,代码行数:39,代码来源:DocumentBrowsePage.java


示例11: doInitialize

import org.apache.wicket.extensions.markup.html.repeater.data.table.filter.FilterForm; //导入依赖的package包/类
@Override
protected void doInitialize(Border layout) {
    add(layout);

    LayoutProvider provider = new LayoutProvider();
    provider.selectField("layoutId", String.class);
    provider.selectField("cmsLayout", Boolean.class);
    provider.selectField("dateModified", Date.class);
    provider.setSort("dateModified", SortOrder.DESCENDING);

    FilterForm<Map<String, String>> filterForm = new FilterForm<>("filter-form", provider);
    layout.add(filterForm);

    List<IColumn<Map<String, Object>, String>> columns = new ArrayList<>();
    columns.add(new TextFilterColumn(provider, ItemClass.String, Model.of("title"), "title", this::modelValue));
    columns.add(new TextFilterColumn(provider, ItemClass.String, Model.of("description"), "description", this::modelValue));
    columns.add(new TextFilterColumn(provider, ItemClass.Boolean, Model.of("system"), "system", this::modelValue));
    columns.add(new TextFilterColumn(provider, ItemClass.Boolean, Model.of("cms"), "cmsLayout", this::modelValue));
    columns.add(new ActionFilterColumn(Model.of("action"), this::actions, this::clickable, this::itemCss, this::itemClick));

    this.dataTable = new DefaultDataTable<>("table", columns, provider, 20);
    this.dataTable.addTopToolbar(new FilterToolbar(this.dataTable, filterForm));
    filterForm.add(this.dataTable);

    BookmarkablePageLink<Void> refreshLink = new BookmarkablePageLink<>("refreshLink", LayoutBrowsePage.class);
    layout.add(refreshLink);

    BookmarkablePageLink<Void> createLink = new BookmarkablePageLink<>("createLink", LayoutCreatePage.class);
    layout.add(createLink);
}
 
开发者ID:PkayJava,项目名称:MBaaS,代码行数:31,代码来源:LayoutBrowsePage.java


示例12: AbstractTextFieldFilter

import org.apache.wicket.extensions.markup.html.repeater.data.table.filter.FilterForm; //导入依赖的package包/类
public AbstractTextFieldFilter(final String id, final IModel<T> model, final FilterForm<?> form)
{
	super(id, form);
	filter =  createTextFieldComponent("filter", model);
	enableFocusTracking(filter);
	add(filter);
}
 
开发者ID:MarcGiffing,项目名称:wicket-spring-boot,代码行数:8,代码来源:AbstractTextFieldFilter.java


示例13: AbstractCheckBoxFilter

import org.apache.wicket.extensions.markup.html.repeater.data.table.filter.FilterForm; //导入依赖的package包/类
public AbstractCheckBoxFilter(final String id, final IModel<Boolean> model, final FilterForm<?> form)
{
	super(id, form);
	filter =  createTextFieldComponent("filter", model);
	enableFocusTracking(filter);
	add(filter);
}
 
开发者ID:MarcGiffing,项目名称:wicket-spring-boot,代码行数:8,代码来源:AbstractCheckBoxFilter.java


示例14: getFilterModel

import org.apache.wicket.extensions.markup.html.repeater.data.table.filter.FilterForm; //导入依赖的package包/类
@SuppressWarnings("unchecked")
protected IModel<F> getFilterModel(final FilterForm<?> form) {
    if (form.getDefaultModel().getObject() instanceof Map) {
        return new MapPropertyModel<F>((Map<String, F>) form.getDefaultModel().getObject(), getPropertyExpression());
    } else {
        return new PropertyModel<F>(form.getDefaultModel(), getPropertyExpression());
    }
}
 
开发者ID:PkayJava,项目名称:pluggable,代码行数:9,代码来源:TextFilteredPropertyColumn.java


示例15: getFilter

import org.apache.wicket.extensions.markup.html.repeater.data.table.filter.FilterForm; //导入依赖的package包/类
@Override
public Component getFilter(final String componentId, final FilterForm<?> form) {
    ChoiceFilter<Y> filter = new ChoiceFilter<Y>(componentId, getFilterModel(form), form, getFilterChoices(), enableAutoSubmit());

    IChoiceRenderer<Y> renderer = getChoiceRenderer();
    if (renderer != null) {
        filter.getChoice().setChoiceRenderer(renderer);
    }
    return filter;
}
 
开发者ID:PkayJava,项目名称:pluggable,代码行数:11,代码来源:ChoiceFilteredPropertyColumn.java


示例16: doInitialize

import org.apache.wicket.extensions.markup.html.repeater.data.table.filter.FilterForm; //导入依赖的package包/类
@Override
protected void doInitialize(Border layout) {
    add(layout);
    DSLContext context = Spring.getBean(DSLContext.class);
    CollectionTable collectionTable = Tables.COLLECTION.as("collectionTable");

    PageParameters pageParameters = getPageParameters();

    this.collectionId = pageParameters.get("collectionId").toString();
    this.collection = context.select(collectionTable.fields()).from(collectionTable).where(collectionTable.COLLECTION_ID.eq(this.collectionId)).fetchOneInto(CollectionPojo.class);

    AttributeProvider provider = new AttributeProvider(this.collectionId);
    provider.selectField("attributeId", String.class);

    FilterForm<Map<String, String>> filterForm = new FilterForm<>("filter-form", provider);
    layout.add(filterForm);

    List<IColumn<Map<String, Object>, String>> columns = new ArrayList<>();

    columns.add(new TextFilterColumn(provider, ItemClass.String, Model.of("name"), "name", this::modelValue));
    columns.add(new TextFilterColumn(provider, ItemClass.String, Model.of("type"), "type", this::modelValue));
    columns.add(new TextFilterColumn(provider, ItemClass.Boolean, Model.of("eav"), "eav", this::modelValue));
    columns.add(new TextFilterColumn(provider, ItemClass.Boolean, Model.of("system"), "system", this::modelValue));
    columns.add(new TextFilterColumn(provider, ItemClass.Boolean, Model.of("nullable"), "nullable", this::modelValue));
    columns.add(new TextFilterColumn(provider, ItemClass.Integer, Model.of("length"), "length", this::modelValue));
    columns.add(new TextFilterColumn(provider, ItemClass.Integer, Model.of("precision"), "precision", this::modelValue));
    columns.add(new TextFilterColumn(provider, ItemClass.Integer, Model.of("order"), "order", this::modelValue));
    columns.add(new ActionFilterColumn(Model.of("action"), this::actions, this::clickable, this::itemCss, this::itemClick));

    this.dataTable = new DefaultDataTable<>("table", columns, provider, 20);
    this.dataTable.addTopToolbar(new FilterToolbar(this.dataTable, filterForm));
    filterForm.add(this.dataTable);

    PageParameters parameters = new PageParameters();
    parameters.add("collectionId", this.collectionId);
    BookmarkablePageLink<Void> createLink = new BookmarkablePageLink<>("createLink", AttributeCreatePage.class, parameters);
    layout.add(createLink);

    BookmarkablePageLink<Void> refreshLink = new BookmarkablePageLink<>("refreshLink", AttributeBrowsePage.class, parameters);
    layout.add(refreshLink);
}
 
开发者ID:PkayJava,项目名称:MBaaS,代码行数:42,代码来源:AttributeBrowsePage.java


示例17: ChoiceFilter

import org.apache.wicket.extensions.markup.html.repeater.data.table.filter.FilterForm; //导入依赖的package包/类
public ChoiceFilter(String id, IModel<T> model, FilterForm<?> form, IModel<List<? extends T>> choices, boolean autoSubmit) {
    super(id, model, form, choices, autoSubmit);
}
 
开发者ID:PkayJava,项目名称:pluggable,代码行数:4,代码来源:ChoiceFilter.java


示例18: getFilter

import org.apache.wicket.extensions.markup.html.repeater.data.table.filter.FilterForm; //导入依赖的package包/类
@Override
public Component getFilter(String componentId, FilterForm<?> form) {
    return new TextFilter<F>(componentId, getFilterModel(form), form);
}
 
开发者ID:PkayJava,项目名称:pluggable,代码行数:5,代码来源:TextFilteredPropertyColumn.java


示例19: GoAndClearFilter

import org.apache.wicket.extensions.markup.html.repeater.data.table.filter.FilterForm; //导入依赖的package包/类
public GoAndClearFilter(String id, FilterForm<?> form, IModel<String> goModel, IModel<String> clearModel) {
    super(id, form, goModel, clearModel);
}
 
开发者ID:PkayJava,项目名称:pluggable,代码行数:4,代码来源:GoAndClearFilter.java


示例20: TextFilter

import org.apache.wicket.extensions.markup.html.repeater.data.table.filter.FilterForm; //导入依赖的package包/类
public TextFilter(String id, IModel<T> model, FilterForm<?> form) {
    super(id, model, form);
}
 
开发者ID:PkayJava,项目名称:pluggable,代码行数:4,代码来源:TextFilter.java



注:本文中的org.apache.wicket.extensions.markup.html.repeater.data.table.filter.FilterForm类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Java ChooseByNameFilter类代码示例发布时间:2022-05-23
下一篇:
Java ListStreamsResult类代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap