Package de.iritgo.aktera.model

Examples of de.iritgo.aktera.model.ModelResponse.createCommand()


        if (cal.get(Calendar.MONTH) == showMonth)
        {
          if (dayModel != null)
          {
            Command cmdDoDay = res.createCommand(dayModel);

            outDay.setAttribute("cmdDoDay", cmdDoDay);
          }
        }
        else
View Full Code Here


    if (req.getParameter("loginmodel") != null)
    {
      loginModel = (String) req.getParameter("loginmodel");
    }

    Command login = res.createCommand(loginModel);

    login.setName("login");
    login.setLabel("$login");

    if (fixedDomain != null)
View Full Code Here

    res.add(login);

    res.setDefaultsFromPrevious();

    Command logout = res.createCommand(Constants.LOGOFF);

    logout.setLabel("$logoff");
    res.add(logout);

    Command promptSendPassword = res.createCommand(Constants.PROMPT_SEND_PASSWORD);
View Full Code Here

    Command logout = res.createCommand(Constants.LOGOFF);

    logout.setLabel("$logoff");
    res.add(logout);

    Command promptSendPassword = res.createCommand(Constants.PROMPT_SEND_PASSWORD);

    promptSendPassword.setName("sendPassword");
    promptSendPassword.setLabel("$sendPassword");
    res.add(promptSendPassword);
View Full Code Here

    promptSendPassword.setName("sendPassword");
    promptSendPassword.setLabel("$sendPassword");
    res.add(promptSendPassword);

    Command promptRegister = res.createCommand(Constants.PROMPT_REGISTRATION);

    promptRegister.setLabel("$register");
    res.add(promptRegister);

    res.setDefaultsFromPrevious();
View Full Code Here

      properties.setProperty("destination", params.destination);
    }

    ModelResponse res = req.createResponse();

    Command cmdBack = res.createCommand(params.backModel);

    cmdBack.setName("cmdBack");
    res.add(cmdBack);

    if ("analyze".equals(params.mode))
View Full Code Here

        return ModelTools.callModel(req, "aktera.import.analyse.report", props);
      }
      else
      {
        Command cmdForce = res.createCommand(getConfiguration().getAttribute("id", "none"));

        cmdForce.setName("cmdForce");
        cmdForce.setParameter("file", params.fileName);

        if (StringTools.isNotTrimEmpty(params.destination))
View Full Code Here

          {
            continue;
          }
        }

        Command cmd = res.createCommand("aktera.select-menu-item");

        cmd.setName("cmd" + num);
        cmd.setLabel(item.label);
        cmd.setAttribute("bundle", item.bundle);
        cmd.setAttribute("id", item.id);
View Full Code Here

        {
        }

        if (itemAllowed)
        {
          cmd = res.createCommand(model);
          outMenu.add(cmd);

          cmd.setLabel(itemConfig.getAttribute("title", "$noTitle"));
          cmd.setAttribute("hasNext", new Boolean(j + 1 < items.length));
          cmd.setAttribute("bundle", itemConfig.getAttribute("bundle", "Aktera"));
View Full Code Here

  {
    ModelResponse res = req.createResponse();

    try
    {
      Command c = res.createCommand(getConfiguration().getChild("model").getValue());

      res.addErrors(req.getErrors());

      return c.execute(req, res, true, 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.