-
1. HTML Tag proposals for jsf2 is missing
akazakov Feb 9, 2011 8:35 AM (in response to nimo22)Could you give us more details? How did you create your project? Do you have jsf tag libs in the project class path? Does the page work in Runtime?
-
2. Re: HTML Tag proposals for jsf2 is missing
nimo22 Feb 9, 2011 9:17 AM (in response to akazakov)Yes, I have taglibs included and it is a jsf-enabled project:
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:rich="http://richfaces.org/rich"
xmlns:a4j="http://richfaces.org/a4j">
The page renders fine, the only (little) problem is, that no tag-proposals for jsf2-tags are shown while developing on the page.
jsf-1.1-tags for f and u are regogniced while typing, but not jsf2-tags, so I guess, there is no appropriate jsf2-taglibrary only the old taglibrary (jsf1) is used in jboss tools.
-
3. Re: HTML Tag proposals for jsf2 is missing
nimo22 Feb 9, 2011 9:21 AM (in response to nimo22)I use rftools 3.2rc1. I have jsf-api-2.0.0-RC.jar on my classpath provided my maven dependency.
-
4. Re: HTML Tag proposals for jsf2 is missing
akazakov Feb 9, 2011 9:22 AM (in response to nimo22)JBT support code completion for all the tags from all the tag libs but only if jars with those tag libs are available in project class path. It seems that your project classpath doesn't have JSF2 jars with tag libs. In this case JBT uses build-in JSF 1.2 libs.
-
5. Re: HTML Tag proposals for jsf2 is missing
akazakov Feb 9, 2011 9:27 AM (in response to nimo22)I use rftools 3.2rc1. I have jsf-api-2.0.0-RC.jar on my classpath provided my maven dependency.
But JSF tag libs are not in jsf-api-*.jars. They are placed in jsf-impl-*.jar.
-
6. Re: HTML Tag proposals for jsf2 is missing
nimo22 Feb 9, 2011 10:12 AM (in response to akazakov)thanks, that was my failure. Now code completion works.