|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.validation.DataBinder
org.springframework.web.bind.WebDataBinder
org.springframework.web.bind.ServletRequestDataBinder
net.sf.springlayout.web.bind.LayoutServletRequestDataBinder
public class LayoutServletRequestDataBinder
Temporary replacement for the core Spring ServletRequestDataBinder
.
Fixes a bug in Spring that has apparently been fixed in Spring 2.01 and 1.29.
Field Summary |
---|
Fields inherited from class org.springframework.web.bind.WebDataBinder |
---|
DEFAULT_FIELD_MARKER_PREFIX |
Fields inherited from class org.springframework.validation.DataBinder |
---|
DEFAULT_OBJECT_NAME, logger |
Constructor Summary | |
---|---|
LayoutServletRequestDataBinder(java.lang.Object target)
|
|
LayoutServletRequestDataBinder(java.lang.Object target,
java.lang.String objectName)
|
Method Summary | |
---|---|
protected void |
checkFieldMarkers(org.springframework.beans.MutablePropertyValues mpvs)
Overriden to remove any fieldMarkerPrefix prefixed fields from mpvs thus preventing exceptions on these fields when attempting to resolve their values against the command object |
Methods inherited from class org.springframework.web.bind.ServletRequestDataBinder |
---|
bind, checkMultipartFiles, closeNoCatch, isBindEmptyMultipartFiles, setBindEmptyMultipartFiles |
Methods inherited from class org.springframework.web.bind.WebDataBinder |
---|
doBind, getEmptyValue, getFieldMarkerPrefix, setFieldMarkerPrefix |
Methods inherited from class org.springframework.validation.DataBinder |
---|
applyPropertyValues, bind, checkAllowedFields, checkRequiredFields, close, createErrors, findCustomEditor, getAllowedFields, getBeanWrapper, getBindingErrorProcessor, getErrors, getObjectName, getRequiredFields, getTarget, isAllowed, isIgnoreUnknownFields, registerCustomEditor, registerCustomEditor, setAllowedFields, setBindingErrorProcessor, setExtractOldValueForEditor, setIgnoreUnknownFields, setMessageCodesResolver, setRequiredFields |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LayoutServletRequestDataBinder(java.lang.Object target)
public LayoutServletRequestDataBinder(java.lang.Object target, java.lang.String objectName)
Method Detail |
---|
protected void checkFieldMarkers(org.springframework.beans.MutablePropertyValues mpvs)
checkFieldMarkers
in class org.springframework.web.bind.WebDataBinder
mpvs
- the property values to be bound (can be modified)WebDataBinder.getFieldMarkerPrefix()
,
WebDataBinder.getEmptyValue(String, Class)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |