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

Thread: Designing visual component

Hybrid View

  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: 33
Size:  40.8 KB

    Thanks & Best Regards

  3. #3
    Lianja MVP
    Join Date
    Feb 2012
    Location
    Berea, KY, USA
    Posts
    1,934
    Hi WJ,

    Note that for web and mobile (as it says in the docs for the .showdialog() method of Lianja), the page must by either an .rsp or .jssp page.

    Hank

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

    Based on the Lianja Documentation, it said that the visual component can be specified in the dialog panel.

    Name:  Capture102.jpg
Views: 32
Size:  89.7 KB

  5. #5
    Senior Member
    Join Date
    Feb 2012
    Location
    Rome - Italy
    Posts
    1,862
    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: 33
Size:  13.5 KB

    then call the page with lianja.showDialog

  6. #6
    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?

  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,862
    Lianja.showDialog("My dialog", "myContainer()", 500, 400, true);

  9. #9
    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.

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

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