Package org.springframework.webflow.core.collection

Examples of org.springframework.webflow.core.collection.ParameterMap


  private MappingResults bind(Object model) {
    if (logger.isDebugEnabled()) {
      logger.debug("Binding to model");
    }
    DefaultMapper mapper = new DefaultMapper();
    ParameterMap requestParameters = requestContext.getRequestParameters();
    if (binderConfiguration != null) {
      addModelBindings(mapper, requestParameters.asMap().keySet(), model);
    } else {
      addDefaultMappings(mapper, requestParameters.asMap().keySet(), model);
    }
    return mapper.map(requestParameters, model);
  }
View Full Code Here


    public String getExpressionString() {
      return parameterName;
    }

    public Object getValue(Object context) throws EvaluationException {
      ParameterMap parameters = (ParameterMap) context;
      return parameters.asMap().get(parameterName);
    }
View Full Code Here

  protected MappingResults bind(Object model) {
    if (logger.isDebugEnabled()) {
      logger.debug("Binding to model");
    }
    DefaultMapper mapper = new DefaultMapper();
    ParameterMap requestParameters = requestContext.getRequestParameters();
    if (binderConfiguration != null) {
      addModelBindings(mapper, requestParameters.asMap().keySet(), model);
    } else {
      addDefaultMappings(mapper, requestParameters.asMap().keySet(), model);
    }
    return mapper.map(requestParameters, model);
  }
View Full Code Here

    public String getExpressionString() {
      return parameterName;
    }

    public Object getValue(Object context) throws EvaluationException {
      ParameterMap parameters = (ParameterMap) context;
      return parameters.asMap().get(parameterName);
    }
View Full Code Here

TOP

Related Classes of org.springframework.webflow.core.collection.ParameterMap

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.