--
You received this message because you are subscribed to the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to grails-dev-disc...@googlegroups.com.
To post to this group, send email to grails-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/ffbb1f6d-36b4-4fc0-9991-31ba3a9d5174%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/grails-dev-discuss/Tj3T9ugkkCQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to grails-dev-disc...@googlegroups.com.
To post to this group, send email to grails-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/CAAodtxBuV5yopsaM891kG8crDk9eXoOCGtoZA_cuFGzWmPbOVg%40mail.gmail.com.
Scott RyanNot sure if you read my whole post but I am familiar with the documentation and have been using Grails for many years. The issue is that out of the RestController there does not appear any way to return the payload directly. If I use respond it tries to convert my data to JSON and assumes it is a map despite the signature being Object. If I use render of couse it tries to render a GSP. If I just return the data is again tries to render a GSP. I need to be able to return pure JSON from the controller and to return a multi part response with a binarry attachment. I know I can do this writing my own custom controller however wondering if anyone was able to do this with the default implementation of the RestController. I have done this with a custom controller but would like to take advantage of the capability in the RestController but return pure JSON as that is what is coming from my Mongo DB and not have to convert it to a map to use the respond function.Thanks
Scott Ryan
President/CTO
Soaring Eagle L.L.C.
Highlands Ranch, Co. 80130
(303) 263-3044
sc...@theryansplace.com
www.soaringeagleco.com
.
--
You received this message because you are subscribed to a topic in the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/grails-dev-discuss/Tj3T9ugkkCQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to grails-dev-disc...@googlegroups.com.
To post to this group, send email to grails-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/etPan.542b6df2.327b23c6.544a%40JSB-MBP-August-2012.local.
--
You received this message because you are subscribed to a topic in the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/grails-dev-discuss/Tj3T9ugkkCQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to grails-dev-disc...@googlegroups.com.
To post to this group, send email to grails-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/etPan.542b7751.643c9869.544a%40JSB-MBP-August-2012.local.
Scott Ryan
To unsubscribe from this group and all its topics, send an email to grails-dev-discuss+unsub...@googlegroups.com.
To post to this group, send email to grails-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/32C479AF-F15E-46C9-A484-7A340259B4FC%40gmail.com.