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)
   
The element ui:application

This is the top-level element of an application. It contains all ui:dialog and ui:template elements.

Declaration

Level: Dialog structure

<!ELEMENT ui:application ( ui:dialog | ui:template )+ >

<!ATTLIST ui:application
          start-dialog NMTOKEN #REQUIRED
>
Attributes

  • start-dialog: This required attribute determines the start dialog of the application, i.e. the dialog to create first when the user starts the application (enters its URL into the browser).

Example

<ui:application start-dialog="main">
  <ui:dialog name="main" start-page="portal">
    <ui:page name="portal">
      <html>
        <body>
          <h1>This is the first page of the application!</h1>
        </body>
      </html>
    </ui:page>
  </ui:dialog>
</ui:application>

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