Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts datagridselect problem

 
Sidd Kulk
Ranch Hand
Posts: 152
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic