本文整理了Java中org.apache.wicket.markup.html.form.CheckBox.getConvertedInput()
方法的一些代码示例,展示了CheckBox.getConvertedInput()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。CheckBox.getConvertedInput()
方法的具体详情如下:
包路径:org.apache.wicket.markup.html.form.CheckBox
类名称:CheckBox
方法名:getConvertedInput
暂无
代码示例来源:origin: theonedev/onedev
@Override
protected Boolean convertInputToValue() throws ConversionException {
return input.getConvertedInput();
}
代码示例来源:origin: micromata/projectforge
private boolean isOn(final CheckBox checkBox)
{
final Boolean value = checkBox.getConvertedInput();
return Boolean.TRUE.equals(value);
}
代码示例来源:origin: de.agilecoders.wicket/wicket-bootstrap-core
@Override
public void convertInput() {
setConvertedInput(checkbox.getConvertedInput());
}
}
代码示例来源:origin: org.geoserver.community/gs-geofence-server
@Override
protected void onUpdate(AjaxRequestTarget target) {
container.setVisible(layerDetailsCheck.getConvertedInput());
target.add(container);
}
});
代码示例来源:origin: OrienteerBAP/Orienteer
@Override
protected void onUpdate(AjaxRequestTarget target) {
Boolean shouldClear = clear.getConvertedInput();
if (shouldClear) {
fileUploadField.clearInput();
}
fileUploadField.setEnabled(!shouldClear);
target.add(fileUploadField);
}
};
代码示例来源:origin: micromata/projectforge
.getVacationDays(startDate.getTime(), endDate.getTime(), isHalfDayCheckbox.getConvertedInput());
代码示例来源:origin: micromata/projectforge
@Override
protected void onUpdate(final AjaxRequestTarget target)
{
final Boolean newSelection = checkBoxPanel.getCheckBox().getConvertedInput();
final TemplateCalendarProperties properties = activeTemplateEntry.getCalendarProperties(calendar.getId());
if (newSelection != properties.isVisible()) {
properties.setVisible(newSelection);
activeTemplateEntry.setDirty();
}
}
});
代码示例来源:origin: micromata/projectforge
@Override
protected void onUpdate(final AjaxRequestTarget target)
{
if (checkBox.getCheckBox().getConvertedInput()) {
modeOneDropDownChoiceYear.setEnabled(true);
modeTwoDropDownChoiceYear.setEnabled(true);
} else {
modeOneDropDownChoiceYear.setEnabled(false);
modeTwoDropDownChoiceYear.setEnabled(false);
}
target.add(modeOneDropDownChoiceYear, modeTwoDropDownChoiceYear);
}
});
代码示例来源:origin: OrienteerBAP/Orienteer
@Override
public void convertInput() {
if (clear.getConvertedInput())
{
setConvertedInput(null);
tempName = null;
return;
}
FileUpload fileUpload = fileUploadField.getFileUpload();
if(fileUpload!=null) {
setConvertedInput(fileUpload.getBytes());
tempName = fileUpload.getClientFileName();
}
else {
setConvertedInput(getModelObject());
}
}
内容来源于网络,如有侵权,请联系作者删除!