You can create your own custom tag converter. To add your own converter, follow these steps:
Create a class that implements the
atg.droplet.TagConverterinterface. This class must implement the four methods described below under TagConverter Methods.Call the
TagConverterManager.registerTagConvertermethod with an instance of this class. This call must be made before your converter is used by a JavaServer Page. Make sure that you add this code to a class that gets initialized during the startup process of your module—that is, is in theInitialservices list.A new tag converter can support any number of attributes. Create attributes by making an instance of the
TagAttributeDescriptorclass. Be sure to populate thenameproperty to avoid aNullPointerException.Add a
<dsp:valueof>,<dsp:input>, or<dsp:param>tag to the page that uses this converter.
For more information about creating and using tag converters, see the atg.droplet.TagConverterManager entry in the ATG API Reference or the Tag Converters section of the Creating JavaServer Pages chapter of the ATG Page Developer’s Guide.

