Re: execute javascript after action's html renders

2010-12-03 Thread Colin Freas
leitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht > dient lediglich dem Austausch von Informationen und entfaltet keine > rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von > E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. > Ce message est

Re: execute javascript after action's html renders

2010-12-02 Thread Colin Freas
So, the "parent" action is using a Dojo *div* tag, with the *executeScripts* attribute set to true. The script in the "child" action, which is referenced in the *div* tag, is inline JavaScript. So parent is like: Child is: ... html/jsp fragments ... alert("blah blah blah"); If I go to

Re: execute javascript after action's html renders

2010-12-01 Thread Dave Newton
How is the JavaScript implemented in the child action? And do you mean that an tag is being used (from a JSP? FM?) to load an action (the "child" from above)? Dave On Tue, Nov 30, 2010 at 4:50 PM, Colin Freas wrote: > On Struts 2.1.6, Dojo and JSON plugins. > > I want to execute some JavaScri

execute javascript after action's html renders

2010-12-01 Thread Colin Freas
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