struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Barrows" <jbarr...@sssc.com>
Subject RE: How to add new events to HTML tag library objects
Date Wed, 28 Jul 2004 17:08:04 GMT


> -----Original Message-----
> From: Mazen, Tamer S [mailto:tamer.mazen@eds.com]
> Sent: Wednesday, July 28, 2004 10:04 AM
> To: 'user@struts.apache.org'
> 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:	*	tamer.mazen@eds.com
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message