Results 1 to 3 of 3

Thread: Accordion section 2 dialogue button

  1. #1
    Senior Member
    Join Date
    Jan 2014
    Posts
    369

    Accordion section 2 dialogue button

    Hi Guys

    Latest app works great in desktop and works really nicely as a web app now too.

    1 issue.

    There are dialogue buttons on sections 1 and 2, calling differnt web services.

    Both work fine in desktop but in web, accordion section 1 dialog button works fine but accorrdion section 2 textbox dialogue button does not call js function.

    If function calls are swapped to the other button, page 1 button calls section 2 function fine.

    Are there any things to watch out for on subordinate sections?

    Spent a whole day on this one issue now - seems impossibe to debug other than just trial & error - just disappears into nothingness

    Any ideas?

    Simon

  2. #2
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    7,165
    Blog Entries
    22
    Hi Simon,

    It sounds like one of:

    a. You have written the server-side proc assuming desktop state
    b. You have not deployed the server side proc
    c. You have an error in it

    It's easy enough to debug in the browser. This has already been explained on several occasions.

    1. In your browser open "Developer Tools" (browser dependent).
    2. Look in the JavaScript console for errors in your code.
    3. You can call your javascript function by name from the console e.g. myfunc()
    4. You can use Lianja.evaluate() from the console to call your server side proc.
    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
    Jan 2014
    Posts
    369
    Thanks Barry

    Went through it line by line and cut out commented out lines.

    Works now but not sure why.

    All good.

    Thanks

    Simon

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