[
https://jira.jboss.org/jira/browse/JBIDE-3351?page=com.atlassian.jira.plu...
]
Viacheslav Kabanovich commented on JBIDE-3351:
----------------------------------------------
Web project should be dependent on EJB project.
Open properties dialog for web project.
Select section Java EE Module dependencies.
Check in the list EJB project.
When dependency is created, it is saved in /.settings/org.eclipse.wst.common.component
file as
<dependent-module deploy-path="/WEB-INF/lib"
handle="module:/resource/burnout-ejb/burnout-ejb">
<dependency-type>uses</dependency-type>
</dependent-module>
After the modification of dependencies, to ensure update of Seam model, select on web
project 'Close Project', then 'Open Project', then clean/rebuild it.
To check that Seam model is correct, use Seam Components view. It is necessary to
customize the view (by view toolbar menu) by unchecking filter 'Seam Components from
Referenced Projects. Also it may be more convenient to check in 'Scope
Presentation' option 'Label' rather than 'Node', otherwise you need to
know the scope of the component to find it.
Certainly, the component declared in EJB project must be under this project's node in
this view. If web project uses EJB project, and its Seam model is loaded and updated
correctly, then this component must be under web project's node as well.
JBoss Tool is not able to provide content assist information from an
ejb module (Project created by Maven Archetype and converted to Seam Project with Seam
Wizard)
-------------------------------------------------------------------------------------------------------------------------------------------------------------------
Key: JBIDE-3351
URL:
https://jira.jboss.org/jira/browse/JBIDE-3351
Project: Tools (JBoss Tools)
Issue Type: Bug
Environment: Eclipse configuration I had placed as attachement I used Seam
2.1.0.SP1 and JBoss 4.2.3.GA
Reporter: Dirk Pitt
Assignee: Snjezana Peco
Fix For: 3.0.0.cr1
Attachments: configuration.txt, project.zip
I had created a Seam Project with Maven Archetype from Wasley Hales, project functions
correctly and deploys to JBoss 4.2.3.GA...
Then I try to configure this project to work with JBoss Tool Seam functionality.
Everything functions correctly in the web module for content assist is there in JSF and in
Java. When I create a new Session Bean at web project with @Name annotations and I able to
see this newly created Seam Compoent in Content Assist.
But when I create Seam Components in ejb module, these are not availible in the content
assist...
Sample project is also here as attachement.....
This subject is also discussed in the forum thread
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira