mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
969a95eff7
ENHANCEMENT Optionally returning JSON data or HTML form representations from Form submissions if Form->validate() fails (if HTTP Accept is set to 'application/json') ENHANCEMENT Limiting usage of prototype-validation responses in Form->validate() to form instances with $javascriptValidationHandler=='prototype' (which is the default setting). This enables us to return richer JSON data on validation errors without making assumptions about javascript methods on clientside through eval'ed responses (specifically Validator.js->validationError()) API CHANGE Deprecated Validator->getError() and Validator->getCombinedError(), use getErrors() instead git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@72979 467b73ca-7a2a-4603-9d3b-597d59a354a9 |
||
---|---|---|
api | ||
cli | ||
conf | ||
core | ||
css | ||
dev | ||
filesystem | ||
forms | ||
images | ||
integration | ||
javascript | ||
lang | ||
parsers | ||
profiler | ||
search | ||
security | ||
tasks | ||
templates | ||
tests | ||
thirdparty | ||
widgets | ||
_config.php | ||
cli-script.php | ||
main.php | ||
main.php5 | ||
Makefile | ||
sake | ||
silverstripe_version |