Package de.iritgo.aktera.model

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


        num++;
      }

      if (byGroups)
      {
        Output outMenuGroups = res.createOutput("menuGroups");

        res.add(outMenuGroups);

        for (MenuGroup menuGroup : menuGroups)
        {
View Full Code Here


        res.add(outMenuGroups);

        for (MenuGroup menuGroup : menuGroups)
        {
          Output outMenuGroup = res.createOutput(menuGroup.id, menuGroup.id);

          outMenuGroups.add(outMenuGroup);
          outMenuGroup.setAttribute("label", menuGroup.label);
          outMenuGroup.setAttribute("bundle", menuGroup.bundle);
View Full Code Here

      handler.adjustFormular(req, formular, persistents);

      if (NumberTools.toBool(req.getParameter(SYSTEM_EDIT), false))
      {
        Output out = res.createOutput(FORM_KEY);

        out.setContent(formular);
        res.add(out);
      }
      else
View Full Code Here

    }
    catch (ContextException x)
    {
    }

    Output outMenuList = res.createOutput("menuList");

    res.add(outMenuList);

    Configuration[] menus = config.getChildren("menu");
View Full Code Here

        }
      }

      if (outMenu == null)
      {
        outMenu = res.createOutput(menuId);
        outMenuList.add(outMenu);
        outMenu.setAttribute("title", menuConfig.getAttribute("title", "$noTitle"));
      }

      Command cmd = null;
View Full Code Here

  {
    ModelResponse res = req.createResponse();

    LicenseInfo license = LicenseTools.getLicenseInfo();

    Output licenseComplanyName = res.createOutput("licenseCompanyName");

    if (license != null)
    {
      licenseComplanyName.setContent(license.getCompany());
    }
View Full Code Here

  {
    ModelResponse res = req.createResponse();

    try
    {
      Output out = res.createOutput("data");

      Configuration fileConfig = getConfiguration().getChild("file", false);

      if (fileConfig != null)
      {
View Full Code Here

  {
    ModelResponse res = req.createResponse();

    AppInfo.Info appInfo = AppInfo.getAppInfo(AppInfo.SYSTEM);

    Output outName = res.createOutput("name", appInfo.getNameLong());

    res.add(outName);

    Output outVersion = res.createOutput("version", appInfo.getVersionLong());
View Full Code Here

    Output outName = res.createOutput("name", appInfo.getNameLong());

    res.add(outName);

    Output outVersion = res.createOutput("version", appInfo.getVersionLong());

    res.add(outVersion);

    Output outCopyright = res.createOutput("copyright", appInfo.getCopyright().replaceAll("\\\\n", "<br>"));
View Full Code Here

    Output outVersion = res.createOutput("version", appInfo.getVersionLong());

    res.add(outVersion);

    Output outCopyright = res.createOutput("copyright", appInfo.getCopyright().replaceAll("\\\\n", "<br>"));

    res.add(outCopyright);

    return res;
  }
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.