File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts datagridselect problem" Watch "Struts datagridselect problem" New topic

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

Joined: Sep 29, 2008
Posts: 12617

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

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:
subject: Struts datagridselect problem
jQuery in Action, 3rd edition