How to set up a code completion in a JEE app
I have a web application JEE with Seam and RichFaces.
From a view does not recognize the Seam components annotated with @Name("componentSeam"). Only recognizes the components declared in the component.xml.
Please sign in to leave a comment.
what Seam version do you use? Unfortunately IDEA doesn't support Seam3...
What view do you mean? With the previous seam versions, i have the special Seam tool window in IDEA, and it shows both components defined in components.xml and the classes annotated with @org.jboss.seam.annotations.Name;
in seam3 projects i even don't get this toolwindow.
Hello Irina,
I use Seam 2.1.1. I have too the special Seam tool window in IDEA, and it shows me both components defined in components.xml and the classes annotated with @org.jboss.seam.annotations.Name.
In my question when I said "view", I meant from a JSF( .xhtml file ) page or ( .page.xml file ), for example I try this
IntelliJ tells me: "Cannot resolve variable 'myComponentSeam' less... (Ctrl+F1)".
I hope to understand better now my question. thanks
I found the solution for this, just add the EJB module that has the Seam components as dependency to the Web module when I have the JSF pages.
I'm starting with IntelliJ and is quite complicated at first understand and configure the modules.
thank you for the update. We've had the special how-to document for Seam projects configuring in IDEA, but it is obsolete and can't be used with the latest versions, unfortunately.