Package org.projectforge.web.wicket.flowlayout

Examples of org.projectforge.web.wicket.flowlayout.DivPanel.newChildId()


  {
    super.init();
    add(createFeedbackPanel());
    final DivPanel errorMessagePanel = new DivPanel("errorMessage");
    add(errorMessagePanel);
    errorMessagePanel.add(new TextPanel(errorMessagePanel.newChildId(), new Model<String>() {
      @Override
      public String getObject()
      {
        return parentPage.errorMessage;
      }
View Full Code Here


      final DivPanel checkBoxPanel = fs.addNewCheckBoxButtonDiv();
      checkBoxPanel.addCheckBoxButton(new PropertyModel<Boolean>(data.getStyle(), "relativeTimeValues"),
          getString("gantt.style.relativeTimeValues"));
      checkBoxPanel.addCheckBoxButton(new PropertyModel<Boolean>(data.getStyle(), "showToday"), getString("gantt.style.showToday"));
      checkBoxPanel.addCheckBoxButton(new PropertyModel<Boolean>(data.getStyle(), "showCompletion"), getString("gantt.style.showCompletion"));
      checkBoxPanel.add(new CheckBoxButton(checkBoxPanel.newChildId(), new PropertyModel<Boolean>(getSettings(), "showOnlyVisibles"),
          getString("gantt.settings.showOnlyVisibles")) {
        /**
         * @see org.projectforge.web.wicket.flowlayout.CheckBoxButton#wantOnSelectionChangedNotifications()
         */
        @Override
View Full Code Here

      }, getString("export"), SingleButtonPanel.NORMAL));
    }
    gridBuilder.newGridPanel();
    {
      final DivPanel panel = gridBuilder.getPanel();
      ganttChartEditTreeTablePanel = new GanttChartEditTreeTablePanel(panel.newChildId(), this, getData());
      panel.add(ganttChartEditTreeTablePanel);
      ganttChartEditTreeTablePanel.init();
      ganttChartEditTreeTablePanel.setOpenNodes(getSettings().getOpenNodes());
      gridBuilder.getPanel().add(imagePanel = new DivPanel(panel.newChildId()));
    }
View Full Code Here

      final DivPanel panel = gridBuilder.getPanel();
      ganttChartEditTreeTablePanel = new GanttChartEditTreeTablePanel(panel.newChildId(), this, getData());
      panel.add(ganttChartEditTreeTablePanel);
      ganttChartEditTreeTablePanel.init();
      ganttChartEditTreeTablePanel.setOpenNodes(getSettings().getOpenNodes());
      gridBuilder.getPanel().add(imagePanel = new DivPanel(panel.newChildId()));
    }
    {
      // Redraw:
      redrawButton = new Button(SingleButtonPanel.WICKET_ID, new Model<String>("redraw")) {
        @Override
View Full Code Here

        new PropertyModel<Integer>(this, "month"), monthChoiceRenderer.getValues(), monthChoiceRenderer);
    monthChoice.setNullValid(false);
    optionsFieldsetPanel.add(monthChoice, true);

    final DivPanel radioGroupPanel = optionsFieldsetPanel.addNewRadioBoxButtonDiv();
    final RadioGroupPanel<String> radioGroup = new RadioGroupPanel<String>(radioGroupPanel.newChildId(), "listtype",
        new PropertyModel<String>(getSearchFilter(), "listType")) {
      /**
       * @see org.projectforge.web.wicket.flowlayout.RadioGroupPanel#wantOnSelectionChangedNotifications()
       */
      @Override
View Full Code Here

      {
        super.onAfterRender();
        parentPage.result = null;
      }
    };
    messagePanel.add(new TextPanel(messagePanel.newChildId(), new Model<String>() {
      @Override
      public String getObject()
      {
        return parentPage.result;
      }
View Full Code Here

        item.add(new MaxLengthTextField("comment", new PropertyModel<String>(entry, "comment")));
        item.add(new CheckBox("reached", new PropertyModel<Boolean>(entry, "reached")));
        if (UserRights.getAccessChecker().hasRight(user, RechnungDao.USER_RIGHT_ID, UserRightValue.READWRITE) == true) {
          final DivPanel checkBoxDiv = new DivPanel("vollstaendigFakturiert", DivType.BTN_GROUP);
          item.add(checkBoxDiv);
          checkBoxDiv.add(new CheckBoxButton(checkBoxDiv.newChildId(), new PropertyModel<Boolean>(entry, "vollstaendigFakturiert"),
              getString("fibu.auftrag.vollstaendigFakturiert")));
        } else {
          item.add(WicketUtils.getInvisibleComponent("vollstaendigFakturiert"));
        }
      }
View Full Code Here

  public static void onOptionsPanelCreate(final AbstractListPage< ? , ? , ? > parentPage, final FieldsetPanel optionsFieldsetPanel,
      final AddressFilter searchFilter)
  {
    {
      final DivPanel radioGroupPanel = optionsFieldsetPanel.addNewRadioBoxButtonDiv();
      final RadioGroupPanel<String> radioGroup = new RadioGroupPanel<String>(radioGroupPanel.newChildId(), "listtype",
          new PropertyModel<String>(searchFilter, "listType")) {
        /**
         * @see org.projectforge.web.wicket.flowlayout.RadioGroupPanel#wantOnSelectionChangedNotifications()
         */
        @Override
View Full Code Here

          return searchFilter.isFilter();
        }
      });
      final FieldsetPanel fieldset = gridBuilder.newFieldset(parentPage.getString("address.contactStatus")).suppressLabelForWarning();
      final DivPanel checkBoxPanel = fieldset.addNewCheckBoxButtonDiv();
      checkBoxPanel.add(form.createAutoRefreshCheckBoxButton(checkBoxPanel.newChildId(), new PropertyModel<Boolean>(searchFilter, "active"),
          parentPage.getString("address.contactStatus.active")));
      checkBoxPanel.add(form.createAutoRefreshCheckBoxButton(checkBoxPanel.newChildId(), new PropertyModel<Boolean>(searchFilter,
          "nonActive"), parentPage.getString("address.contactStatus.nonActive")));
      checkBoxPanel.add(form.createAutoRefreshCheckBoxButton(checkBoxPanel.newChildId(), new PropertyModel<Boolean>(searchFilter,
          "uninteresting"), parentPage.getString("address.contactStatus.uninteresting")));
View Full Code Here

      });
      final FieldsetPanel fieldset = gridBuilder.newFieldset(parentPage.getString("address.contactStatus")).suppressLabelForWarning();
      final DivPanel checkBoxPanel = fieldset.addNewCheckBoxButtonDiv();
      checkBoxPanel.add(form.createAutoRefreshCheckBoxButton(checkBoxPanel.newChildId(), new PropertyModel<Boolean>(searchFilter, "active"),
          parentPage.getString("address.contactStatus.active")));
      checkBoxPanel.add(form.createAutoRefreshCheckBoxButton(checkBoxPanel.newChildId(), new PropertyModel<Boolean>(searchFilter,
          "nonActive"), parentPage.getString("address.contactStatus.nonActive")));
      checkBoxPanel.add(form.createAutoRefreshCheckBoxButton(checkBoxPanel.newChildId(), new PropertyModel<Boolean>(searchFilter,
          "uninteresting"), parentPage.getString("address.contactStatus.uninteresting")));
      checkBoxPanel.add(form.createAutoRefreshCheckBoxButton(checkBoxPanel.newChildId(), new PropertyModel<Boolean>(searchFilter,
          "personaIngrata"), parentPage.getString("address.contactStatus.personaIngrata")));
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.