Details
-
Type:
Wish
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.3 final
-
Fix Version/s: None
-
Component/s: Converters
-
Labels:None
Description
I want to use a specific view for my object to render xml (or json or others)
Sample :
class MyClass{
String param1
String param2
Set param3
}
I want to render only param1 and 2 .
At this time, Ican create an object view :
class MyClassView1 {
String param1
String param2
mapping =
}
class MyClassView2
{ ... }But why not :
class MyClass{
...
static rendering1 =
static rendering2 =
{ param2 param3 }}
or better, create a outside class to do this mechanism.
Thanks a lot.
Activity
- All
- Comments
- Work Log
- History
- Activity
- Git Commits
Contegix Support
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Project Import | Thu Mar 24 21:22:24 CDT 2011 [ 1301019744151 ] |
Burt Beckwith
made changes -
| Workflow | jira [ 30758 ] | Grails [ 40245 ] |
Burt Beckwith
made changes -
| Workflow | Grails [ 40245 ] | Copy of Grails [ 47678 ] |
Burt Beckwith
made changes -
| Workflow | Copy of Grails [ 47678 ] | Grails [ 55088 ] |
Burt Beckwith
made changes -
| Workflow | Grails [ 55088 ] | Grails2 [ 62639 ] |
Burt Beckwith
made changes -
| Workflow | Grails2 [ 62639 ] | jira [ 77668 ] |
Burt Beckwith
made changes -
| Workflow | jira [ 77668 ] | Grails2 [ 86025 ] |
Peter Ledbrook
made changes -
| Last Reviewed | 01/Jan/10 |
Peter Ledbrook
made changes -
| Workflow | Grails2 [ 86025 ] | jira [ 94409 ] |
Peter Ledbrook
made changes -
| Workflow | jira [ 94409 ] | Grails2 [ 102556 ] |