JSP Tag Wizards

Two JBuilder 8 through 10 wizards that assist with using custom JSP tags. They work with JSP 1.1, JSP 1.2, and JSP 2.0. Both appear on the Web tab in the Object Gallery (File | New on the menu).

The first one is called JSP Tag. It generates a skeleton for a custom JSP tag class, based on your selections. You can specify the package and class name for the class, select the type of functionality to provide, and list any attributes accepted. The new class is added to your current project.

JSPTagWizard.java

The main class that registers the wizard

JSPTagWizardPage.java

The UI for the wizard

JSPTagExtraGenerator.java

The code generator for an extar info class

JSPTagGenerator.java

The code generator for the tag class

JSPTagWizard.html

Help file and documentation

jsptag*.gif

Icons

The second wizard scans the classes in the current project and generates a tag library descriptor file for all implementors of the Tag or SimpleTag interfaces, as well as supporting interfaces and classes. You can review the information derived from the classes and make some adjustments before the TLD is created and added to the current project.

TaglibDescriptorWizard.java

The main class that registers the wizard

TaglibDescriptorWizardPage*.java

The UI for the wizard

TaglibDescriptorScanner.java

Scan the current project for candidate tags and supporting classes

TaglibDescriptorGenerator.java

TLD generator for the wizard

TaglibDescriptorAttribute.java
TaglibDescriptorElement.java TaglibDescriptorFunction.java TaglibDescriptorListener.java TaglibDescriptorParameter.java TaglibDescriptorTag.java TaglibDescriptorTagFile.java
TaglibDescriptorValidator.java
TaglibDescriptorVariable.java

Supporting classes

ProjectClassLoader.java

A class loader that includes the current project paths

TaglibDescriptor*.html

Help files and documentation

taglib*.gif

Icons

These two are brought together in the one project.

JSPTagWizards.jpx

  

The project file

JSPTagProperties.java

Persistent properties for the two wizards

Res.java

Resource bundle loader

Res.properties

The text resources for the two wizards

classes.opentools

The manifest precursor for the wizards

JSPTagWizards.jar

The ready-to-run wizards

JSPTagWizardsDoc.jar

Online help for the wizards

Just copy the jar files to the JBuilder/lib/ext directory, and restart JBuilder to install the add-in.

This code is freeware.

Any correspondence can be sent to:
Keith Wood (kbwood@iprimus.com.au)