Opening the CAF Events Editor and Enabling CAF Events
This procedure describes how to enable the project for CAF events and open the CAF Events Editor for a project for first time. When you do so, the editor creates an events.xml configuration file in the project’s WEB-INF folder.
When a project is first created, it is not enabled for CAF events. In addition to opening the CAF Events Editor, the following procedure also automatically enables your project for CAF Events. If you prefer to enable the project manually, right-click the project in the Navigator view, click Properties, click Project Facets, and the select the CAF Events check box.
Tip:
After you open the CAF Events Editor for a project for the first time, you can open the editor for subsequent work in these ways:
In the Solutions view, expand
User Interfaces, expand the project, and double-click
Events Configuration.
In the Navigator view, expand the project, expand the WEB-INF folder, and double-click the events.xml file.
To initially open the CAF Events Editor for a project
1. In the Navigation view, open a project.
2. Right-click the WebContent folder and click New > Events.
Tip:
You can also access the CAF Events Editor from any of the locations where the New menu is available. For example, File > New, or from the New button on the toolbar.
3. In the New Events wizard, do one of the following:
Select the current project in the
Project list.
Click
New to create a new project.
4. Click Finish.
This automatically adds the CAF Events facet to your project and enables the project for CAF events.
Related Topics