org.apache.wicket.markup.html.list.ListView.setModelObject()方法的使用及代码示例

x33g5p2x  于2022-01-23 转载在 其他  
字(2.5k)|赞(0)|评价(0)|浏览(136)

本文整理了Java中org.apache.wicket.markup.html.list.ListView.setModelObject()方法的一些代码示例,展示了ListView.setModelObject()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ListView.setModelObject()方法的具体详情如下:
包路径:org.apache.wicket.markup.html.list.ListView
类名称:ListView
方法名:setModelObject

ListView.setModelObject介绍

[英]Sets model object
[中]

代码示例

代码示例来源:origin: apache/syncope

@Override
public AbstractMultiPanel<INNER> setModelObject(final List<INNER> object) {
  view.setModelObject(object);
  return this;
}

代码示例来源:origin: org.onehippo.cms7/hippo-cms-editor-frontend

@Override
  protected void onSubmit(AjaxRequestTarget target, Form<?> form) {
    List<String> values = list.getModelObject();
    values.add("");
    list.setModelObject(values);
    target.add(MultipleTextFieldWidget.this);
  }
};

代码示例来源:origin: org.geoserver.web/gs-web-wms

@Override
  protected void onSubmit(AjaxRequestTarget target, Form<?> form) {
    List<LayerIdentifierInfo> list = identifiers.getModelObject();
    LayerIdentifierInfo newIdentifier = new LayerIdentifier();
    list.add(newIdentifier);
    identifiers.setModelObject(list);
    updateLinksVisibility();
    target.add(LayerIdentifierListEditor.this);
  }
};

代码示例来源:origin: org.geoserver.web/web-wms

@Override
protected void onSubmit(AjaxRequestTarget target, Form<?> form) {
  List<LayerIdentifierInfo> list = identifiers.getModelObject();
  LayerIdentifierInfo newIdentifier = new LayerIdentifier();
  list.add(newIdentifier);
  identifiers.setModelObject(list);
  updateLinksVisibility();
  target.addComponent(LayerIdentifierListEditor.this);
}

代码示例来源:origin: org.geoserver.web/gs-web-wms

@Override
  protected void onSubmit(AjaxRequestTarget target, Form<?> form) {
    List<AuthorityURLInfo> list = authorityURLs.getModelObject();
    AuthorityURLInfo authorityURL = new AuthorityURL();
    list.add(authorityURL);
    authorityURLs.setModelObject(list);
    AuthorityURLListEditor.this.convertInput();
    updateLinksVisibility();
    target.add(container);
  }
};

代码示例来源:origin: org.geoserver.web/web-wms

@Override
protected void onSubmit(AjaxRequestTarget target, Form<?> form) {
  List<AuthorityURLInfo> list = authorityURLs.getModelObject();
  AuthorityURLInfo authorityURL = new AuthorityURL();
  list.add(authorityURL);
  authorityURLs.setModelObject(list);
  AuthorityURLListEditor.this.convertInput();
  updateLinksVisibility();
  target.addComponent(container);
}

代码示例来源:origin: de.tudarmstadt.ukp.clarin.webanno/webanno-ui-curation

sentenceListView.setModelObject(segments);
if (aTarget != null) {
  aTarget.add(this);

代码示例来源:origin: webanno/webanno

sentenceListView.setModelObject(segments);
if (aTarget != null) {
  aTarget.add(this);

相关文章