Difference between revisions of "UI Presentation Rules"

From Lianjapedia
Jump to: navigation, search
Line 1: Line 1:
 +
''Under Construction''
 
==Desktop==
 
==Desktop==
 
The '''Desktop''' attribute determines whether this element should be included in a Desktop client or not.
 
The '''Desktop''' attribute determines whether this element should be included in a Desktop client or not.
Line 40: Line 41:
  
 
==Apply rules on change==
 
==Apply rules on change==
The '''Apply rules on change''' attribute determines whether the UI presentation rules of this page or section and its elements should be applied when data is changed interactively and when navigating records (True | False).
+
 
* If checked (True), the page or section and its elements' '''Visible when''' and '''Readonly when''' expressions will be re-evaluated when data changes.
+
* Applies to [[Page Attributes|Pages]] and [[:Category:Attributes#Sections|Sections]].
+
  
 
==Apply rules on parent change==
 
==Apply rules on parent change==
The '''Apply rules on parent change''' attribute determines whether the UI presentation rules of this section and its elements should be applied when parent data is changed by navigating records (True | False).
+
 
* If checked (True), the section and its elements' '''Visible when''' and '''Readonly when''' expressions will be re-evaluated when data in its related parent section changes.
+
* Applies to [[:Category:Attributes#Sections|Sections]].
+
  
 
==Notes on Client Support==
 
==Notes on Client Support==

Revision as of 10:22, 15 April 2016

Under Construction

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.

Phone

The Phone attribute determines whether this element should be included in a Phone client or not.

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.

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).

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

Apply rules on parent change

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.