-
1. Re: code completion not working
maxandersen Jan 4, 2008 7:45 PM (in response to rodrigotico)eh no ,)
did you enable seam support for your project ? -
2. Re: code completion not working
rodrigotico Jan 25, 2008 1:07 PM (in response to rodrigotico)I'm sorry for the later answer.
Yes, the Seam Support is enable. (Project > Properties > Seam Settings) but I can't get the Content Assist on a Expression Language (.xhtml) for my entitys and seam beans.
The Window > Preferences > Java > Editor > Content Assist is set as default.
The project was created with "seam new-project" on seam 2.0.GA.
Do you know what to do?
Thanks! -
3. Re: code completion not working
maxandersen Jan 26, 2008 5:15 AM (in response to rodrigotico)which editor do you use to open the .xhtml files ? If not the jboss tools one that is probably why.
-
4. Re: code completion not working
rodrigotico Jan 28, 2008 7:06 AM (in response to rodrigotico)yes Max, it's jboss tools editor.
Here are the steps that I made:
1- download and unzip: eclipse-jee-europa-fall2-win32.zip & JBossTools-2.0.0.GA-ALL-Win32.zip
2- With Seam 2.0.0.GA I created a new project using the command: "seam new-project"
3- Open the project with eclipse and turn on the "Seam Support" of the project (Project > Properties > Seam Settings)
4- Create a entity on the configured package.
5- Open with JBoss Tools HTML Editor any xhtml and try to see (content assist) the entity or attributes on the value of a <h:outputtext>.
The step 5 fail: "Content Assist not available at the current location", I can't see my entitys and sessions beans, but I can see jsf and seam native components.
Thanks! -
5. Re: code completion not working
maxandersen Jan 28, 2008 1:17 PM (in response to rodrigotico)does your entity have a seam component annotation or not ?
-
6. Re: code completion not working
rodrigotico Jan 29, 2008 7:04 AM (in response to rodrigotico)Thanks for the answers Max, yes the entity has @Name and @Entity.
When I open my old projects on this new plataform (eclipse 3.3.1.1 with wtp & jboss tools 2.0.0.GA) the content assist doesn't work.
Last year I was using a RichFaces-VPE from a nightly build (21.07.2007), when I run this old eclipse on my old projects or on this new example project, the content assist works fine.
I don't understand this behavior, looks like a bug.
Thanks. -
7. Re: code completion not working
yilmaz_ Feb 5, 2008 6:44 AM (in response to rodrigotico)couple days ago a bug has been fixed. can you try nightly builds?
-
8. Re: code completion not working
rodrigotico May 28, 2008 10:57 AM (in response to rodrigotico)I think this is related to:
http://jira.jboss.org/jira/browse/JBSEAM-2996
Does anyone knows a quick fix? -
9. Re: code completion not working
maxandersen Jun 2, 2008 7:48 AM (in response to rodrigotico)i commented on the jira.