Editing Tag Libraries
See Also
Use the Tag Library Customizer to specify the properties of your tag library.
To edit a tag library:
- In the Filesystems window, right-click the TLD (tag library descriptor)
file's node and choose Customize from the contextual menu.
- In the Tag Library Customizer, edit the tag library. See Tag
Library Customizer Fields for more information.
- Click OK to have the changes take effect immediately and dismiss the Tag
Library Customizer, or click Apply to apply the changes without dismissing
the customizer.
Once a Tag Library Customizer is displayed, it tracks the selections in the
Filesystems window and shows the properties of any tag library that is selected.
Tag Library Customizer Fields
- Short Name. Specifies a simple name that can be used by JSP page
authoring tools to suggest a namespace prefix for using the tag library in
a JSP page. The default is the
.tld
filename, without the .tld
extension.
- Display Name. Specifies a short name intended for display by tools.
It does not need to be unique.
- Tag Library Version. Specifies the version of the tag library being
created. The default is 1.0.
- URI. Specifies a public URI that uniquely identifies this version
of the tag library. The URI identifying a tag library should actually be a
URL to the tag library descriptor for this specific version of the tag library.
You can leave this field blank.
- JSP Version. Specifies the JSP version that the tag library requires.
The default is 1.2.
- Small Icon. Specifies the name of a file containing a small (16 x
16) icon image for use by tools. The file name is a relative path within the
tag library.
- Large Icon. Specifies the name of a file containing a large (32 x
32) icon image for use by tools. The file name is a relative path within the
tag library.
- Tag Handler Generation Root. Specifies the tag handler generation
root directory, which is the directory in which the packages and tag handler
classes are placed when they are generated using the Generate Tag Handlers
action on the tag library contextual menu. You can type the directory for
the root in the text field or click the ellipsis button to display a file
chooser in which you can specify the directory.
- Jar File. Specifies the JAR file in which the tag library will be
packaged. The default value is a JAR file with the same name as the tag library.
- Description. Specifies descriptive information about the tag library.
For general information about tag libraries, see JavaServer Pages Specification
available at http://java.sun.com/products/jsp.
Legal Notices