| Validate

Building the ValidatedText Component

The ValidatedText component lives in the package `netscape.peas` and consists of the following JSB file:

- netscape/peas/ValidatedText.jsb

The JSB_DESCRIPTOR in the JSB file indicates the package ValidatedText belongs to (netscape.peas). This means that when you import the JSB into Visual JavaScript, you have to insure that the component is imported into the package namespace. This is done within Visual JavaScript PR3 by:

- Selecting the Tools | Install to Palette | JavaScript Component menu option.
- Pressing the Browse button and navigating to the location of the JSB file
- Selecting the JSB file, then modifying the contents of the "Import To" field to read `netscape/peas/ValidatedText.jsb` instead of `ValidatedText.jsb`.

In Visual JavaScript PR3, omitting this step will cause a multitude of problems.

Look at a sample page created in Visual JavaScript utilizing this component.

( return to the top of the page )