This post originated from an RSS feed registered with Java Buzz
by s m.
Original Post: Grails: GSP aware of model returned from controller
Feed Title: IntelliJ IDEA Blog
Feed URL: http://blogs.jetbrains.com/idea/feed/
Feed Description: News, tips&tricks, how-to's and other issues related to IntelliJ IDEA
As you already know, we are working on GSP editing improvements in IntelliJ IDEA X. In particular, now the editor knows about the variables that the controller supplies to the view.
Example:
Consider an action returning a bookList variable:
And the corresponding GSP file has access to this variable:
Rename, completion and find usages work as they should.