No such property: theRequest for class: com.sherif.utils.MyService
def theRequest = WebUtils.retrieveGrailsWebRequest().getCurrentRequest()
--
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/df0fcf38-eac0-470b-b9e5-5ff770a3b91d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Sherif,Is that inside our outside a method? My best bet is, that the above code should work.
Best regards / Med venlig hilsen,
Søren Berg Glasius
Hedevej 1, Gl. Rye, 8680 Ry, Denmark
Mobile: +45 40 44 91 88, Skype: sbglasius
--- Press ESC once to quit - twice to save the changes.
--
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/CAGY%2BWWR%2BKHiHxkCLXUGsX6fKhiy96%3D%2B2fPz8A2TukO3odmPTug%40mail.gmail.com.
--Hi all ,In Grails 2.5.1 Service i'm trying to get the request but i'm getting the below error :
No such property: theRequest for class: com.sherif.utils.MyService
here is my code in the service:
def theRequest = WebUtils.retrieveGrailsWebRequest().getCurrentRequest()
ThanksSherif
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/df0fcf38-eac0-470b-b9e5-5ff770a3b91d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.