Difference between revisions of "UI Presentation Rules"

From Lianjapedia
Jump to: navigation, search
Line 82: Line 82:
 
[[Category:Pages]]
 
[[Category:Pages]]
 
[[Category:Sections]]
 
[[Category:Sections]]
[[Category:Gadgets]]
 
 
[[Category:Formitems]]
 
[[Category:Formitems]]

Revision as of 03:55, 29 July 2016

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

The Apply rules on change attribute determines whether the UI presentation rules of the page and its elements should be applied when data is changed interactively and when navigating records (True | False).

  • If checked (True), when data changes in this page, section, gadget or formitem (Form Section field or Canvas Advanced Control), the page and its elements' Visible when and Readonly when expressions will be re-evaluated.

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), when data changes in its related parent section, the section and its elements' Visible when and Readonly when expressions will be re-evaluated .
  • Applies to Sections.

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.