Creating Dojo-enabled web projects
Dojo-enabled web projects hold all of the web resources that are created and used when developing a Dojo web application.
Before you begin
- Install the WebSphere® Application Server Feature Pack for Web 2.0 to run your project on WebSphere Application Server.
Procedure
Results
In the Enterprise Explorer view, a dojo folder is created under the WebContent folder. When you create a web page, the palette opens with several Dojo drawers. The Dojo components in the drawers are supplied by IBM® at design time. At run time, the JavaScript that corresponds to the Dojo resources you specified during project creation is run.
What to do next
JavaScript files that are not referenced by HTML or JSP files must be placed in a JavaScript source folder. After these files are placed in a JavaScript source folder, they are available for validation and content assist.