To answer my own question, looks like,

"onLoadModuleLoad()" - won't be converted into javascript as is.

It is a directive to "java->javascript" cross compiler telling what is
main script and how
rest of the scriptlets are to be arranged.

Global School District
http://schoolk12.appspot.com/


On Sep 8, 9:16 pm, dreamer <[email protected]> wrote:
> Just for proof of concept, save the below two code segments  as html
> and js files
> and launch html, it builds the body.
>
> ==== test.html==========
> <html>
> <head>
> <title>This is test page sas</title>
> <script type="text/javascript" language="javascript" src="test.js"></
> script>
>
> </head>
> </html>
> ===========
> =======test.js=======
> function test(){
>   alert("Hello");
>   document.write("Hello");}
>
> test();
> ======================
>
> On Sep 8, 8:14 pm, dreamer <[email protected]> wrote:
>
>
>
>
>
>
>
> > seems 1.6 documentation is old, it is assuming main script is in body.
>
> > now it is in head tag.
>
> > In detailed compile file, there is call for compile like
> > "schooldistrict();".
>
> > Which is bootstrap javascript function for all script lets.
>
> > My guess is main script (function/object) is getting executed soon
> > after loading, which
> > in tern is injecting all script tags in body, which in tern rendering
> > body.
>
> > Global School Districthttp://schoolk12.appspot.com/
>
> > On Sep 8, 11:56 am, Ernesto Oltra <[email protected]> wrote:
>
> > > Oops, and try using the "Detailed" compilation mode, to be able to search
> > > "onModuleLoad" in the javascript file and then track it better when 
> > > compiled
> > > in advance mode.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to