context/src/main/java/net/java/html/BrwsrCtx.java
changeset 1012 c19904646ed8
parent 945 8426e00865ab
child 1013 170c4f72938f
     1.1 --- a/context/src/main/java/net/java/html/BrwsrCtx.java	Wed Jun 24 23:51:08 2015 +0200
     1.2 +++ b/context/src/main/java/net/java/html/BrwsrCtx.java	Thu Oct 29 16:18:51 2015 +0100
     1.3 @@ -153,7 +153,7 @@
     1.4      // called when your page is ready
     1.5      <b>public static void</b> onPageLoad(String... args) <b>throws</b> Exception {
     1.6          // the context at the time of page initialization
     1.7 -        BrwsrCtx initialCtx = BrwsrCtx.findDefault(getClass());
     1.8 +        BrwsrCtx initialCtx = BrwsrCtx.findDefault(Periodicaly.<b>class</b>);
     1.9          // the task that is associated with context 
    1.10          Periodicaly task = new Periodicaly(initialCtx);
    1.11          // creates a timer