Difference between revisions of "UI Presentation Rules"
Yvonne.milne (Talk | contribs) |
Yvonne.milne (Talk | contribs) |
||
Line 1: | Line 1: | ||
− | |||
− | |||
==Desktop== | ==Desktop== | ||
− | The '''Desktop''' attribute determines whether this | + | The '''Desktop''' attribute determines whether this element should be included in a Desktop client or not. |
==Web== | ==Web== | ||
− | The '''Web''' attribute determines whether this | + | The '''Web''' attribute determines whether this element should be included in a Web client or not. |
* Note that if the [[App Settings|App's]] Web attribute is unchecked (False), [[Lianja Web Client - Getting Started (Video)|Web App View]] is disabled. | * Note that if the [[App Settings|App's]] Web attribute is unchecked (False), [[Lianja Web Client - Getting Started (Video)|Web App View]] is disabled. | ||
==Tablet== | ==Tablet== | ||
− | The '''Tablet''' attribute determines whether this | + | The '''Tablet''' attribute determines whether this element should be included in a Tablet client or not. |
* Note that if the [[App Settings|App's]] Tablet attribute is unchecked (False), [http://www.lianja.com/resources/blog/39-coding-tips/446-a-guide-to-building-lianja-mobile-business-database-apps Tablet App View] is disabled. | * Note that if the [[App Settings|App's]] Tablet attribute is unchecked (False), [http://www.lianja.com/resources/blog/39-coding-tips/446-a-guide-to-building-lianja-mobile-business-database-apps Tablet App View] is disabled. | ||
==Phone== | ==Phone== | ||
− | The '''Phone''' attribute determines whether this | + | The '''Phone''' attribute determines whether this element should be included in a Phone client or not. |
* Note that if the [[App Settings|App's]] Phone attribute is unchecked (False), [http://www.lianja.com/resources/blog/39-coding-tips/446-a-guide-to-building-lianja-mobile-business-database-apps Phone App View] is disabled. | * Note that if the [[App Settings|App's]] Phone attribute is unchecked (False), [http://www.lianja.com/resources/blog/39-coding-tips/446-a-guide-to-building-lianja-mobile-business-database-apps Phone App View] is disabled. | ||
==UI States== | ==UI States== | ||
− | The '''UI States''' attribute specifies the UI states that affect this | + | The '''UI States''' attribute specifies the UI states that affect this element. |
* Multiple states should be specified as a comma separated list. | * Multiple states should be specified as a comma separated list. | ||
* See [[UI States]]. | * See [[UI States]]. | ||
==Initial UI state== | ==Initial UI state== | ||
− | The '''Initial UI state''' attribute specifies the starting UI state for this | + | The '''Initial UI state''' attribute specifies the starting UI state for this element. |
* See [[UI States]]. | * See [[UI States]]. | ||
==Readonly when== | ==Readonly when== | ||
− | The '''Readonly when''' attribute specifies an expression to be evaluated. If the expression evaluates to True, the | + | The '''Readonly when''' attribute specifies an expression to be evaluated. If the expression evaluates to True, the element is readonly (not editable). |
* The '''Readonly when''' attribute expression is evaluated at runtime only. | * The '''Readonly when''' attribute expression is evaluated at runtime only. | ||
==Visible when== | ==Visible when== | ||
− | The '''Visible when''' attribute specifies an expression to be evaluated. If the expression evaluates to True, the | + | The '''Visible when''' attribute specifies an expression to be evaluated. If the expression evaluates to True, the element is visible. |
* The '''Visible when''' attribute expression is evaluated at runtime only. | * The '''Visible when''' attribute expression is evaluated at runtime only. | ||
Line 38: | Line 36: | ||
==Display orientation== | ==Display orientation== | ||
− | Display | + | The '''Display orientation''' attribute determines whether this element is always displayed, only when the orientation is portrait or only when the orientation is landscape. (Always | Portrait | Landscape). |
+ | * Applies to mobile devices only. | ||
==Apply rules on change== | ==Apply rules on change== | ||
− | Apply | + | The '''Apply rules on change''' attribute determines whether this element's UI presentation rules should be applied when data is changed interactively and when navigating records (True | False). |
+ | * If checked (True), the element's '''Visible when''' and '''Readonly when''' expressions will be re-evaluated when data changes. | ||
==Apply rules on parent change== | ==Apply rules on parent change== | ||
− | Apply | + | The '''Apply rules on parent change''' attribute determines whether this element's UI presentation rules should be applied when parent data is changed by navigating records (True | False). |
+ | * If checked (True), the element's '''Visible when''' and '''Readonly when''' expressions will be re-evaluated when data in its related parent section changes. | ||
==Notes on Client Support== | ==Notes on Client Support== |
Revision as of 08:55, 15 April 2016
Contents
Desktop
The Desktop attribute determines whether this element should be included in a Desktop client or not.
Web
The Web attribute determines whether this element should be included in a Web client or not.
- Note that if the App's Web attribute is unchecked (False), Web App View is disabled.
Tablet
The Tablet attribute determines whether this element should be included in a Tablet client or not.
- Note that if the App's Tablet attribute is unchecked (False), Tablet App View is disabled.
Phone
The Phone attribute determines whether this element should be included in a Phone client or not.
- Note that if the App's Phone attribute is unchecked (False), Phone App View is disabled.
UI States
The UI States attribute specifies the UI states that affect this element.
- Multiple states should be specified as a comma separated list.
- See UI States.
Initial UI state
The Initial UI state attribute specifies the starting UI state for this element.
- See UI States.
Readonly when
The Readonly when attribute specifies an expression to be evaluated. If the expression evaluates to True, the element is readonly (not editable).
- The Readonly when attribute expression is evaluated at runtime only.
Visible when
The Visible when attribute specifies an expression to be evaluated. If the expression evaluates to True, the element is visible.
- The Visible when attribute expression is evaluated at runtime only.
Page transition effect
The Page transition effect attribute specifies the page transition effect to use when navigating to this page on the Web/Mobile client. (None | Fade | Pop | Flip | Turn | Flow | SlideFade | Slide | SlideUp | SlideDown).
- Applies to Pages only.
Display orientation
The Display orientation attribute determines whether this element is always displayed, only when the orientation is portrait or only when the orientation is landscape. (Always | Portrait | Landscape).
- Applies to mobile devices only.
Apply rules on change
The Apply rules on change attribute determines whether this element's UI presentation rules should be applied when data is changed interactively and when navigating records (True | False).
- If checked (True), the element's Visible when and Readonly when expressions will be re-evaluated when data changes.
Apply rules on parent change
The Apply rules on parent change attribute determines whether this element's UI presentation rules should be applied when parent data is changed by navigating records (True | False).
- If checked (True), the element's Visible when and Readonly when expressions will be re-evaluated when data in its related parent section changes.
Notes on Client Support
Attribute | Notes |
---|---|
Desktop | - |
Web | - |
Tablet | - |
Phone | - |
UI States | UI States are supported on the Desktop client only. |
Initial UI state | The Initial UI State is supported on the Desktop client only. |
Readonly when | Readonly when is supported on the Desktop client only. |
Visible when | Visible when is supported on the Desktop client only. |
Page transition effect | The Page transition effect is ignored on the Desktop client. |
Display orientation | The Display orientation is ignored on the Desktop client and fixed orientation devices. |
Apply rules on change | Apply rules on change is supported on the Desktop client only. |
Apply rules on parent change | Apply rules on parent change is supported on the Desktop client only. |