Results 1 to 2 of 2

Thread: page ready - are sections on the page ready too?

  1. #1

    page ready - are sections on the page ready too?

    hi,

    Does the page ready event fire after all the sections and other gadgets on the page are ready? If yes then would the page ready event be a good place to set some initial values of the gadgets? For example I want to hide some gadgets, and I want to set the URL property of couple of webview gadgets etc.

    Thanks & Regards,
    Murali

  2. #2
    hi,

    I tried a little experiment and put a few sections on the page. One of the canvas sections has a webview gadget on it. And in the "Ready" event of the page, sections and the gadget I put in a single line to write to the log. The result I got was

    Sun 29. Dec 18:45:01 2013 - Info - Page is ready!
    Sun 29. Dec 18:45:01 2013 - Info - Form Section is ready!
    Sun 29. Dec 18:45:01 2013 - Info - Canvas Section is ready!
    Sun 29. Dec 18:45:01 2013 - Info - Webview Section is ready!

    So I guess the page gets ready before the sections are ready. So perhaps not a good idea to mess around with the sections in the page ready delegate :-) Thanks anyway.

    Cheers,
    Murali

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Journey into the Cloud
Join us