JSF support in build 5131

The wiki mentions preliminary JSF features. Is there already a way to make value bindings like #{bundle.title} not appear in red? Are the managed bean entries from the faces-config already taken into account? How can I access the faces-config editor?

Thanks in advance,
Arvid

7 comments

Hi, we implemented initial support of JSF EL value bindings like
'#{myBean.trim}', myBean is taken from JSF config file (e.g.
faces-config.xml), referenced in web.xml
(<context-param><param-name>javax.faces.CONFIG_FILES</param-name><param-value>
path-to-config-file</param-value>).

In your case, error highlighting seems caused by some configuration
problem. Could you, please, file JIRA item with small project
illustrating the problem.


Arvid Huelsebus wrote:

The wiki mentions preliminary JSF features. Is there already a way to make value bindings like #{bundle.title} not appear in red? Are the managed bean entries from the faces-config already taken into account? How can I access the faces-config editor?

Thanks in advance,
Arvid



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

0

Sorry, but navigation graph & faces-config editor weren't included in 5131.
You'll see it in the nearest builds

The wiki mentions preliminary JSF features. Is there already a way to
make value bindings like #{bundle.title} not appear in red? Are the
managed bean entries from the faces-config already taken into account?
How can I access the faces-config editor?

Thanks in advance,
Arvid



0

If I setup a new JSF/Web project via 'New Project' selecting only default locations, it works.

The example I tried before has a Maven like directory structure. I will strip the example down and look if it is reproducible with an unmodified maven-idea-plugin -- I think the project was initially created with Maven2.

Thanks,
Arvid

0

How big is 'small'? My example depends on MyFaces. The whole project as a ZIP archive but without the JARs is about 22 KB big -- with JARs its a whopping 3020 KB. Do you want the big version or do you want to run Maven2 to retrieve the dependencies?

Regards,
Arvid

0

Small is about your sample code.
OK to have all jars.

Arvid Huelsebus wrote:

How big is 'small'? My example depends on MyFaces. The whole project as a ZIP archive but without the JARs is about 22 KB big -- with JARs its a whopping 3020 KB. Do you want the big version or do you want to run Maven2 to retrieve the dependencies?

Regards,
Arvid



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

0

Here you go. I added the bug to Jira: IDEA-6669

0

Pickup next EAP build :)

Arvid Huelsebus wrote:

Here you go. I added the bug to Jira: IDEA-6669


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

0

Please sign in to leave a comment.