本文整理了Java中org.apache.wicket.markup.html.list.ListView.getParent()
方法的一些代码示例,展示了ListView.getParent()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ListView.getParent()
方法的具体详情如下:
包路径:org.apache.wicket.markup.html.list.ListView
类名称:ListView
方法名:getParent
暂无
代码示例来源:origin: org.geoserver.web/web-security
void updateCalculatedRoles(AjaxRequestTarget target) {
calculatedRoles.modelChanged();
target.addComponent(calculatedRoles.getParent());
}
代码示例来源:origin: org.geoserver.web/gs-web-sec-core
void updateCalculatedRoles(AjaxRequestTarget target) {
calculatedRoles.modelChanged();
target.add(calculatedRoles.getParent());
}
代码示例来源:origin: org.geoserver.web/web-sec-core
void updateCalculatedRoles(AjaxRequestTarget target) {
calculatedRoles.modelChanged();
target.addComponent(calculatedRoles.getParent());
}
代码示例来源:origin: ch.qos.mistletoe/mistletoe-wicket
@SuppressWarnings("unchecked")
@Override
public void onClick(AjaxRequestTarget target) {
TestReportPanel nodePanel = (TestReportPanel) getParent();
if(nodePanel == null || nodePanel.testReport == null) {
warn("Failed to find node panel");
return;
}
if (nodePanel.testReport.isSuite()) {
expanded = !expanded;
TreeExpansionLink link = (TreeExpansionLink) nodePanel
.get(Constants.TREE_CONTROL_ID);
target.add(link.getParent());
Image image = (Image) link.get(Constants.TREE_CONTROL_SYMBOL_ID);
ResourceReference ref = getControlSymbolResourceReference(expanded);
image.setImageResourceReference(ref);
ListView<Node> payloadNode = (ListView<Node>) nodePanel
.get(Constants.PAYLOAD_ID);
payloadNode.setVisible(expanded);
// can't update a ListView
target.add(payloadNode.getParent());
}
}
内容来源于网络,如有侵权,请联系作者删除!