-
1. Re: How to enable Seam components content assist in .xhtml
akazakov Apr 29, 2010 9:38 AM (in response to vargar2)Your project already has Seam support enabled but content assist still doesn't work, correct?
-
2. Re: How to enable Seam components content assist in .xhtml
vargar2 Apr 29, 2010 9:47 AM (in response to akazakov)That is correct.
Right click on project->Configure-> only offers Remove Seam Support.
-
3. Re: How to enable Seam components content assist in .xhtml
akazakov Apr 29, 2010 12:09 PM (in response to vargar2)Seam-gen didn't add KB builder to the project that is requered for Code assist. The simplest way to do it is desabling/re-enabling Seam support for the project. BTW if you open any XHTML file then Visual Page Editor should warn you and offer to add this builder to the project. Also there should be a warning with quick fix in problems view.
-
4. Re: How to enable Seam components content assist in .xhtml
vargar2 Apr 29, 2010 2:47 PM (in response to akazakov)The KB Builder was already present, adding/removing Seam support didnt help. The issue was solved by adding JSF capabilities to the project via the configure menu.
Thank you very much for your help
Source:http://community.jboss.org/wiki/JBosstoolsVisualEditorFAQ
-
5. Re: How to enable Seam components content assist in .xhtml
akazakov May 4, 2010 8:27 AM (in response to vargar2)JSF capabilities is not required by Seam Components content assist. CA for #{} in xhtmls should work anyway (after disabling/enabling Seam support).
I tried to reproduce the issue in Seam 2.2.0.GA:
1) seam generate-project
2) import the project to JBT 3.1
3) disable Seam support for the project
4) enable Seam support
5) open home.xhtml, try ctrl+space on #{}. It works properly.