On Wed, 2004-07-21 at 21:49, Patrick Burleson wrote: > I've been trying to figure out how to get XDoclet to generate and > maintain the <validator> section of my tld file. > > I am using @jsp.validator-init-param to define init-params for my > classes, but I haven't found a place to define the actual <validator> > section. And to top it off, XDoclet (or the jsptaglib element) isn't > putting any of the info from the @jsp.validator-init-param tag into > the taglib.tld file. > > Any thoughts? Am I missing something? Or am I misunderstanding what > @jsp.validator-init-param is supposed to do? This is Xdoclet 1.2.1 .
The validator element is added automatically for any class which extends javax.servlet.jsp.tagext.TagLibraryValidator (of which you should only include one in the fileset, as it's invalid to have multiple validator elements in the TLD). The @jsp.validator-init-param tags should go in the class-level javadoc comment of that class. Alternatively, you can include the whole validator section using the taglib-validator.xml merge point. Andrew. ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
