public BasicAuthFilterPanel(String id, IModel<BasicAuthenticationFilterConfig> model) { super(id, model); add(new CheckBox("useRememberMe")); } }
public CheckBoxParamPanel(final String id, final IModel model, final IModel paramLabelModel) { super(id, model); Label label = new Label("paramName", paramLabelModel); checkBox = new CheckBox("paramValue", model); add(label); add(checkBox); }
public CheckBoxParamPanel(final String id, final IModel model, final IModel paramLabelModel) { super(id, model); Label label = new Label("paramName", paramLabelModel); checkBox = new CheckBox("paramValue", model); add(label); add(checkBox); }
public BooleanFeatureEditor(String aId, MarkupContainer aItem, IModel<FeatureState> aModel) { super(aId, aItem, new CompoundPropertyModel<>(aModel)); add(new Label("feature", getModelObject().feature.getUiName())); field = new CheckBox("value"); add(field); }
public MasterPasswordProviderPanel(String id, IModel<T> model) { super(id, model); add(new CheckBox("readOnly")); add(new HelpLink("settingsHelp", this).setDialog(dialog)); }
@Override protected ModelFacade<Boolean> createFormComponent(AttributeDefinition attribute, IModel<String> model) { CheckBox check = new CheckBox("field", new BoolToStringModel(model)); ModelFacade<Boolean> retVal = new ModelFacade<Boolean>(); retVal.setMainComponent(check); return retVal; } }
public JDBCRoleServicePanel(String id, IModel<JDBCRoleServiceConfig> model) { super(id, model); add(new JDBCConnectionPanel("cx", model)); add(new CheckBox("creatingTables")); add(new TextField("propertyFileNameDDL")); add(new TextField("propertyFileNameDML")); } }
public JDBCUserGroupServicePanel(String id, IModel<JDBCUserGroupServiceConfig> model) { super(id, model); add(new JDBCConnectionPanel("cx", model)); add(new CheckBox("creatingTables")); add(new TextField("propertyFileNameDDL")); add(new TextField("propertyFileNameDML")); } }
public JDBCRoleServicePanel(String id, IModel<JDBCRoleServiceConfig> model) { super(id, model); add(new JDBCConnectionPanel("cx", model)); add(new CheckBox("creatingTables")); add(new TextField("propertyFileNameDDL")); add(new TextField("propertyFileNameDML")); } }
public XMLUserGroupServicePanel(String id, IModel<XMLUserGroupServiceConfig> model) { super(id, model); add(new TextField("fileName").setEnabled(isNew())); add(new CheckBox("validating")); add(new TextField("checkInterval")); } }
public JDBCUserGroupServicePanel(String id, IModel<JDBCUserGroupServiceConfig> model) { super(id, model); add(new JDBCConnectionPanel("cx", model)); add(new CheckBox("creatingTables")); add(new TextField("propertyFileNameDDL")); add(new TextField("propertyFileNameDML")); } }
public JDBCUserGroupServicePanel(String id, IModel<JDBCUserGroupServiceConfig> model) { super(id, model); add(new JDBCConnectionPanel("cx", model)); add(new CheckBox("creatingTables")); add(new TextField("propertyFileNameDDL")); add(new TextField("propertyFileNameDML")); } }
public XMLRoleServicePanel(String id, IModel<XMLRoleServiceConfig> model) { super(id, model); add(new TextField("fileName").setEnabled(isNew())); add(new CheckBox("validating")); add(new TextField("checkInterval")); } }
public XMLRoleServicePanel(String id, IModel<XMLRoleServiceConfig> model) { super(id, model); add(new TextField("fileName").setEnabled(isNew())); add(new CheckBox("validating")); add(new TextField("checkInterval")); } }
public XMLUserGroupServicePanel(String id, IModel<XMLUserGroupServiceConfig> model) { super(id, model); add(new TextField("fileName").setEnabled(isNew())); add(new CheckBox("validating")); add(new TextField("checkInterval")); } }
public XMLRoleServicePanel(String id, IModel<XMLRoleServiceConfig> model) { super(id, model); add(new TextField("fileName").setEnabled(isNew())); add(new CheckBox("validating")); add(new TextField("checkInterval")); } }
protected void build(IModel info, Form form) { // overview policy form.add(new DropDownChoice("overviewPolicy", Arrays.asList(OverviewPolicy.values()), new OverviewPolicyRenderer())); form.add(new CheckBox("subsamplingEnabled")); // resource limits TextField maxInputMemory = new TextField("maxInputMemory"); maxInputMemory.add(new MinimumValidator(0l)); form.add(maxInputMemory); TextField maxOutputMemory = new TextField("maxOutputMemory"); maxOutputMemory.add(new MinimumValidator(0l)); form.add(maxOutputMemory); }
public HTTPLayerConfig(String id, IModel model){ super(id, model); add(new CheckBox("cachingEnabled", new MapModel(new PropertyModel(model, "resource.metadata"), "cachingEnabled"))); TextField maxAge = new TextField("cacheAgeMax", new MapModel(new PropertyModel(model, "resource.metadata"), "cacheAgeMax"), Long.class); maxAge.add(NumberValidator.range(0, Long.MAX_VALUE)); add(maxAge); } }