Package de.iritgo.aktera.ui

Examples of de.iritgo.aktera.ui.UIControllerException


          response.addError(error.getKey(), error.getValue());
        }
      }
      catch (AuthorizationException x)
      {
        throw new UIControllerException(x);
      }
      catch (UIControllerException x)
      {
        throw new UIControllerException(x);
      }
    }

    if (response.getForward() == null)
    {
      String listingBeanName = (String) request.getParameter("_lm");
      BeanRequest uiRequest = new BeanRequest();

      uiRequest.setLocale(request.getLocale());
      uiRequest.setBean(listingBeanName.replace("_BEAN_.", ""));

      Map<String, Object> parameters = new HashMap();

      for (Iterator i = request.getParameters().keySet().iterator(); i.hasNext();)
      {
        String key = (String) i.next();

        if (key.startsWith("_lp"))
        {
          parameters.put(key.substring(3), request.getParameter(key));
        }
      }

      uiRequest.setParameters(parameters);
      uiRequest.setUserEnvironment(request.getUserEnvironment());

      try
      {
        BeanAction.execute(uiRequest, response);
      }
      catch (AuthorizationException x)
      {
        throw new UIControllerException(x);
      }
    }
  }
View Full Code Here


      }
    }
    catch (ConfigurationException x)
    {
      logger.error(x.toString());
      throw new UIControllerException(x);
    }
    catch (PersistenceException x)
    {
      logger.error(x.toString());
      throw new UIControllerException(x);
    }
    catch (ModelException x)
    {
      logger.error(x.toString());
      throw new UIControllerException(x);
    }
  }
View Full Code Here

      response.addOutput("formAction", "bean");
    }
    catch (ModelException x)
    {
      throw new UIControllerException(x);
    }
    catch (PersistenceException x)
    {
      throw new UIControllerException(x);
    }
    catch (ConfigurationException x)
    {
      throw new UIControllerException(x);
    }
  }
View Full Code Here

      return formularDescriptor;
    }
    catch (ModelException x)
    {
      throw new UIControllerException(x);
    }
    catch (ConfigurationException x)
    {
      throw new UIControllerException(x);
    }
  }
View Full Code Here

        response.setForward(forward);
      }
    }
    catch (ConfigurationException x)
    {
      throw new UIControllerException(x);
    }
    catch (PersistenceException x)
    {
      throw new UIControllerException(x);
    }
    catch (ModelException x)
    {
      throw new UIControllerException(x);
    }
  }
View Full Code Here

        handler = (ListingHandler) Class.forName(handlerClassName).newInstance();
      }
      catch (ClassNotFoundException x)
      {
        logger.error("Unable to create handler " + handlerClassName + " (" + x + ")");
        throw new UIControllerException("Unable to create handler " + handlerClassName + " (" + x + ")");
      }
      catch (InstantiationException x)
      {
        logger.error("Unable to create handler " + handlerClassName + " (" + x + ")");
        throw new UIControllerException("Unable to create handler " + handlerClassName + " (" + x + ")");
      }
      catch (IllegalAccessException x)
      {
        logger.error("Unable to create handler " + handlerClassName + " (" + x + ")");
        throw new UIControllerException("Unable to create handler " + handlerClassName + " (" + x + ")");
      }
    }
    else
    {
      String handlerBeanName = ModelTools.getConfigString(configPath, "handler", "bean", null);
View Full Code Here

        return;
      }
    }
    catch (ModelException x)
    {
      throw new UIControllerException(x);
    }
    catch (PersistenceException x)
    {
      throw new UIControllerException(x);
    }
    catch (ConfigurationException x)
    {
      throw new UIControllerException(x);
    }
  }
View Full Code Here

TOP

Related Classes of de.iritgo.aktera.ui.UIControllerException

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.