Issue Details (XML | Word | Printable)

Key: GRAILSPLUGINS-386
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Peter Ledbrook
Reporter: Peter Ledbrook
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Grails Plugins

Add web-related dynamic properties to GWT services

Created: 27/May/08 05:07 AM   Updated: 31/Jul/08 07:42 AM   Resolved: 31/Jul/08 07:42 AM
Return to search
Component/s: Grails-GWT
Affects Version/s: Grails-GWT 0.2
Fix Version/s: Grails-GWT 0.3

Time Tracking:
Not Specified

File Attachments: 1. Text File GRAILSPLUGINS-386.patch (0.7 kB)



 Description  « Hide

Since GWT services are inherently called from a request, the standard web properties (request, response, etc.) should be injected into those services.



Spencer Uresk added a comment - 02/Jul/08 01:46 AM

Here is an implementation of what you suggested on the mailing list. It works for all cases I tried in my application.


Peter Ledbrook added a comment - 31/Jul/08 07:42 AM

Thanks for the patch Spencer. I have now added it and so it should be available in the SVN and Git repositories soon.