Re: How to custom the script event.

2006-10-31 Thread Jesse Kuhnert
dojo.event.connect("after", dojo, "onload",function(){}) ? On 10/31/06, Jun Tsai <[EMAIL PROTECTED]> wrote: I want to do something after "dojo.onload". not in dojo.onload. 2006/11/1, Jesse Kuhnert <[EMAIL PROTECTED]>: > > Either ; > > dojo.addOnLoad(function(){ > // your script > }); > > Or u

Re: How to custom the script event.

2006-10-31 Thread Jun Tsai
I want to do something after "dojo.onload". not in dojo.onload. 2006/11/1, Jesse Kuhnert <[EMAIL PROTECTED]>: Either ; dojo.addOnLoad(function(){ // your script }); Or use the block of a @Script template. On 10/31/06, Jun Tsai <[EMAIL PROTECTED]> wrote: > > How to execute some script afte

Re: How to custom the script event.

2006-10-31 Thread Jesse Kuhnert
Either ; dojo.addOnLoad(function(){ // your script }); Or use the block of a @Script template. On 10/31/06, Jun Tsai <[EMAIL PROTECTED]> wrote: How to execute some script after "dojo.onload"? Thanks. 2006/10/27, Jesse Kuhnert <[EMAIL PROTECTED]>: > > You can override portions of > org.apac

Re: How to custom the script event.

2006-10-31 Thread Jun Tsai
How to execute some script after "dojo.onload"? Thanks. 2006/10/27, Jesse Kuhnert <[EMAIL PROTECTED]>: You can override portions of org.apache.tapestry.services.impl.DefaultResponseBuilder to bind window loading things they way you want. Really the window loading stuff happens with dojo.addOn

Re: How to custom the script event.

2006-10-27 Thread Jesse Kuhnert
You can override portions of org.apache.tapestry.services.impl.DefaultResponseBuilder to bind window loading things they way you want. Really the window loading stuff happens with dojo.addOnLoad() in the current repo though. On 10/26/06, Jun Tsai <[EMAIL PROTECTED]> wrote: I find tapestry prod

How to custom the script event.

2006-10-26 Thread Jun Tsai
I find tapestry produce the script dojo.event.connect(window, 'onload', function(e) { dojo.require("tapestry.form");tapestry.form.registerForm("AForm"); }); I want to do something after onload.but I find dojo.event.connect("after",window,'onload',this,"testFun")); I find my testFun funct