Changes for page ERRest In Depth
Last modified by Pascal Robert on 2012/06/10 16:01
From version 33.1
edited by Pascal Robert
on 2012/06/10 12:18
on 2012/06/10 12:18
Change comment:
There is no comment for this version
To version 31.1
edited by Pascal Robert
on 2012/06/10 12:21
on 2012/06/10 12:21
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -20,6 +20,26 @@ 20 20 21 21 request > route 22 22 23 +{{code}} 24 + 25 + /** 26 + * A NameFormat that behaves like Rails -- plural entities, plural routes, lowercase underscore names 27 + * (names_like_this). 28 + */ 29 + public static NameFormat RAILS = new NameFormat(true, true, NameFormat.Case.LowercaseUnderscore); 30 + 31 + /** 32 + * A NameFormat that behaves like WO -- singular entities, singular routes, camel names (NamesLikeThis). 33 + */ 34 + public static NameFormat WO = new NameFormat(false, false, NameFormat.Case.CamelCase); 35 + 36 + /** 37 + * A NameFormat that behaves like WO -- singular entities, singular routes, lowercase camel names (namesLikeThis). 38 + */ 39 + public static NameFormat WO_LOWER = new NameFormat(false, false, NameFormat.Case.LowerCamelCase); 40 + 41 +{{/code}} 42 + 23 23 * ERXRestContext 24 24 ** contains the editing context and an userInfo dictionnary 25 25 ** will be populated with er.rest.dateFormat, er.rest.timestampFormatter and er.rest.timestampFormat (read only for non-HTML responses)