Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Creating custom tags by extending struts-html tags

843840Feb 28 2010 — edited Feb 28 2010
Folks,
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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 28 2010
Added on Feb 28 2010
1 comment
547 views