public MenuBarPanel(final String id) { super(id); contentMenu = new MyComponentsRepeater<ContentMenuEntryPanel>("repeater"); add(contentMenu.getRepeatingView()); }
private ContentMenuEntryPanel(final String id) { super(id); add(li = new WebMarkupContainer("li")); add(li); li.setMarkupId("addEntry").setOutputMarkupId(true); dropDownMenu = new WebMarkupContainer("dropdownMenu"); li.add(dropDownMenu); subMenu = new MyComponentsRepeater<ContentMenuEntryPanel>("subMenu"); dropDownMenu.add(subMenu.getRepeatingView()); }
actionButtons = new MyComponentsRepeater<SingleButtonPanel>("buttons"); add(actionButtons.getRepeatingView());
/** * @param id */ @SuppressWarnings("serial") public ModalDialog(final String id) { super(id); actionButtons = new MyComponentsRepeater<Component>("actionButtons"); mainContainer = new WebMarkupContainer("mainContainer"); add(mainContainer.setOutputMarkupId(true)); mainContainer.add(mainSubContainer = new WebMarkupContainer("mainSubContainer")); gridContentContainer = new WebMarkupContainer("gridContent"); gridContentContainer.setOutputMarkupId(true); buttonBarContainer = new WebMarkupContainer("buttonBar"); buttonBarContainer.setOutputMarkupId(true); closeBehavior = new AjaxEventBehavior("hidden.bs.modal") { @Override protected void onEvent(final AjaxRequestTarget target) { handleCloseEvent(target); } @Override protected void updateAjaxAttributes(final AjaxRequestAttributes attributes) { super.updateAjaxAttributes(attributes); attributes.setEventPropagation(AjaxRequestAttributes.EventPropagation.BUBBLE); } }; }
updateEntryRows(); actionButtons = new MyComponentsRepeater<SingleButtonPanel>("buttons"); add(actionButtons.getRepeatingView());
gridBuilder = newGridBuilder(this, "flowform"); actionButtons = new MyComponentsRepeater<SingleButtonPanel>("buttons"); add(actionButtons.getRepeatingView());
feedbackAndMessagesPanel.add(messagesComponent); gridBuilder = newGridBuilder(this, "flowform"); actionButtons = new MyComponentsRepeater<SingleButtonPanel>("buttons"); final WebMarkupContainer buttonBar = new WebMarkupContainer("buttonBar")
actionButtons = new MyComponentsRepeater<Component>("actionButtons");
actionButtons = new MyComponentsRepeater<Component>("actionButtons"); add(actionButtons.getRepeatingView());
fs.add(description, true); actionButtons = new MyComponentsRepeater<SingleButtonPanel>("buttons"); add(actionButtons.getRepeatingView());
actionButtons = new MyComponentsRepeater<Component>("actionButtons"); buttonCell.add(actionButtons.getRepeatingView());