Package de.odysseus.calyxo.base.access

Examples of de.odysseus.calyxo.base.access.AccessException


   * @see de.odysseus.calyxo.base.access.DynamicMapAccessor#get(javax.servlet.http.HttpServletRequest, java.lang.Object)
   */
  protected Object get(HttpServletRequest request, Object key) {
    ListModel model = (ListModel)key;
    if (model == null) {
      throw new AccessException("No list model!");
    }
    return new ListModelBean(model, i18n.getLocale(request));
  }
View Full Code Here


  protected Object get(HttpServletRequest request, Object key) {
    FormData data = null;
    try {
      data = support.getFormData(request, key.toString(), false);
    } catch (Exception e) {
      throw new AccessException("Could not access form data for path '" + key + "'", e);
    }
    return data == null ? null : data._getWrapped();
  }
View Full Code Here

     */
    protected Object get(HttpServletRequest request, Object key) {
      PanelsContext context = support.getContext(request);
      ParamConfig param = context.lookupParamConfig(key.toString());
      if (param == null) {
        throw new AccessException("Unknown panel parameter '" + key + "'");
      }
      if (!param.isDefined()) {
        throw new AccessException("Undefined value for panel parameter '" + key + "'");
      }
      return param.getValue();
    }
View Full Code Here

TOP

Related Classes of de.odysseus.calyxo.base.access.AccessException

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.