本文整理了Java中org.apache.wicket.markup.html.form.CheckBox.wantOnSelectionChangedNotifications()
方法的一些代码示例,展示了CheckBox.wantOnSelectionChangedNotifications()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。CheckBox.wantOnSelectionChangedNotifications()
方法的具体详情如下:
包路径:org.apache.wicket.markup.html.form.CheckBox
类名称:CheckBox
方法名:wantOnSelectionChangedNotifications
[英]Whether this component's onSelectionChanged event handler should called using javascript if the selection changes. If true, a roundtrip will be generated with each selection change, resulting in the model being updated (of just this component) and onSelectionChanged being called. This method returns false by default.
[中]如果选择发生更改,是否应使用javascript调用此组件的onSelectionChanged事件处理程序。如果为true,则每次选择更改都将生成一个往返,从而更新模型(仅此组件)并调用onSelectionChanged。默认情况下,此方法返回false。
代码示例来源:origin: org.apache.wicket/com.springsource.org.apache.wicket
/**
* @see org.apache.wicket.MarkupContainer#getStatelessHint()
*/
protected boolean getStatelessHint()
{
if (wantOnSelectionChangedNotifications())
{
return false;
}
return super.getStatelessHint();
}
代码示例来源:origin: org.ops4j.pax.wicket/pax-wicket-service
/**
* @see org.apache.wicket.MarkupContainer#getStatelessHint()
*/
@Override
protected boolean getStatelessHint()
{
if (wantOnSelectionChangedNotifications())
{
return false;
}
return super.getStatelessHint();
}
代码示例来源:origin: org.ops4j.pax.wicket/pax-wicket-service
if (wantOnSelectionChangedNotifications())
代码示例来源:origin: org.apache.wicket/com.springsource.org.apache.wicket
if (wantOnSelectionChangedNotifications())
内容来源于网络,如有侵权,请联系作者删除!