final DivPanel radioGroupPanel = optionsFieldsetPanel.addNewRadioBoxButtonDiv(); final RadioGroupPanel<String> radioGroup = new RadioGroupPanel<String>(radioGroupPanel.newChildId(), "listtype", new PropertyModel<String>(searchFilter, "listType"))
final DivPanel radioGroupPanel = fs.addNewRadioBoxButtonDiv(); final RadioGroupPanel<String> radioGroup = new RadioGroupPanel<String>(radioGroupPanel.newChildId(), "filterType", new PropertyModel<String>(importFilter, "listType")) {
/** * @see org.projectforge.web.wicket.AbstractListForm#onOptionsPanelCreate(org.projectforge.web.wicket.flowlayout.FieldsetPanel, * org.projectforge.web.wicket.flowlayout.DivPanel) */ @SuppressWarnings("serial") @Override protected void onOptionsPanelCreate(final FieldsetPanel optionsFieldsetPanel, final DivPanel optionsCheckBoxesPanel) { final DivPanel radioGroupPanel = optionsFieldsetPanel.addNewRadioBoxButtonDiv(); final RadioGroupPanel<String> radioGroup = new RadioGroupPanel<String>(radioGroupPanel.newChildId(), "listtype", new PropertyModel<>(getSearchFilter(), "listType")); radioGroupPanel.add(radioGroup); radioGroup.add(new Model<String>("all"), getString("filter.all")); radioGroup.add(new Model<String>("unbezahlt"), getString("fibu.rechnung.filter.unbezahlt")); radioGroup.add(new Model<String>("ueberfaellig"), getString("fibu.rechnung.filter.ueberfaellig")); if (Configuration.getInstance().isCostConfigured() == true) { optionsCheckBoxesPanel.add(new CheckBoxButton(optionsCheckBoxesPanel.newChildId(), new PropertyModel<>(getSearchFilter(), "showKostZuweisungStatus"), getString("fibu.rechnung.showKostZuweisungstatus"))); } }
final DivPanel radioGroupPanel = optionsFieldsetPanel.addNewRadioBoxButtonDiv(); final RadioGroupPanel<AddressbookFilter.OwnerType> radioGroup = new RadioGroupPanel<AddressbookFilter.OwnerType>( radioGroupPanel.newChildId(), "ownerType", new PropertyModel<AddressbookFilter.OwnerType>(getSearchFilter(), "ownerType"))
optionsFieldsetPanel.add(nextDaysChoice, true); final DivPanel radioGroupPanel = optionsFieldsetPanel.addNewRadioBoxButtonDiv(); final RadioGroupPanel<PaymentStatus> radioGroup = new RadioGroupPanel<PaymentStatus>(radioGroupPanel.newChildId(), "paymentStatus", final DivPanel radioGroupPanel = optionsFieldsetPanel.addNewRadioBoxButtonDiv(); final RadioGroupPanel<AmountType> radioGroup = new RadioGroupPanel<AmountType>(radioGroupPanel.newChildId(), "amountType",
final DivPanel radioGroupPanel = optionsFieldsetPanel.addNewRadioBoxButtonDiv(); final RadioGroupPanel<TeamCalFilter.OwnerType> radioGroup = new RadioGroupPanel<TeamCalFilter.OwnerType>( radioGroupPanel.newChildId(), "ownerType", new PropertyModel<TeamCalFilter.OwnerType>(getSearchFilter(), "ownerType")) {
final DivPanel radioPanel = fs.addNewRadioBoxButtonDiv(); fs.add(radioPanel); fs.setLabelFor(radioPanel);