Package org.projectforge.web.task

Examples of org.projectforge.web.task.TaskEditPage


    } else {
      log.warn("Unknown tutorial request: task=" + reference);
      setResponsePage(new MessagePage("tutorial.unknown").setWarning(true));
      return;
    }
    final TaskEditPage taskEditPage = new TaskEditPage(task);
    setResponsePage(taskEditPage);
  }
View Full Code Here


      if (obj instanceof PFUserDO) {
        setResponsePage(new UserEditPage(createEditPageParameters(obj)));
      } else if (obj instanceof GroupDO) {
        setResponsePage(new GroupEditPage(createEditPageParameters(obj)));
      } else if (obj instanceof TaskDO) {
        setResponsePage(new TaskEditPage(createEditPageParameters(obj)));
      } else if (obj instanceof GroupTaskAccessDO) {
        setResponsePage(new AccessEditPage(createEditPageParameters(obj)));
      } else {
        setResponsePage(new MessagePage("tutorial.objectAlreadyCreated", tutorialReference).setWarning(true));
      }
View Full Code Here

            @Override
            void onSubmit()
            {
              final PageParameters pageParams = new PageParameters();
              pageParams.add(AbstractEditPage.PARAMETER_KEY_ID, String.valueOf(task.getId()));
              final TaskEditPage editPage = new TaskEditPage(pageParams);
              editPage.setReturnToPage((AbstractSecuredPage) getPage());
              setResponsePage(editPage);
            };
          });
          menuRepeater.add(new ContextMenuEntry(menuRepeater.newChildId(), "gantt.contextMenu.setInvisible") {
            @Override
View Full Code Here

        @Override
        public final void onSubmit()
        {
          final PageParameters params = new PageParameters();
          params.add(TaskEditPage.PARAM_PARENT_TASK_ID, taskTree.getRootTaskNode().getId());
          final TaskEditPage editPage = new TaskEditPage(params);
          editPage.setReturnToPage(parentPage);
          setResponsePage(editPage);
        }
      };
      createTaskButton.setDefaultFormProcessing(false);
      WicketUtils.addTooltip(createTaskButton, getString("task.wizard.button.createTask.tooltip"));
View Full Code Here

TOP

Related Classes of org.projectforge.web.task.TaskEditPage

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.