This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Here is my jsp page code that builds the jsp page.
It works perfectly and I can see all the corresponding records for a particular licenseename on the page.
Then I wrote a html check box tag to check all the records that correspond to the particular licensee name as below.
I wrote a javscript function that checks all the checkboxes for the records returned by the above tag and I get an undefined alert. I believe the event variable I am defining in my JS function is not getting any thing.
While it's inappropriate to discuss this question here, there's nothing in the code you posted named "eventName", so you haven't provided enough information to help anyway.
Joined: Jun 06, 2007
Sorry, For some reason I was thinking that the value is not being returned because of struts error. after I made this post, I figured that the problem lies in the check_all function call without any parameters, in html check box struts tag.
Eventname is a property that is set in actionform.