Grails: GSP aware of model returned from controller

September 22nd, 2010 by Sergey Evdokimov

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.

Tags: , , ,

Leave a Reply