Docs GODI Archive
Projects Blog Knowledge

Look up function:

(e.g. "List.find" or "keysym")
More options

[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)
   
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.

Declaration

Level: Control structure

<!ELEMENT ui:true ANY>
Sub elements

This element may contain all page body elements.

Example

<ui:cond>
  <ui:if value1="$x" value2="$[v]">
     ...do this...
  </ui:if>
  <ui:if value1="$x" value2="$[w]">
     ...do that...
  </ui:if>
  <ui:true>
     ...else do this...
  </ui:true>
</ui:cond>
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