> -----Original Message----- > From: Mazen, Tamer S [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 28, 2004 10:04 AM > To: '[EMAIL PROTECTED]' > Subject: How to add new events to HTML tag library objects > > > Dears, > I want struts HTML objects to support extra events like > onpaste for text > object, I tried to add that event in struts-html.tld and add > it in my JSP, > but when I run that JSP I had that error 'Attribute onpaste invalid > according to the specified TLD' , I think there are other > files must be > changed . Can any one help me on that.
You are correct... you can find more help here: http://java.sun.com/products/jsp/tutorial/TagLibrariesTOC.html A short run down.. you also need to modify the struts source code for the tags as well, to provide the extra functionality you need. It's not as simple as a change in a tld file. > Thanks in Advance > > Tamer Mazen > Information Analyst > > E <http://www.eds.com/> > Egypt Solution Center (CMM L2 Organization) > Commercial Professionals Syndicate Building, 5th floor > 29 Emtedad Ramsis st., Nasr City, Cairo, Egypt > > Phone: * (202) 4882-897 > Fax: 1 (202) 3425-130 > Email: * [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]