2 Replies Latest reply on Feb 3, 2010 5:59 AM by asookazian

    Facelet code assist with Seam components via JBT

    asookazian

      sorry to cross-pollinate but I'm not getting anywhere on the JBoss Tools forum and this may end up being a Seam-specific issue after all.


      http://community.jboss.org/message/523536#523536


      I can't get the damn code assist (code completion) to work in my xhtml files.  Root cause unknown.


      Please advise if possible.


      I am running Eclipse Galileo with JBT 3.1.0.CR1 (latest stable build).  I tested with Seam 2.2.0.GA booking example app and it doesn't work.  thx.

        • 1. Re: Facelet code assist with Seam components via JBT
          asookazian

          Must we create a Dynamic Web project and then add JSF capability in order for xhtml code assist to work?


          I simply had a java project and then added JSF capability and there were no errors.


          When I imported the sample Seam proejcts (e.g. dvdstore) from Eclipse Help --> Project examples menu item, it created 4 WTP projects, one of which seemed to be a dynamic web project.


          You see WebContent rather than WEB-ROOT inside the web project.  Perhaps that is tripping up JBoss tools?

          • 2. Re: Facelet code assist with Seam components via JBT
            asookazian

            This issue has been resolved.  You need to add JSF capability and then add Seam setup (not Seam facet which will create a whole bunch of files/directories in your project similar to what seam-gen does like *.css and Authenticator stub class).


            Code assist works fine now for both various JSF tags as well as Seam components and their API.