Show TOC

Creating a ComponentLocate this document in the navigation structure

Context

You use this procedure to create a component in the Mobile Project . A component is a reusable, task-oriented building block that:

  • Contains elements such as views, windows, component controllers, and component interfaces, which define the specific functions of the application

  • Encapsulates the actual functionality of the project and can be reused by other projects, or within other components of the same project

More information: Web Dynpro Component

Note

The mobile client for laptops accesses the components in a mobile project through the laptop application

Procedure

  1. In the Laptop UI Explorer, click the Web Dynpro Components node with the secondary mouse button and choose Create Component.
  2. In the Component Name field, enter a name for the component.
  3. In the Component Package field, enter a package name for the Java classes that the IDE generates.
    Note

    Choose Browse to select an existing

    Component Package. When you define a component, the IDE simultaneously creates a window. By default, the IDE suggests the name of the component as the name of the window and the component package as the name of the window package. If you do not want to create the windows and the views, then deselect the Default Window and Views option.

  4. Choose Finish .