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:true

This element expands simply its inner nodes without transforming them. Furthermore, this element sets the condition code to true. The condition code can be evaluated by ui:cond.


Level: Control structure

<!ELEMENT ui:true ANY>
Sub elements

This element may contain all page body elements.


  <ui:if value1="$x" value2="$[v]"> this...
  <ui:if value1="$x" value2="$[w]"> that...
     ...else do this...
Because ui:true sets the condition code always to true, it can be used as default branch in ui:cond. Its contents will be expanded if all the previous conditions happen to be false.
This web site is published by Informatikbüro Gerd Stolpmann
Powered by Caml