Creating and Editing Tag Attributes

See Also

Use the Add New Tag Attribute dialog box to add an attribute element to a tag element in a TLD file. You can edit the properties of a tag attribute using the Tag Attribute Customizer dialog box. When you use the Generate Tag Handlers action on the tag, the IDE creates template code for the attribute in the generated Java source file.

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

To add a tag attribute to the TLD file:

  1. In the Filesystems window, right-click the tag element's node and choose Add Tag Attribute from the contextual menu.
  2. In the New Tag Attribute dialog box, specify the attribute. See Tag Attribute Information later in this topic.
  3. Click OK.

To edit an existing tag attribute:

  1. In the Filesystems window, right-click the attribute, and choose Customize from the contextual menu.
  2. In the Tag Attribute Customizer dialog box, edit the attribute.
  3. Click OK to have the changes take effect immediately and dismiss the Tag Attribute Customizer, or click Apply to apply the changes without dismissing the dialog box.
Once a Tag Attribute Customizer is displayed, it tracks the selection and shows the properties of any attribute that is selected.

Tag Attribute Information

Creating and Editing Tags
Creating and Editing Scripting Variables
See Also
Generating Java Source Tag Handlers

Legal Notices