Re: Calling javascript after asynchronous update

2008-02-28 Thread Kelly Merrell
Would this also be the reason that I can't get an AjaxDirectLink to behave correctly if it was in an updated component? Unfortunately I am on Tap 4.0, so my fix may be more difficult if this is the case. Richard Hoberman wrote: Just a note to confirm that this does work with the 4.1.5

Re: Calling javascript after asynchronous update

2008-02-26 Thread Richard Hoberman
Just a note to confirm that this does work with the 4.1.5 snapshot. Andreas Andreou wrote: Can you try it with a recent snapshot? http://people.apache.org/maven-snapshot-repository/org/apache/tapestry/tapestry-framework/4.1.5-SNAPSHOT/ I think someone mentioned that something like this now

Calling javascript after asynchronous update

2008-02-05 Thread Richard Hoberman
Hi I'm using Tapestry 4.1.3. I'm trying unsuccessfully to invoke some javascript after an asyncrhonous update. I'll post code if needed, but here is the summary: 1. Simple page with a list. 2. Initialization javascript makes list sortable using script.aculo.us:

Re: Calling javascript after asynchronous update

2008-02-05 Thread Andreas Andreou
Can you try it with a recent snapshot? http://people.apache.org/maven-snapshot-repository/org/apache/tapestry/tapestry-framework/4.1.5-SNAPSHOT/ I think someone mentioned that something like this now should work. A workaround is to have the script you want to execute already in the template and

Re: Calling javascript after asynchronous update

2008-02-05 Thread Richard Hoberman
Thanks, Andreas. The workaround works for me. I'll let you know how the snapshot turns out. Richard Andreas Andreou wrote: Can you try it with a recent snapshot? http://people.apache.org/maven-snapshot-repository/org/apache/tapestry/tapestry-framework/4.1.5-SNAPSHOT/ I think someone