Versionen im Vergleich

Schlüssel

  • Diese Zeile wurde hinzugefügt.
  • Diese Zeile wurde entfernt.
  • Formatierung wurde geändert.
Kommentar: Migrated to Confluence 5.3


In the logical structure, there is a difference between representation- (style) and behavior-relevant (behaviour) information units for each XUI component. The settings defined under style affect the appearance of the visual component, while the behavior specifications define the rules that govern it.

Logical structure of a XUI component

Image Removed
The  The definition of rules extends the W3C XML schema syntax, which is not capable of defining field spreading validating rules.

Logical structure of a XUI component

Image Added

Info
title The following example of the XUI syntax for a single XUI component (component) illustrates the possibilities of the representation and behavior relevant settings.
Codeblock
languagehtml/xml
<component xpath="/purchaseOrder/deliveryOption">
 <style>
 <leaf>
 <component>
 <value>
 <enumeration>
 <codeSet name="deliveryOption">
 <url>po.codes</url>
 </codeSet>
 </enumeration>
 </value>
 </component>
 </leaf>
 <help language="de">3</help>
 <help language="fr">31</help>
 <help language="it">32</help>
 <help language="en">33</help>
 </style>
 <behaviour>
 <rule>
 <event type="changeAndInitialization"/>
 <condition useInverse="true">
 <formulaExpression>nodeValue(".") == "A"</formulaExpression>
 </condition>
 <action>
 <mainAction target="../email">
 <uiAction methodName="setVisible">
 <param name="param (0)" type="boolean" value="false"/>
 </uiAction>
 </mainAction>
 </action>
 </rule>
 </behaviour>
</component>

...