Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16

Thread: Client Browser access from Canvas Section

  1. #11
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    7,360
    Blog Entries
    22
    Yes it’s an internal reference. I normally prefix internal stuff with an underscore.
    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

  2. #12
    Lianja MVP
    Join Date
    Feb 2012
    Location
    Berea, KY, USA
    Posts
    2,190
    Hi Barry,

    I really appreciate that you give us the ability to dive in where we want to dive in for our specific purposes. The openness means a lot, and it's present in Lianja in places and many ways.

    Hank

  3. #13
    Hi,

    OK, see, it was something small I had overlooked. I should have checked the textbox methods, didn't get an error so I didn't check. Works like a charm now! Even in Safari.

    One thing, this _objectid thing... I don't seem to find it on the Wiki. Is it safe to say since this is a js canvas page, all the Lianja stuff (textbox, so on..) is js under the hood and if you need js functionality not provided by Lianja, get a ref and treat it like a js object? Still wrapping my mind around canvas sections before I move on.

    And yes, I actually use guid() to seed the function that creates the 10 character ID. That one function saves me miles of code to generate a guid in all the available devices. Gold Star to you guys!

    I am the guy that can't seem to find how to delete some buttons I added to the section for testing purposes...why is it always the simple stuff?

    Again, Thanks to all for the help!

    - James

  4. #14
    Lianja MVP
    Join Date
    Feb 2012
    Location
    Berea, KY, USA
    Posts
    2,190
    Hi James,

    set a breakpoint in the debugger (Chrome works easiest for me) anywhere in your code (switch to Source to find your code). You can then explore what's there. In the console (which you can click on while viewing source) type the name of your control, and then you will see live references (mixed with historical references, it seems to me) of what the control has a attributes, and then then explore from there.

    Hank

  5. #15
    Hi,

    Great tip! And a tip of the hat to you.

    - James

  6. #16
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    7,360
    Blog Entries
    22
    For the record. The _objectid is internal and only used in Web/Mobile Apps. Any access to the internals is not documented and not supported but that does not prevent you studying them. This is just used for HTML5 client implementation. Lianja Apps and the Lianja framework have a high level of abstraction and know nothing about the underlying device they are running on. This is how we achieve client UI independence.
    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

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