Generating Java Source Tag Handlers

See Also

As you develop Java classes for a tag library, you add code to the tag handler classes to implement the features your custom actions require. You are also likely to add attributes and scripting variables to your tags. As you define new tags, attributes, and scripting variables in a TLD file, you can perform the Generate Tag Handlers action on the tags to create corresponding class members and interfaces.

warning  Only TLD files that conform to JSP 1.1 or 1.2 specifications can be edited in the customizer and used to generate tag handlers. Other versions are treated as XML files and must be edited in the Source Editor.

You have two options when you generate tag handlers:

To generate tag handlers:

  1. In the Filesystems window, right-click the tag library descriptor's (TLD) node.
  2. From the contextual menu, choose either Generate Tag Handlers or Generate All Tag Handlers. Generated code appears in a package directory determined by the tag library's Tag Handler Generation Root. See Creating and Editing Tag Libraries for details. If the value is blank, the Generation Root defaults to the root of the filesystem containing the tag library.
Warning Attempting to generate more than 200 tags might result in an out of memory exception.
See Also
About Tag Libraries
Creating and Editing Tags
Creating and Editing Tag Attributes
Creating and Editing Scripting Variables
Editing TLD Files

Legal Notices