本文整理了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
[英]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);
内容来源于网络,如有侵权,请联系作者删除!