I am doing a JSF project in Eclipse (Helios) and I enabled the JSF facet for my project.
Code assistance (code hinting) works for the JSF tags but not for the attributes.
Say, if I type the following then the all possible tags are displayed, that is fine.
<h:
But, if I type the following and press the space bar, no code hinting for attributes appears:
<h:graphicImage
I guess that Eclipse must have this featur开发者_运维问答e (Netbeans is having similar feature) but I am missing something.
Please anyone tell me what I am missing.
You need to add the TLD reference (Eg. html_basic.tld
) to the Eclipse project settings. This will allow Eclipse to reference the TLD file to provide autocomplete functionality.
A better explanation of what to do can be found here:
Eclipse autocomplete (content assist) with facelets (jsf) and xhtml
精彩评论