Include
An include
is a component which allows you to pick a screen piece and place it inside another screen. Es muy útil para reutilizar código entre pantallas.
Esqueleto de XML
<include target-screen="[screen-to-include]" target-source="[source-to-pick]" />
Attributes
Atributo | Uso | Tipo | Descripción |
---|---|---|---|
target-screen | Required | String | Screen to retrieve the code fragment from |
target-source | Required | String | Screen source to pick up the code fragment from |
Ejemplos
Insert the print options dialog into a screen
<include target-screen="PrnOpt" target-source="center" />
Insert the screen help dialog into a screen
<include target-screen="screen-help" target-source="center"/>