On Struts 2.1.6, Dojo and JSON plugins. I want to execute some JavaScript after an action's HTML finishes loading.
I can't figure out how to make this happen consistently. The action that I'm trying to modify is as part of another action. When I access the child action directly, the script runs. When I access it through the parent action, it doesn't. There is an attribute "executeScripts" (or similar) set, but... as near as I can tell, the script doesn't get run for some reason. So... what's the best way to ensure that a script gets run when it's loaded by an action? Where might this script be stripped or otherwise disabled from running? Any help appreciated. -Colin