Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Designing visual component

  1. #1
    Senior Member
    Join Date
    Jul 2019
    Posts
    175

    Designing visual component

    Hi Guys,

    I am trying to create a search panel as a visual component that can pop up and display as a show dialog when the user clicks on the search button at the footer menu. So my question is: can I use Lianja.showDialog to display the search panel that is created as a visual component?

    Thanks & Best Regards
    Last edited by WJ; 2020-01-20 at 05:11.

  2. #2
    Senior Member
    Join Date
    Jul 2019
    Posts
    175
    Hi Guys,

    May I know how to debug this error message?

    Name:  capture111.jpg
Views: 50
Size:  40.8 KB

    Thanks & Best Regards

  3. #3
    Senior Member
    Join Date
    Feb 2012
    Location
    Rome - Italy
    Posts
    1,882
    Hi Wj, you can insert your visual component into a page, then save the page as a page library
    Name:  2020-01-20 14_04_26-Window.png
Views: 52
Size:  13.5 KB

    then call the page with lianja.showDialog

  4. #4
    Senior Member
    Join Date
    Jul 2019
    Posts
    175
    Hi Phabio,

    Thank you so much for replying to my earlier message. May I know what mistake I made inside my code that I just posted below?

  5. #5
    Senior Member
    Join Date
    Feb 2012
    Location
    Rome - Italy
    Posts
    1,882
    Lianja.showDialog("My dialog", "myContainer()", 500, 400, true);

  6. #6
    Senior Member
    Join Date
    Jul 2019
    Posts
    175
    Hi Phabio,

    Does the mycontainer() belong to the component name or the component library?
    Last edited by WJ; 2020-01-20 at 07:48.

  7. #7
    Senior Member
    Join Date
    Jul 2019
    Posts
    175
    Hi Phabio,

    I can't find the component in the page library files under the library workspace after I click 'Save on page library" icon.
    Last edited by WJ; 2020-01-20 at 08:50.

  8. #8
    Senior Member
    Join Date
    Feb 2012
    Location
    Rome - Italy
    Posts
    1,882
    the page is saved with the "page name"... "page1"

  9. #9
    Senior Member
    Join Date
    Jul 2019
    Posts
    175
    Hi Phabio,

    May I know what is the second parameter value I should put in the showDialog to make it work?

  10. #10
    Senior Member
    Join Date
    Feb 2012
    Location
    Rome - Italy
    Posts
    1,882
    showDialog

    title as Character,
    page as Character
    [, width as Numeric
    [, height as Numeric
    [, buttons as Numeric
    [, ontop as Numeric
    [, modal as Numeric
    [, action as Character
    [, text as Character
    [, resizable as Numeric]]]]]]]]

    https://www.lianja.com/doc/index.php/Lianja

Page 1 of 2 12 LastLast

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