Grails: GSP aware of model returned from controller

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.

This entry was posted in New Features and tagged , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>