This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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
Similar Threads
Validator framework
HttpSessionListener is not getting invoked
<rich:listShuttle> problem
Struts Validation not working
JSTL vs struts tag