protected void addTimePeriodPanel(final String labelI18nKey, final IModel<Date> startDateModel, final IModel<Date> endDateModel) { gridBuilder.newSplitPanel(GridSize.COL50); final FieldsetPanel fs = gridBuilder.newFieldset(getString(labelI18nKey)); final TimePeriodPanel timePeriodPanel = new TimePeriodPanel(fs.newChildId(), startDateModel, endDateModel, parentPage); fs.add(timePeriodPanel); fs.setLabelFor(timePeriodPanel); }
fs.setLabelFor(radioGroup.getRadioGroup()); radioGroup.add(new Model<String>("all"), getString("filter.all")); radioGroup.add(new Model<String>("modified"), getString("modified"));
DatePanelSettings.get().withSelectPeriodMode(true)); fs.add(startDate); fs.setLabelFor(startDate); fs.add(new DivTextPanel(fs.newChildId(), " - ")); stopDate = new DatePanel(fs.newChildId(), new PropertyModel<>(timePeriod, "toDate"),
final DivPanel radioPanel = fs.addNewRadioBoxButtonDiv(); fs.add(radioPanel); fs.setLabelFor(radioPanel); final RadioGroupPanel<SetupTarget> radioGroup = new RadioGroupPanel<>(radioPanel.newChildId(), "setuptarget", setupModeModel); radioPanel.add(radioGroup); fs.setLabelFor(timeZone); fs.add(timeZone); fs.addHelpIcon(getString("administration.configuration.param.timezone.description"));
fs.setLabelFor(searchTextField); final Model<String> modifiedSearchExpressionModel = new Model<String>()
kontoSelectPanel.setKontoNumberRanges(AccountingConfig.getInstance().getCreditorsAccountNumberRanges()).init(); fs.add(kontoSelectPanel); fs.setLabelFor(kontoSelectPanel);
.withSelectPeriodMode(true), true); fs.add(dependentFormComponents[0] = startDate); fs.setLabelFor(startDate); fs.add(new DivTextPanel(fs.newChildId(), " - ")); stopDate = new DatePanel(fs.newChildId(), new PropertyModel<Date>(filter, "stopTime"),
); tpfs.add(timePeriodPanel); tpfs.setLabelFor(timePeriodPanel);
fsTitle.add(title); final FieldsetPanel fsLocation = gridBuilder.newFieldset(getString("plugins.poll.new.location")).setLabelFor(this); final TextField<String> location = new TextField<String>(fsLocation.getTextFieldId(), new PropertyModel<String>(model.getPollDo(), "location"));
DatePanelSettings.get().withTargetType(java.sql.Date.class)); fs.add(faelligkeitPanel); fs.setLabelFor(faelligkeitPanel); DatePanelSettings.get().withTargetType(java.sql.Date.class), true); fs.add(discountPanel); fs.setLabelFor(discountPanel);
DatePanelSettings.get().withSelectPeriodMode(true)); optionsFieldsetPanel.add(dependentFormComponents[0] = startDate); optionsFieldsetPanel.setLabelFor(startDate); optionsFieldsetPanel.add(new DivTextPanel(optionsFieldsetPanel.newChildId(), " - ")); endDate = new DatePanel(optionsFieldsetPanel.newChildId(), new PropertyModel<Date>(getSearchFilter(), "endDate"),
.withSelectPeriodMode(true).withRequired(true)); fs.add(startDate); fs.setLabelFor(startDate); fs.add(new DivTextPanel(fs.newChildId(), " - ").setRenderBodyOnly(false)); stopDate = new DatePanel(fs.newChildId(), new PropertyModel<Date>(filter, "stopTime"), DatePanelSettings.get()
DatePrecision.MINUTE); fieldset.add(startDateTimePanel); fieldset.setLabelFor(startDateTimePanel); stopDateTimePanel = new DateTimePanel(fieldset.newChildId(), new PropertyModel<Date>(searchFilter, "stopTimeOfModification"),
fs.add(customerSelectPanel); customerSelectPanel.init(); fs.setLabelFor(customerSelectPanel.getKundeTextField()); fs.addHelpIcon(getString("fibu.rechnung.hint.kannVonProjektKundenAbweichen"));
parentPage, "groupId"); fs.add(groupSelectPanel); fs.setLabelFor(groupSelectPanel); fs.addHelpIcon(new ResourceModel("plugins.todo.group.tooltip.title"), new ResourceModel("plugins.todo.group.tooltip.content"));