Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Struts and the fly likes Struts datagridselect problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts datagridselect problem" Watch "Struts datagridselect problem" New topic
Author

Struts datagridselect problem

Sidd Kulk
Ranch Hand

Joined: Feb 20, 2007
Posts: 152
I am using the struts layout datagridselect.
Any way I can add an event handler to the resulting drop down box? I want to invoke a Javascript function for on Change event...
Following is a sample code:

David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

You may want to try asking on the struts-layout mailing list, although volume is rather low:

http://struts.improve-technologies.com/mail-lists.html

If the struts-layout tags (not really part of the Struts project, btw) doesn't provide anything natively you may be able to examine the rendered HTML and use pure JavaScript to attach handlers anyway, though.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts datagridselect problem