History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: GRVY-364
Type: New Feature New Feature
Status: Open Open
Priority: Normal Normal
Assignee: Dmitry Krasilschikov
Reporter: Graeme Rocher
Votes: 0
Watchers: 0
Operations

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

Make GSP aware of model returned from controller

Created: 12 Sep 07 01:24   Updated: 13 Nov 08 17:16
Component/s: Grails editor support
Affects Version/s: None
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
In Grails a model is a map turned by the controller:
def list = {
    [bookList:Book.list()]
}

The GSP view that is appropriate for the above action should be aware of this model in the editor and completions for "bookList" should appear



 All   Comments   Work Log   Change History      Sort Order:
Ilya Sergey - 05 Feb 08 17:43
Grame, could you describe more precisely functionality you expect form GSP-to-modele reference support?
Is your wish related only to default scaffolding controller actions (like list, show, edit etc.) whose default results are well-known for us? If you suggest more wide support, describe, please, name consents between action results and related views.