Hi Matt, Thanks for the reply, I don't understand why you says: "Hopefully the displayer you're using supports it."??? I think than attributes supported depends on the TLD definition not on the displayer..so
When I try to force the use of the attribute "onclick", it raise an errro like it is not defined in the corresponding TLD. The tag I use is : <layout:menuItem> Maybe "onclick" has been added recently and I'm not up to date? Thanks for your help! ----- Original Message ----- From: Matt Raible To: [email protected] Sent: Monday, November 28, 2005 9:29 AM Subject: Re: [struts-menu] call javascript on MenuItem? Yes, it should be. Just use the "onclick" attribute. Hopefully the displayer you're using supports it. If not, it should be too hard to add it. Matt On 11/28/05, Gaet <[EMAIL PROTECTED]> wrote: > > Hi Guys, > > I would like to call a javascript function when the user click on a > menuItem....is it possible? > > Thanks > > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=ick _______________________________________________ struts-menu-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/struts-menu-user ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ struts-menu-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/struts-menu-user
