Package org.projectforge.web.wicket.flowlayout

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


            }
          }
          refresh();
        }
      };
      final SingleButtonPanel addPositionButtonPanel = new SingleButtonPanel(panel.newChildId(), addPositionButton, getString("add"));
      addPositionButtonPanel.setTooltip(getString("fibu.rechnung.tooltip.addPosition"));
      panel.add(addPositionButtonPanel);
    }
  }
View Full Code Here


          // Cost assignments
          posGridBuilder.newSplitPanel(GridSize.COL50, true);
          {
            posGridBuilder.newSubSplitPanel(GridSize.COL50);
            DivPanel panel = posGridBuilder.getPanel();
            final RechnungCostTablePanel costTable = new RechnungCostTablePanel(panel.newChildId(), position) {
              /**
               * @see org.projectforge.web.fibu.RechnungCostTablePanel#onRenderCostRow(org.projectforge.fibu.AbstractRechnungsPositionDO,
               *      org.apache.wicket.Component, org.apache.wicket.Component)
               */
              @Override
View Full Code Here

                {
                  target.add(AbstractRechnungEditForm.this.feedbackPanel);
                }
              };
              editCostButton.setDefaultFormProcessing(false);
              panel.add(new ButtonPanel(panel.newChildId(), getString("edit"), editCostButton, buttonType));
            } else {
              panel.add(new TextPanel(panel.newChildId(), " "));
            }
            panel.add(new TextPanel(panel.newChildId(), new Model<String>() {
              @Override
View Full Code Here

                }
              };
              editCostButton.setDefaultFormProcessing(false);
              panel.add(new ButtonPanel(panel.newChildId(), getString("edit"), editCostButton, buttonType));
            } else {
              panel.add(new TextPanel(panel.newChildId(), " "));
            }
            panel.add(new TextPanel(panel.newChildId(), new Model<String>() {
              @Override
              public String getObject()
              {
View Full Code Here

              editCostButton.setDefaultFormProcessing(false);
              panel.add(new ButtonPanel(panel.newChildId(), getString("edit"), editCostButton, buttonType));
            } else {
              panel.add(new TextPanel(panel.newChildId(), " "));
            }
            panel.add(new TextPanel(panel.newChildId(), new Model<String>() {
              @Override
              public String getObject()
              {
                final BigDecimal fehlbetrag = position.getKostZuweisungNetFehlbetrag();
                if (NumberHelper.isNotZero(fehlbetrag) == true) {
View Full Code Here

    {
      addImportFilterRadio(gridBuilder);
    }
    gridBuilder.newGridPanel();
    final DivPanel panel = gridBuilder.getPanel();
    storagePanel = new TeamCalImportStoragePanel(panel.newChildId(), parentPage, importFilter);
    panel.add(storagePanel);
  }

  protected Integer getCalendarId()
  {
View Full Code Here

      protected void onUpdate(final AjaxRequestTarget target)
      {
        target.add(urlTextArea);
      }
    };
    checkBoxesPanel.add(new CheckBoxButton(checkBoxesPanel.newChildId(), checkBox, getString("plugins.teamcal.export.reminder.checkbox"))
    .setTooltip(getString("plugins.teamcal.export.reminder.checkbox.tooltip")));
  }

  /**
   * @see org.projectforge.web.calendar.AbstractICSExportDialog#getUrl()
View Full Code Here

  {
    setCloseButtonLabel(getString("cancel"));
    final Form<Void> form = new Form<Void>(getFormId());
    init(form);
    final DivPanel content = gridBuilder.getPanel();
    final DivTextPanel textPanel = new DivTextPanel(content.newChildId(), getString("plugins.teamcal.event.recurrence.change.content"));
    content.add(textPanel);

    // add all change callback
    final AjaxCallback allCallback = new AjaxCallback() {
      private static final long serialVersionUID = 7852511931690947544L;
View Full Code Here

      this.position = position;
      this.costTable = costTable;
      clearContent();
      {
        final DivPanel panel = gridBuilder.getPanel();
        rechnungCostEditTablePanel = new RechnungCostEditTablePanel(panel.newChildId());
        panel.add(rechnungCostEditTablePanel);
        rechnungCostEditTablePanel.add(position);
      }
    }
View Full Code Here

    optionsControls.setOutputMarkupId(true);
    redrawOptionControls();
    gridBuilder.newGridPanel();
    addTeamCalsChoiceFieldset();
    final DivPanel panel = gridBuilder.getPanel();
    panel.add(new Heading3Panel(panel.newChildId(), getString("plugins.teamcal.selectColor")));
    panel.add(calendarColorPanel = new TeamCalFilterDialogCalendarColorPanel(panel.newChildId()));
    calendarColorPanel.redraw(filter.getActiveTemplateEntry(), selectedCalendars);
    return this;
  }
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.