JSF Support in 5162

There's a couple of obvious problems in the JSF support for 5162:

1) IDEA needs to understand the <f:loadBundle> tag. My pages require multi-language support so loadBundle is used everywhere. Right now, my pages are all in red because I refer to the bundle in my EL and IDEA can't handle it.

2) IDEA seems to require that all the subViews exist within a view in the same page. This is frequently not the case. I don't know enough about JSF to say this is common practice or not but our subview tags are usually within jspf fragment files -- not the jsp file. Consequently, wherever we do this everything turns up red.

Fix those two things and JSF will get a whole lot better for me. :)

5 comments

Hi,

Could you please open JIRA items with examples, thank you in advance.

Marc Stock wrote:

There's a couple of obvious problems in the JSF support for 5162:

1) IDEA needs to understand the <f:loadBundle> tag. My pages require multi-language support so loadBundle is used everywhere. Right now, my pages are all in red because I refer to the bundle in my EL and IDEA can't handle it.

2) IDEA seems to require that all the subViews exist within a view in the same page. This is frequently not the case. I don't know enough about JSF to say this is common practice or not but our subview tags are usually within jspf fragment files -- not the jsp file. Consequently, wherever we do this everything turns up red.

Fix those two things and JSF will get a whole lot better for me. :)



--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0

IDEA also has problems with variables introduced by <h:dataTable var="row" ...>.

Are you going to support providing of such variables in other tab libraries, too? Take for example the MyFaces Tomahawk extended DataTable <t:dataTable> or Tobago <tc:sheet>. Are you evaluating the variable info in FacesTagExtraInfo?

Regards,
Arvid

0

Actually IDEA fully supports TEI, instantiates it and uses all the
information provided. Unfortunately, JSF doesn't follow TLD
specification and doesn't provide any meaningful TEI classes. We'll see
what can we do.

Arvid Huelsebus wrote:

IDEA also has problems with variables introduced by <h:dataTable var="row" ...>.

Are you going to support providing of such variables in other tab libraries, too? Take for example the MyFaces Tomahawk extended DataTable <t:dataTable> or Tobago <tc:sheet>. Are you evaluating the variable info in FacesTagExtraInfo?

Regards,
Arvid

0

Arvid,

We're going to provide the extensibility mechanism to provide the EL
meta-info about introduced variables. You can track the progress here:

http://www.jetbrains.net/jira/browse/IDEADEV-4975

0

Please sign in to leave a comment.