Difference between revisions of "Working with UI Page Libraries"
From Lianjapedia
Yvonne.milne (Talk | contribs) (Created page with "''Under Construction'' See [https://www.lianja.com/resources/blog/39-coding-tips/347-working-with-ui-page-libraries article here] =Overview= In Lianja App Builder, Pages can...") |
Yvonne.milne (Talk | contribs) |
||
Line 4: | Line 4: | ||
=Overview= | =Overview= | ||
+ | [[{{ns:file}}:ui_page_lianjademo.png|800px|thumb|left|link={{filepath:ui_page_lianjademo.png}}|Lianja Demo App]] | ||
+ | |||
+ | |||
+ | <br clear=all> | ||
In Lianja App Builder, Pages can be saved in a ''Visual Page Library'' as reusable UI Page components. | In Lianja App Builder, Pages can be saved in a ''Visual Page Library'' as reusable UI Page components. | ||
This provides developers with the ability to lay out pages in the [[:Category:Page_Builder|Pages Workspace]] (with all of the power and functionality fo related sections) and reuse these pages in [[Component Gadget Attributes|component gadgets]] and pop up dialogs. | This provides developers with the ability to lay out pages in the [[:Category:Page_Builder|Pages Workspace]] (with all of the power and functionality fo related sections) and reuse these pages in [[Component Gadget Attributes|component gadgets]] and pop up dialogs. | ||
+ | |||
+ | |||
=Saving to the UI Page Library= | =Saving to the UI Page Library= |
Revision as of 13:12, 8 December 2017
Under Construction
See article here
Contents
Overview
In Lianja App Builder, Pages can be saved in a Visual Page Library as reusable UI Page components.
This provides developers with the ability to lay out pages in the Pages Workspace (with all of the power and functionality fo related sections) and reuse these pages in component gadgets and pop up dialogs.
Saving to the UI Page Library
Headerbar Toolbutton: Save in the Page Library
Attribute | Description | Name | Type |
---|---|---|---|
Autosave in Page Library | Always save this page to the UI Page Library when an App is saved. | alwaysSaveInPageLibrary | Boolean |
Custom Event Delegates
For UI Pages with Custom Event Delegates, see forum post here
Using UI Page Library Files
showDialog
showDialogPanel
Lianja.showDialogPanel() method
Component Gadgets
Attribute | Description | Name | Type |
---|---|---|---|
Custom UI component | Specify a custom UI component from the UI Page Library to embed into this gadget | customComponent | Character |