In v1.1 JsonView maps the spring validation errors to JSON using the same
attribute names (e.g. fielderrors). It would be nice to be able to specify
the mapping from spring's names to JSON names, as some frameworks like
ExtJS provide out-of-the-box functionality to map responses to fields.
ExtJs for instance expects the validation errors to be in a json hash
called 'errors'.
Thus for v1.1: Add setters to JsonView for specifying the name under which
to store the validation errors (e.g. 'errors' instead of 'fielderrors')
Thus for trunk (as of writing): Add the same setter functionality to
StandartErrorConverter
Nobody/Anonymous
api
Next Release
Public
|
Date: 2009-04-29 02:20 This Tracker item was closed automatically by the system. It was |
|
Date: 2009-04-08 07:48 see Featurerequest 2743327 |
|
Date: 2009-04-07 10:03 The attatched StandartErrorConverter source is going to be added to |
| Filename | Description | Download |
|---|---|---|
| StandartErrorConverter.java | Modified StandartErrorConverter (based on trunk rev451) | Download |
| Field | Old Value | Date | By |
|---|---|---|---|
| status_id | Pending | 2009-04-29 02:20 | sf-robot |
| allow_comments | 1 | 2009-04-29 02:20 | sf-robot |
| close_date | 2009-04-14 14:35 | 2009-04-29 02:20 | sf-robot |
| status_id | Open | 2009-04-14 14:35 | kaiulrich |
| close_date | - | 2009-04-14 14:35 | kaiulrich |
| File Added | 319413: StandartErrorConverter.java | 2009-03-24 21:12 | zefixlluja |
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use