Examples of HRPlanningEntryStatus


Examples of org.projectforge.humanresources.HRPlanningEntryStatus

      public void validate(final Form< ? > form)
      {
        for (int i = 0; i < getDependentFormComponents().length - 1; i += 2) {
          @SuppressWarnings("unchecked")
          final DropDownChoice<HRPlanningEntryStatus> statusChoice = (DropDownChoice<HRPlanningEntryStatus>) dependentEntryFormComponentsArray[i];
          final HRPlanningEntryStatus status = statusChoice.getConvertedInput();
          final NewProjektSelectPanel projektSelectPanel = (NewProjektSelectPanel) dependentEntryFormComponentsArray[i + 1];
          final ProjektDO projekt = projektSelectPanel.getModelObject();
          if (projekt == null && status == null) {
            projektSelectPanel.error(getString("hr.planning.entry.error.statusOrProjektRequired"));
          } else if (projekt != null && status != null) {
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.