Package org.projectforge.web.wicket.components

Examples of org.projectforge.web.wicket.components.TimeZonePanel


        fs.add(textArea);
        valueField = textArea;
      } else if (data.getConfigurationType() == ConfigurationType.BOOLEAN) {
        fs.addCheckBox(new PropertyModel<Boolean>(data, "booleanValue"), null);
      } else if (data.getConfigurationType() == ConfigurationType.TIME_ZONE) {
        final TimeZonePanel timeZonePanel = new TimeZonePanel(fs.newChildId(), new PropertyModel<TimeZone>(data, "timeZone"));
        fs.add(timeZonePanel);
        valueField = timeZonePanel.getTextField();
      } else if (data.getConfigurationType() == ConfigurationType.TASK) {
        if (data.getTaskId() != null) {
          this.task = taskDao.getById(data.getTaskId());
        }
        final TaskSelectPanel taskSelectPanel = new TaskSelectPanel(fs, new PropertyModel<TaskDO>(this, "task"), parentPage, "taskId");
View Full Code Here


      fs.add(passwordRepeatField);
    }
    {
      // Time zone
      final FieldsetPanel fs = gridBuilder.newFieldset(getString("administration.configuration.param.timezone"));
      final TimeZonePanel timeZone = new TimeZonePanel(fs.newChildId(), new PropertyModel<TimeZone>(this, "timeZone"));
      fs.setLabelFor(timeZone);
      fs.add(timeZone);
      fs.addHelpIcon(getString("administration.configuration.param.timezone.description"));
    }
    {
View Full Code Here

TOP

Related Classes of org.projectforge.web.wicket.components.TimeZonePanel

Copyright © 2018 www.massapicom. 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.