Saltar al contenido principal
Version: 4.8.0

Pestañas y contenedor de pestaña

A tab is a very useful screen component to separate the screen components in tabs:

\Tab

Esqueleto de XML

<tab id="[tab-identifier]" initial-load="[initial-load]" target-action="[target-action]" maximize="[maximize-tab]">
<tabcontainer id="[tabcontainer-identifier-1]">
...
<tabcontainer id="[tabcontainer-identifier-n]">
<dependency...></dependency>
<context-menu...></context-menu>
</tab>

The tab list is filled with the value and label fields of the query/enum launched with [target-action].

Estructura de pestañas

<tab id="[tab-identifier]" initial-load="[initial-load]" target-action="[target-action]">
...
</tab>
ElementoUsoVarias instanciasDescripción
tabRequiredNoNodo global de pestaña. Define los atributos de la pestaña
tabcontainerRequiredSiLista de contenedores de pestañas a mostrar
dependencyOpcionalSiLista de dependencias de la pestaña
context-menuOpcionalNoMenú contextual de la pestaña

Atributos de pestaña

AtributoUsoTipoDescripciónValores
idRequiredStringIdentificador de pestañas. Tiene que coincidir con los valores definidos en el target-action.
carga-inicialRequiredStringLlamada de acción al servidor para cargar los datos de criterio (se lanza al cargar la ventana)enum (for enumerated) or query (for query call)
target-actionRequiredStringDestino para llamar al servidor
styleOpcionalStringClases CSS de la pestañaNote: Here you can use expand class to set the tab as expandible
maximizeOpcionalBooleanMostrar el icono maximizar o no

Estructura del contenedor de pestaña

A tabcontainer is a window opened when a tab is selected. Note that [tabcontainer-identifier] must match the value of the query/enumerated list set at Tab element.

<tabcontainer id="[tabcontainer-identifier]" type="[type]" label="[label]" style="[style]" expandible="[expandible]">
...
</tabcontainer>

Atributos del contenedor de pestaña

AtributoUsoTipoDescripciónValores
idRequiredStringIdentificador del contenedor. Tiene que coincidir con los valores definidos en el target-action.
labelOpcionalStringTítulo del contenedorNote: You can use i18n files (locales)
styleOpcionalStringClases CSS del contenedorNote: Here you can use expand class to set the window as expandible
typeOpcionalStringTipo de etiqueta HTML del contenedordiv, span, p, ...
expandibleOpcionalStringHow to expand the tabcontainer childrenvertical, horizontal