JBoss.orgCommunity Documentation
In this chapter you get to know how Seam preferences can be modified during the development process.
Seam preferences can be set using the Seam preference page. Click on
→ → → →On this page you can manage the Seam Runtime. Use the appropriate buttons to Add more runtimes or to Remove those that are not needed.
Clicking on Edit button you get the form where you can change the path of Seam runtime home folder, modify name and version. Press Finish to apply the changes.
If you try to delete the Seam Runtime that is already in use by some project in the current workspace, then a warning message will appear. To confirm the removal press OK
Besides, when you right-click on your Seam project with deleted runtime in Project Explorer and select
→ the error message "Runtime <runtime_name> does not exist" will appear.Seam preference page includes a subsection Validator. See → → → → →
On this page you can choose a severity level for the various Seam validator problems. For example, if you want to ignore the case when component name is duplicated expand the Components node and select Ignore next to Duplicate component name. After that you won't see the error.
In the upper right corner of the Seam Validator preferences page there is a Configure Project Specific Settings link. Clicking on it you get the form where you can choose a project for specific setting. Project specific configuration allows you to have different validator settings for each project. Check the Show only projects with project specific settings if you want to see the projects that have been already set. Click on Ok.
You get the validator properties page for chosen project. Check the Enable project specific settings to be able to change the settings.
You can open the same page by right clicking on the needed project in Package Explorer, then
→Once Seam project is created you can modify its settings. Right click on Seam project in Project Explorer and select
→This project properties page allows you to have a flexible project layout. It means that you are not restricted with a specific project structure. You can use the Seam wizards (New Action, Form, Entity, etc.) on Maven, command line seam-gen or your own project structure.
The wizard doesn't allow the renaming of the artifacts listed in the Seam Settings. It's possible to do in the Package Explorer. See Section 4.5, “Renaming the Projects and Folders”.
Also notice, you are not required to use the New Seam Project wizard to benefit from Seam artifact wizards. You can just enable Seam on your existing project by checking Seam Support and targeting to Seam Runtime, and then configure the folders as you want.
On the figure above fields for configuring Seam artifacts are unavailable because Seam Runtime is not selected.
In Seam Wizards (New Action, Form, Entity, Conversation, Generate Entities) you can get a quick access to project settings using the Settings link in the upper right corner of each wizard.
JBoss Tools provides a possibility to add custom capabilities to any Seam project, i.e. add a support of additional frameworks built on top of JSF, such as
ADF
Facelets
JBoss Rich Faces (versions 3.1, 3.2, 3.3)
To enable it, you should call the context menu for a Seam project and select Finish.
→ Then check the needed modules and pressThe next page displays all the updates that have been made to the project.