Spring WebFlow view names resolving in #8890 and later

One of my older projects uses SWF 1.0.5, and I have just noticed that all view states' "view" attribute values are highlighted red in the flow definitions. IDEA used to resolve the view names correctly before. I am not sure in which EAP version it started to happen. My servlet config file contains the following resource view resolver definition:

]]>

In flow XMLs, I have view or end state definitions such as the end state below:

<end-state id="systemerror" view="main/error" />

This means the view is implemented in the error.jsp file that resides under /WEB-INF/jsp/main folder. The application works correctly, of course, except IDEA now fails to recognize the view name ("main/error") in the editor and highlights it red. It used to work properly before, and I could Ctrl-click to the JSP file directly from the flow XML editor. Is this a known problem? Or should I file a jira issue?

Thanks,
Constantine

0
2 comments

Hi Constantine --

I have a similar problem although specifically around tiles and webflow view
resolution.

http://www.jetbrains.net/jira/browse/IDEA-19647

Grant

"constv" <no_reply@jetbrains.com> wrote in message
news:28632489.51041225292883054.JavaMail.jive@app4.labs.intellij.net...

One of my older projects uses SWF 1.0.5, and I have just noticed that
all view states' "view" attribute values are highlighted red in the flow
definitions. IDEA used to resolve the view names correctly before. I am
not sure in which EAP version it started to happen. My servlet config file
contains the following resource view resolver definition:

>

<bean id="viewResolver"
>
<property name="prefix" value="/WEB-INF/jsp/"/>
<property name="suffix" value=".jsp"/>
</bean>

>

In flow XMLs, I have view or end state definitions such as the state
below:

>

<end-state id="systemerror" view="main/error" />

>

This means the view is implemented in the error.jsp file that resides
under /WEB-INF/jsp/main folder. The application works correctly, of
course, except IDEA now fails to recognize the view name in the editor and
highlights it red. It used to work properly before, and I could Ctrl-click
to the JSP file directly from the flow XML editor. Is this a known
problem? Or should I file a jira issue?

>

Thanks,
Constantine


0

Please, file an issue.


0

Please sign in to leave a comment.