Plasma GitLab Archive
Projects Blog Knowledge

The UI language
 ui:alist-value and ui:alist-item
 ui:dyn-enum-value and ui:dyn-enum-item
 ui:enum-value and ui:enum-item
 ui:enumeration and ui:enum
 ui:text and ui:password
 t:*, q:*, and p:*
 Dot notation (v1.v2)
The element ui:context

This elements extends the set of current context parameters while the body of ui:context is expanded. Context parameters are one way to pass values to templates.

If a parameter is added to the context by ui:context, but it happens that a parameter with the same name is already member of the context, the existing member is suspended for the time the body of ui:context is expanded, and the new parameter becomes part of the context instead.


Level: Control structure

<!ELEMENT ui:context ANY >
The subelements of ui:context must match the informal rule ( ui:param*, %context-body;* ) where %context-body; stands symbolically for the sub elements of the body. Note that whitespace between the %context-body; elements counts, but at the other places it does not count.
Sub elements

The ui:param subelements must be placed at the beginning of the inner nodes. For every ui:param a new parameter is added to the context.

The elements following ui:param are the body of ui:context.

This web site is published by Informatikbüro Gerd Stolpmann
Powered by Caml