Adding Dojo widgets to existing Java EE web pages

Procedure

  1. In Enterprise Explorer, right-click your web project and select Properties.
  2. In the Properties list, select Project Facets.
  3. In the Project Facets list, select the Web 2.0 check box and click OK.

    A project facet is a specific unit of function that you can add to a project when that function is required. When a project facet is added to a project, it can add natures, builders, class path entries, and resources to a project, depending on the characteristics of the particular project. Web 2.0 facets define the characteristics of your web 2.0 enabled web application. The web 2.0 facets specify the requirements and constraints that apply to your web 2.0 project.

    Table 1. Web 2.0 facets
    Facet name Description
    Web 2.0 Enables support for the runtime components in the WebSphere® Feature Pack for web 2.0, including AJAX Proxy, Dojo Toolkit, and Server-side technologies
    Dojo Toolkit Enables Dojo capabilities.

    By enabling the server-side technologies facet, your web project is configured for both development and runtime support for the WebSphere Application Server Feature Pack for Web 2.0. All of the JAR files are added to the Java™ Build Path for your project and the deployment descriptor.

    By enabling the Dojo Toolkit facet, your web project is configured to develop Dojo web applications. The Dojo Toolkit included in the WebSphere Application Server Feature Pack for Web 2.0 includes the open source Dojo toolkit and more IBM® extensions to the base Dojo Toolkit, including libraries for ATOM (ATOM Syndication Format) data access, analog and bar gauges, and simplified access for SOAP web services.

  4. Add a Dojo widget to your Web page.
Icon that indicates the type of topic Task topic
Timestamp icon Last updated: July 17, 2017 21:58

File name: tadddojoexistpg.html