org.apache.wicket.markup.html.form.CheckBox.getInputName()方法的使用及代码示例

x33g5p2x  于2022-01-18 转载在 其他  
字(2.9k)|赞(0)|评价(0)|浏览(117)

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

CheckBox.getInputName介绍

暂无

代码示例

代码示例来源:origin: org.artifactory/artifactory-web-common

@Override
public String getInputName() {
  return checkbox.getInputName();
}

代码示例来源:origin: org.artifactory/artifactory-web-common

@Override
  public String getInputName() {
    return StyledCheckbox.this.getCheckboxInputName(super.getInputName());
  }
}

代码示例来源:origin: org.ops4j.pax.wicket/pax-wicket-service

(url.toString().indexOf('?') > -1 ? "&" : "?") + getInputName() +
"=' + this.checked;");

代码示例来源:origin: org.apache.wicket/com.springsource.org.apache.wicket

(url.toString().indexOf('?') > -1 ? "&" : "?") + getInputName() +
"=' + this.checked;");

代码示例来源:origin: org.geoserver.community/gs-taskmanager-core

@Test
public void testCopy() throws Exception {
  ConfigurationsPage page = new ConfigurationsPage();
  Configuration dummy1 = dao.save(dummyConfiguration1());
  tester.startPage(page);
  // select
  CheckBox selector =
      ((CheckBox)
          tester.getComponentFromLastRenderedPage(
              "configurationsPanel:listContainer:items:1:selectItemContainer:selectItem"));
  tester.getRequest().setParameter(selector.getInputName(), "true");
  tester.executeAjaxEvent(selector, "click");
  // click copy
  tester.clickLink("copySelected");
  dao.delete(dummy1);
  tester.assertRenderedPage(ConfigurationPage.class);
  tester.assertModelValue("configurationForm:description", "z description");
}

代码示例来源:origin: org.geoserver.community/gs-taskmanager-core

tester.getComponentFromLastRenderedPage(
            "batchForm:tasksPanel:listContainer:items:7:selectItemContainer:selectItem"));
tester.getRequest().setParameter(selector.getInputName(), "true");
tester.executeAjaxEvent(selector, "click");
selector =
        tester.getComponentFromLastRenderedPage(
            "batchForm:tasksPanel:listContainer:items:9:selectItemContainer:selectItem"));
tester.getRequest().setParameter(selector.getInputName(), "true");
tester.executeAjaxEvent(selector, "click");
tester.clickLink("batchForm:removeSelected");

代码示例来源:origin: org.geoserver.community/gs-taskmanager-core

prefix()
                + "batchesPanel:form:batchesPanel:listContainer:items:1:selectItemContainer:selectItem"));
tester.getRequest().setParameter(selector.getInputName(), "true");
tester.executeAjaxEvent(selector, "click");

代码示例来源:origin: org.geoserver.community/gs-taskmanager-core

tester.getComponentFromLastRenderedPage(
            "configurationsPanel:listContainer:items:1:selectItemContainer:selectItem"));
tester.getRequest().setParameter(selector.getInputName(), "true");
tester.executeAjaxEvent(selector, "click");

相关文章