Package org.springframework.web.context.request

Examples of org.springframework.web.context.request.WebRequest


    if (BeanUtils.isSimpleProperty(methodParameter.getParameterType())) {
      assertHasName(name, methodParameter);
      addIfNotContainsKey(model, name, value);
    } else {
      WebDataBinder binder = new WebRequestDataBinder(value);
      WebRequest request = new FacesWebRequest(FacesContext.getCurrentInstance());
      if (this.context.getWebBindingInitializer() != null) {
        this.context.getWebBindingInitializer().initBinder(binder, request);
      }
      ReverseDataBinder reverseBinder = new ReverseDataBinder(binder);
      PropertyValues propertyValues = reverseBinder.reverseBind();
View Full Code Here


    }

    @Override
    protected void validateIfApplicable(WebDataBinder binder, MethodParameter parameter) {
        //
        WebRequest webRequest = webRequestLocal.get();
        String groupsStr = webRequest.getParameter("groups");
        if (StringUtils.hasText(groupsStr)) {
            List<Object> hintList = new ArrayList<Object>();
            String[] groups = StringUtils.commaDelimitedListToStringArray(groupsStr);
            for (String group : groups) {
                try {
View Full Code Here

TOP

Related Classes of org.springframework.web.context.request.WebRequest

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.