How to make Idea 8 understand my facelets custom components?

I created some facelets custom components. This is an example of the /WEB-INF/taglib/NBSP.tag.xhtml:

<ui:repeat value='#'>   Then I declare all my facelets custom components in the /WEB-INF/ifx.taglib.xhtml file: http://ifx/tags nbsp taglib/NBSP.tag.xhtml I included the ifx.taglib.xhtml in web.xml like this: facelets.LIBRARIES /WEB-INF/ifx.taglib.xml Then I use that nbsp custom component in a xhtml file: H.T The line xmlns:ifx="http://ifx/tags" is NOT red, that means Idea knows my ifx.taglib.xml file (if I change it to xmlns:ifx="http://ifx/tag", then it's red). But the line ]]> is red!

How do I solve this problem?

1 comment
Comment actions Permalink

I know what's the problem is: the taglib.xml file must start with

<?xml version="1.0"?>
<!DOCTYPE facelet-taglib PUBLIC
"-//Sun Microsystems, Inc.//DTD Facelet Tablib 1.0//EN" "file:///home/rconaway/reference/facelet-taglib_1_0.dtd">
<facelet-taglib xmlns="">

Edited by: Thai Dang Vu on Aug 13, 2008 10:22 PM


Please sign in to leave a comment.