Tiles views inspection in Spring MVC not recognizing views.xml.

I'm using IntelliJ 10 with a Spring Roo project. In  the webmvc-config.xml (the spring mvc config context file) IntelliJ  allows me to use autocomplete to fill the names of tiles views.   However, it only seems to allow autocomoplete the names of views from  WEB-INF/layouts/layouts.xml it ignores all the views defien din  /WEB-INF/views/**/views.xml.   Is there a way to force IntelliJ to  recognize these files as tiles config files.
The thing i find annoying about this is that there is an IntelliJ inspection that marks any instance of

<mvc:view-controller path="..." view-name="..."
as an error if it can't find the view refrenced. Now this doesn't  actually stop anything from working. But it is annoying. I'm just trying  to figure out if this is a bug in IntelliJ or if there is a setting I  missed.
1 comment
Comment actions Permalink

Please file a YouTrack ticket for this

"Karthik Ramachandran" <no_reply@jetbrains.com> сообщил(а) в новостях
следующее:25944353.46371301239308951.JavaMail.devnet@domU-12-31-39-18-36-57.compute-1.internal...

I'm using IntelliJ 10 with a Spring Roo project. In  the webmvc-config.xml
(the spring mvc config context file) IntelliJ  allows me to use
autocomplete to fill the names of tiles views.   However, it only seems to
allow autocomoplete the names of views from  WEB-INF/layouts/layouts.xml
it ignores all the views defien din  /WEB-INF/views/**/views.xml.   Is
there a way to force IntelliJ to  recognize these files as tiles config
files.
The thing i find annoying about this is that there is an IntelliJ
inspection that marks any instance of <mvc:view-controller path="..."
view-name="..." as an error if it can't find the view refrenced. Now this
doesn't  actually stop anything from working. But it is annoying. I'm just
trying  to figure out if this is a bug in IntelliJ or if there is a
setting I  missed.

>

---
Original message URL: http://devnet.jetbrains.net/message/5298492#5298492


0

Please sign in to leave a comment.