On Sunday 23 November 2003 02:59 pm, Vernon Smith wrote: > attribute "src"? When I try this way, I get an error as: > > According to TLD, tag mm:imagesizer must be empty, but is not
When you declares a tag in the TLD, there is a sub-element of the tag element called body-content, where you define if the tag has an empty body or JSP code (I'm not sure if there are any more options availlable). For instance, in c.tld we have: <tag> <name>when</name> <tag-class>org.apache.taglibs.standard.tag.el.core.WhenTag</tag-class> <body-content>JSP</body-content> </tag> and <tag> <name>remove</name> <tag-class>org.apache.taglibs.standard.tag.common.core.RemoveTag</tag-class> <body-content>empty</body-content> </tag> Felipe --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]