Package org.projectforge.web.wicket.flowlayout

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


      }
      posGridBuilder.newSplitPanel(GridSize.COL50);
      {
        // Hours
        final FieldsetPanel fs = posGridBuilder.newFieldset(getString("hours")).suppressLabelForWarning();
        final HRPlanningEditTablePanel table = new HRPlanningEditTablePanel(fs.newChildId());
        fs.add(table);
        table.init(entry);
      }
      posGridBuilder.newSplitPanel(GridSize.COL50);
      {
View Full Code Here


        final MaxLengthTextArea description = new MaxLengthTextArea(TextAreaPanel.WICKET_ID, model);
        if (entry.isDeleted() == true) {
          description.setEnabled(false);
        }
        fs.add(description);
        fs.add(new JiraIssuesPanel(fs.newChildId(), entry.getDescription()));
        fs.addJIRAField(model);
      }
    }
  }
View Full Code Here

    }
    {
      final FieldsetPanel fs = new FieldsetPanel("stayLoggedIn", "").suppressLabelForWarning();
      add(fs);
      final CheckBoxPanel stayLoggedInCheckBox = fs.addCheckBox(new PropertyModel<Boolean>(this, "stayLoggedIn"), null);
      final DivPanel divPanel = new DivPanel(fs.newChildId());
      fs.add(divPanel);
      final LabelPanel labelPanel = new LabelPanel(divPanel.newChildId(), getString("login.stayLoggedIn"));
      labelPanel.setLabelFor(stayLoggedInCheckBox.getCheckBox().getMarkupId());
      divPanel.add(labelPanel);
      WicketUtils.addTooltip(labelPanel.getLabel(), getString("login.stayLoggedIn"), getString("login.stayLoggedIn.tooltip"));
View Full Code Here

        public String getObject()
        {
          return AbstractListForm.getModifiedSearchExpressionLabel(SearchForm.this, filter.getSearchString());
        }
      };
      final DivPanel div = new DivPanel(fs.newChildId());
      div.add(AttributeModifier.append("class", "modifiedSearchExpressionLabel"));
      fs.add(div);
      modifiedSearchExpressionLabel = new Label(div.newChildId(), modifiedSearchExpressionModel) {
        @Override
        public boolean isVisible()
View Full Code Here

    }

    gridBuilder.newSplitPanel(GridSize.COL50);
    {
      final FieldsetPanel fs = gridBuilder.newFieldset(getString("search.periodOfModification"));
      final DatePanel modifiedStartDatePanel = new DatePanel(fs.newChildId(), new PropertyModel<Date>(filter, "startTimeOfModification"),
          DatePanelSettings.get().withSelectPeriodMode(true));
      fs.add(modifiedStartDatePanel);
      fs.add(new DivTextPanel(fs.newChildId(), " - "));
      final DatePanel modifiedStopDatePanel = new DatePanel(fs.newChildId(), new PropertyModel<Date>(filter, "stopTimeOfModification"),
          DatePanelSettings.get().withSelectPeriodMode(true));
View Full Code Here

    {
      final FieldsetPanel fs = gridBuilder.newFieldset(getString("search.periodOfModification"));
      final DatePanel modifiedStartDatePanel = new DatePanel(fs.newChildId(), new PropertyModel<Date>(filter, "startTimeOfModification"),
          DatePanelSettings.get().withSelectPeriodMode(true));
      fs.add(modifiedStartDatePanel);
      fs.add(new DivTextPanel(fs.newChildId(), " - "));
      final DatePanel modifiedStopDatePanel = new DatePanel(fs.newChildId(), new PropertyModel<Date>(filter, "stopTimeOfModification"),
          DatePanelSettings.get().withSelectPeriodMode(true));
      fs.add(modifiedStopDatePanel);
      fs.add(new HtmlCommentPanel(fs.newChildId(), new Model<String>() {
        @Override
View Full Code Here

      final FieldsetPanel fs = gridBuilder.newFieldset(getString("search.periodOfModification"));
      final DatePanel modifiedStartDatePanel = new DatePanel(fs.newChildId(), new PropertyModel<Date>(filter, "startTimeOfModification"),
          DatePanelSettings.get().withSelectPeriodMode(true));
      fs.add(modifiedStartDatePanel);
      fs.add(new DivTextPanel(fs.newChildId(), " - "));
      final DatePanel modifiedStopDatePanel = new DatePanel(fs.newChildId(), new PropertyModel<Date>(filter, "stopTimeOfModification"),
          DatePanelSettings.get().withSelectPeriodMode(true));
      fs.add(modifiedStopDatePanel);
      fs.add(new HtmlCommentPanel(fs.newChildId(), new Model<String>() {
        @Override
        public String getObject()
View Full Code Here

      PFUserDO responsibleUser = data.getResponsibleUser();
      if (Hibernate.isInitialized(responsibleUser) == false) {
        responsibleUser = userGroupCache.getUser(responsibleUser.getId());
        data.setResponsibleUser(responsibleUser);
      }
      final UserSelectPanel responsibleUserSelectPanel = new UserSelectPanel(fs.newChildId(), new PropertyModel<PFUserDO>(data,
          "responsibleUser"), parentPage, "responsibleUserId");
      fs.add(responsibleUserSelectPanel);
      responsibleUserSelectPanel.init();
    }
    gridBuilder.newSplitPanel(GridSize.COL50);
View Full Code Here

      fs.add(modifiedStartDatePanel);
      fs.add(new DivTextPanel(fs.newChildId(), " - "));
      final DatePanel modifiedStopDatePanel = new DatePanel(fs.newChildId(), new PropertyModel<Date>(filter, "stopTimeOfModification"),
          DatePanelSettings.get().withSelectPeriodMode(true));
      fs.add(modifiedStopDatePanel);
      fs.add(new HtmlCommentPanel(fs.newChildId(), new Model<String>() {
        @Override
        public String getObject()
        {
          return WicketUtils.getUTCDates(filter.getStartTimeOfModification(), filter.getStopTimeOfModification());
        }
View Full Code Here

      lastDaysChoice.setRequired(false);
      fs.add(lastDaysChoice);
    }
    {
      final FieldsetPanel fs = gridBuilder.newFieldset(getString("modifiedBy"));
      final UserSelectPanel userSelectPanel = new UserSelectPanel(fs.newChildId(), new PropertyModel<PFUserDO>(filter, "modifiedByUser"),
          parentPage, "userId");
      fs.add(userSelectPanel);
      userSelectPanel.init().withAutoSubmit(true);
    }
    {
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.