Results 1 to 5 of 5

Thread: Execute Lianja method from rsp

  1. #1
    Senior Member
    Join Date
    Feb 2012
    Location
    São Paulo - Brasil
    Posts
    100

    Execute Lianja method from rsp

    Hi,

    How I can execute a Lianja method from RSP to client?

    Regards,

  2. #2
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    7,196
    Blog Entries
    22
    Web apps are client server.

    The html and javascript that you generate on the server is sent to the client and rendered/executed.

    You can generate javascript code and call Lianja.methodname() from that code that you generate.
    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

  3. #3
    Senior Member
    Join Date
    Feb 2012
    Location
    São Paulo - Brasil
    Posts
    100
    Hi Barry,

    I try code bellow. But I get error "Lianja.get is not a function."
    ///
    <script>
    function abrirChat(conversa){
    console.log("conversa",conversa);
    Lianja.get("page9.section1.field2").setAttr("url", "conversa2.rsp?a=1");
    }
    </script>
    ///

  4. #4
    Senior Member
    Join Date
    Feb 2012
    Location
    São Paulo - Brasil
    Posts
    100
    In fact I dont know how I can do that on desktop? work fine on Web.

  5. #5
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    7,196
    Blog Entries
    22
    How are you calling that function? From where?

    Try using.

    Lianja.getElementByID()
    Last edited by barrymavin; 2022-11-26 at 04:02.
    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