Results 1 to 5 of 5

Thread: Using Lianja System Object Properties

  1. #1

    Using Lianja System Object Properties

    Hi, what would be the syntax to find out about the ActivePage name in, for instance, a section "init" script?
    Regards

  2. #2
    Lianja Team yvonne.milne's Avatar
    Join Date
    Feb 2012
    Location
    Berkshire, UK
    Posts
    1,829
    Lianja.activepage returns an object reference to the active page. Lianja.activepage.id will give you the name of the page.

  3. #3
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    7,140
    Blog Entries
    22
    The problem is there is no "activepage" in the init of a section while the app is being loaded. You can't reference the Lianja Object Model (LOM) while the app is being loaded as it is not yet loaded.
    Principal developer of Lianja, Recital and other products

    Follow me on:

    Twitter: http://twitter.com/lianjaInc
    Facebook: http://www.facebook.com/LianjaInc
    LinkedIn: http://www.linkedin.com/in/barrymavin

  4. #4
    Thanks

  5. #5
    You're right!
    I am actually trying to avoid duplicating a delegate which does the same job in several sections. My workaround was duplicating and hard coding the page name ...
    Regards

Tags for this Thread

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