Automatic attributes must be unique among all registered tag converters. Multiple tag converters can define attributes with the same name only if a given attribute specification can always be associated unambiguously with the appropriate converter.

For example, the class atg.droplet.RequiredTagConverter defines required as an automatic attribute. The class atg.droplet.DateTagConverter defines date as an automatic attribute and required as an optional attribute. Given these attribute definitions, DSP tags can use either tag converter with the required attribute, as shown in the following examples:

DSP tag


<dsp:valueof param="date" date="M/dd/yy" required/>


<dsp:input type="text" 
  bean="Person.userName" required="true"/>