Examples of reverseBind()


Examples of org.springframework.springfaces.mvc.bind.ReverseDataBinder.reverseBind()

      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();
      for (PropertyValue propertyValue : propertyValues.getPropertyValues()) {
        addIfNotContainsKey(model, propertyValue.getName(), propertyValue.getValue());
      }
    }
  }
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.