Plasma GitLab Archive
Projects Blog Knowledge


[UP]
The UI language
 ui:a
 ui:alist-value and ui:alist-item
 ui:application
 ui:button
 ui:checkbox
 ui:cond
 ui:context
 ui:default
 ui:dialog
 ui:dyn-enum-value and ui:dyn-enum-item
 ui:dynamic
 ui:encode
 ui:enum-value and ui:enum-item
 ui:enumerate
 ui:enumeration and ui:enum
 ui:false
 ui:file
 ui:form
 ui:if
 ui:ifexpr
 ui:iflang
 ui:ifvar
 ui:imagebutton
 ui:iter-*
 ui:iterate
 ui:page
 ui:param
 ui:popup
 ui:radio
 ui:richbutton
 ui:select
 ui:server-popup
 ui:special
 ui:string-value
 ui:template
 ui:text and ui:password
 ui:textarea
 ui:translate
 ui:true
 ui:use
 ui:variable
 t:*, q:*, and p:*
 l:*
 $param
 $[expr]
 Dot notation (v1.v2)
   
Template parameters $param

Template parameters can be written as $param (i.e. an identifier prefixed by a dollar character), or as ${param} (i.e. additional braces). There is also the variant ${param/enc} containing an additional output encoding. All these parameters must be imported into the current template or page definition by from-caller or from-context attributes, see the elements ui:template and ui:page. For an overview how template parameters work see the chapter about Templates.

The parameters $int and $ext play a special role in the context of iterations. They need not to be imported into the current context, as they are automatically set for every iteration. See the elements ui:iterate and ui:enumerate for details.

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