Project
IntelliJ IDEA
Priority
Normal
Type
Bug
Fix versions
No Fix versions
State
Verified
Assignee
Sergey Evdokimov
Subsystem
Groovy
Affected versions
No Affected versions
Fixed in build
96.236  
  • Created by   Victoria Dumova
    2 years ago (26 Aug 2009 17:02)
  • Updated by   Sergey Evdokimov
    13 months ago (29 Mar 2011 12:47)
  • Jira: IDEADEV-39949
    (history, comments)
 
IDEA-50204 Grails, GSP: template namespace is not resolved
2
Issue is visible to: All Users
  The issue is visible to the selected user group only
In view folder of grails application create a template "_someTemplate.gsp". Use it in another .gsp file through "tmpl" namespace:
<tmpl:someTemplate/>

The code is highlighted red, saying "Element tmpl:someTemplate is not allowed here". The application compiles and runs well.
Comments (2)
 
History
 
Linked Issues (?)
 
Alexander Chernikov
  Alexander Chernikov
27 Oct 2009 17:52
2 years ago
90.119: also met this.
Stefan Armbruster
  Stefan Armbruster
19 Apr 2010 18:28
2 years ago
Would also be nice if a ctrl click or crtl+B on 'someTemplate' opens the respective file in the editor