Creating custom tags by extending struts-html tags
843840Feb 28 2010 — edited Feb 28 2010Folks,
I am creating custom tags for one of my application by extending some of the tags available in struts-html. For example I have created a custom tag namely xxxSelect which extends org.apache.struts.taglib.html.SelectTag. My custom tags work absolutely fine.
However my problem is that in the tld file that I am creating for my custom tags I need to copy each & every attribute of the select in struts-html.tld. Is there a workaround for avoiding this. I do not want to give reference to both of these tld's in my JSP & mix the tags defined in both the tlds.I still need all the tags defined in html:select (which I might customize later)
Any insight in this regard is highly appreciated.
Best Regards,
Prithvi
www.prithvibhat.com