URI is not registered (JSF, PrimeFaces, BootsFaces)

I added some unknown XSDs to IntelliJ, like standard Java EE XSDs and so on, but fail to add the ones for JSF, PrimeFaces and BootsFaces.

At least for PrimeFaces and BootsFaces this should be easy. I found the XML tag libraries inside the JARs (bootsfaces-b.full.taglib.xml for BootsFaces, primefaces-p.taglib.xml for PrimeFaces) and just manually set them up as external resources. Yet, I get no suggestions what so ever.

How come IntelliJ is not aware of this absolute standard stuff? *asking rhetorically*

Can someone please give me a working guide on how to make the XMLs know to IntelliJ? Maybe it would even be possible to tell me which XSDs I have to import to get JSF suggestions.

I am using the InteliJ 14 Community Edition.

4 comments
Comment actions Permalink

Did you try it with the Ultimate Edition?

Community Edition has no JSF support, so resolving will not work, see also http://www.jetbrains.com/idea/features/editions_comparison_matrix.html .

0
Comment actions Permalink

IntelliJ did not have "support" for any Java EE schemas after the installation. I successfully added the relevant schemas and resolved this without buying the Ultimate Edition, so, please refrain from presenting the "buy it" answer as sole problem solver.

I guess the question really boils down to: How to add XML tag libraries to IntelliJ?

Simply, setting the XML files up as external resource, like any other XSD did not work and playing with the XML actions under Tools did not provide a working XSD file.

0
Comment actions Permalink

JavaEE schemas are defined via .tld files (or .taglib.xml for facelets), not via xsd or dtd. IDEA CE does not support them.

0
Comment actions Permalink

I am not sure what you are referring to, but I successfully added the Java EE XSD schemas that you can download from the known source (http://xmlns.jcp.org/xml/ns/javaee/) to IDEA CE and it gives me suggestions with Strg+Space.. great. Now, I want to have this for tags from tag libraries as well (PrimeFaces and BootsFaces). I tried to make XSDs from hte XMLs, but the result is not a usable XSD file. Any hints?

0

Please sign in to leave a comment.