Setting general properties for custom controls

Set general properties for custom controls. You can add a description, and set options for displaying the custom control in the Controls palette.

About this task

To set general properties for custom controls, do the following steps:

Procedure

  1. Open the custom control as an independent design element in the XPages editor.
  2. In the Properties view, click the Custom Control tab.
  3. Optional: In the Description field, type a description of the custom control.
  4. In the Namespace URI field, type the unique domain name that you want to associate with the custom control. The default namespace URI is http://www.ibm.com/xsp/custom.
  5. In the Default prefix field, type the unique identifier tag you want to add to the custom control. This tag prepends the name. The default prefix is xc.
  6. Select the Add to Controls palette check box to add the custom control to the Controls palette.
  7. In the Category field, type the name of a category in the Controls palette where you want the custom control to display. By default, custom controls display in a category called Custom Controls.
  8. In the Small icon field, click Browse to find the image file on your local system. After you select the icon and click OK, the icon displays beside the custom control in the Controls palette.
    Note: This applies only if you customized the layout of the Controls palette to display small icons.
  9. In the Large icon field, click Browse to find the image file on your local system. After you select the icon and click OK, the icon displays beside the custom control in the Controls palette.
    Note: This applies only if you customized the layout of the Controls palette to display large icons.
  10. Click File > Save to save your changes.