diff options
| author | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:40:17 -0500 |
|---|---|---|
| committer | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:40:17 -0500 |
| commit | 33058f2b292b3a581333bdfb21b8f671898c5060 (patch) | |
| tree | 51c3e392513ec574331b2d3f85c394445ea803c6 /files/fr/archive/web/xforms | |
| parent | 8b66d724f7caf0157093fb09cfec8fbd0c6ad50a (diff) | |
| download | translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.gz translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.bz2 translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.zip | |
initial commit
Diffstat (limited to 'files/fr/archive/web/xforms')
6 files changed, 369 insertions, 0 deletions
diff --git a/files/fr/archive/web/xforms/autres_ressources/index.html b/files/fr/archive/web/xforms/autres_ressources/index.html new file mode 100644 index 0000000000..d3af7709d3 --- /dev/null +++ b/files/fr/archive/web/xforms/autres_ressources/index.html @@ -0,0 +1,15 @@ +--- +title: Autres ressources +slug: Archive/Web/XForms/Autres_ressources +tags: + - XForms +translation_of: Archive/Web/XForms/Other_Resources +--- +<p> </p> +<h3 id="Toutes_les_autres_ressources" name="Toutes_les_autres_ressources">Toutes les autres ressources</h3> +<ul> + <li><a class="external" href="http://lab.cph.novell.com/~abeaufour/xforms/doxygen/">Documentation du code</a> (temporaire)</li> + <li><a class="external" href="http://www.mozilla.org/projects/xforms">Page officielle du projet Mozilla XForms</a></li> + <li><a class="external" href="http://www.w3.org/MarkUp/Forms/Test">Suite de tests W3C</a></li> + <li><a class="external" href="http://www.xformstest.org/">xformstest.org</a></li> +</ul> diff --git a/files/fr/archive/web/xforms/index.html b/files/fr/archive/web/xforms/index.html new file mode 100644 index 0000000000..e7e805c1a5 --- /dev/null +++ b/files/fr/archive/web/xforms/index.html @@ -0,0 +1,96 @@ +--- +title: XForms +slug: Archive/Web/XForms +tags: + - XForms +translation_of: Archive/Web/XForms +--- +<div class="callout-box"><strong><a class="external" href="http://xformsinstitute.com/essentials/browse/">XForms Essentials (en)</a></strong> +<p><small>Un livre en ligne qui vous offre une visite guidée des XForms.</small><br> + <strong><a class="external" href="http://en.wikibooks.org/wiki/XForms">XForms Tutorial and Cookbook (en)</a></strong><br> + <small>XForms au format wikibook - testé avec Firefox.</small></p> +<small>(<a class="external" href="http://xforms.fr.free.fr/wiki/index.php/Wikilivre">en cours de traduction en français</a>)</small></div> + +<div> +<div><strong>XForms</strong> est le futur des formulaires en ligne tel qu'imaginé par le W3C. S'appuyant sur d'autres standards du W3C comme <a href="/fr/XML_Schema" title="fr/XML_Schema">XML Schema</a>, <a href="/fr/XPath" title="fr/XPath">XPath</a>, et <a href="/fr/XML_Events" title="fr/XML_Events">XML Events</a>, XForms s'efforce de dépasser les limitations du modèle actuel des formulaires <a href="/fr/HTML" title="fr/HTML">HTML</a>. Les autres forces de <strong>XForms</strong> sont la séparation entre les données et leur présentation, un typage fort des données, la possibilité de soumettre des données <a href="/fr/XML" title="fr/XML">XML</a> vers les serveurs plutôt que les traditionnels couples nom/valeur, et par une manière descriptive de de concevoir des formulaires pouvant être affichés sur une large variété de périphériques. XForms est <a class="external" href="http://www.w3.org/MarkUp/Forms/">une spécification du W3C</a>.</div> + +<p><br> + Le support XForms peut être ajouté à Firefox et SeaMonkey en installant l'<a class="external" href="http://www.mozilla.org/projects/xforms">Extension XForms de Mozilla</a>.</p> +</div> + +<table class="topicpage-table"> + <tbody> + <tr> + <td> + <h4 id="Documentation" name="Documentation"><a href="/Special:Tags?tag=XForms&language=fr" title="Special:Tags?tag=XForms&language=fr">Documentation</a></h4> + + <dl> + <dt><a class="internal" href="/Fr/XForms/Résolution_des_problèmes_avec_XForms" title="Fr/XForms/Résolution des problèmes avec XForms">Résolution des problèmes avec XForms</a></dt> + <dd><small>Une petite collection d'astuces permettant de régler les problèmes courants que l'on peut rencontrer avec les formulaires XForms (à traduire de <a href="/en/XForms/Form_Troubleshooting">en:XForms:Form Troubleshooting</a>).</small></dd> + </dl> + + <dl> + <dt><a href="/fr/XForms/Particularités_de_XForms_dans_Mozilla" title="fr/XForms/Particularités_de_XForms_dans_Mozilla">Particularités de XForms dans Mozilla</a></dt> + <dd><small>Explique où et comment XForms dans Mozilla diffère ou va plus loin que la spécification XForms 1.0 specification (à traduire de <a href="/en/XForms/Mozilla_XForms_Specials">en:XForms:Mozilla XForms Specials</a>).</small></dd> + </dl> + + <dl> + <dt><a href="/fr/XForms/Contrôles_personnalisés" title="fr/XForms/Contrôles_personnalisés">Contrôles personnalisés avec XForms</a></dt> + <dd><small>Le {{ Bug(289434) }} a été la première étape pour le support de la personnalisation des contrôles pour XForms. Vous pouvez maintenant styler chaque contrôle XForms grâce aux XBL et créer des effets spéciaux en SVG sur un contrôle <code>input</code> (à traduire de <a href="/en/XForms/Custom_Controls">en:XForms:Custom Controls</a>).</small></dd> + </dl> + + <dl> + <dt><a href="/fr/XForms/Préférences_utilisateur" title="fr/XForms/Préférences_utilisateur">Préférences utilisateur pour XForms</a></dt> + <dd><small>Une courte description des variables <code>about:config</code> utilisées par XForms.</small></dd> + </dl> + + <dl> + <dt><a href="/fr/XForms/Référence_de_l'API" title="fr/XForms/Référence_de_l'API">Référence de l'API XForms</a></dt> + <dd><small>Documentation des interfaces XForms.</small></dd> + </dl> + + <dl> + <dt><a href="/fr/XForms/Élément_d'interface_utilisateur" title="fr/XForms/Élément_d'interface_utilisateur">Référence des éléments d'interface utilisateur XForms</a></dt> + <dd><small>La documentation sur les éléments d'interface utilisateur XForms.</small></dd> + </dl> + + <p><span class="alllinks"><a href="/Special:Tags?tag=XForms&language=fr" title="Special:Tags?tag=XForms&language=fr">Tous les articles…</a></span></p> + </td> + <td> + <h4 id="Communaut.C3.A9" name="Communaut.C3.A9">Communauté</h4> + + <ul> + <li>Voir les forums de Mozilla…</li> + </ul> + + <p>{{ DiscussionList("dev-tech-xforms", "mozilla.dev.tech.xforms") }}</p> + + <ul> + <li><a class="link-irc" href="irc://irc.mozilla.org/xforms">canal #xforms sur irc.mozilla.org</a></li> + <li><a class="external" href="http://lists.w3.org/Archives/Public/www-forms/">Liste de discussion Forms du W3C</a></li> + <li><a class="external" href="http://beaufour.dk/blog">Blog de développement de XForms dans Mozilla</a></li> + <li><a href="/fr/XForms/Communauté" title="fr/XForms/Communauté">Autres liens communautaires…</a></li> + </ul> + + <h4 id="Outils" name="Outils">Outils</h4> + + <ul> + <li><a class="external" href="http://xformsinstitute.com/validator/">Validateur XForms</a></li> + <li><a class="external" href="http://beaufour.dk/index.php?sec=misc&pagename=xforms">XForms Buddy</a></li> + </ul> + + <p><span class="alllinks"><a href="/Special:Tags?tag=XForms:Outils&language=fr" title="Special:Tags?tag=XForms:Outils&language=fr">Tous les outils…</a></span></p> + + <h4 id="Sujets_li.C3.A9s" name="Sujets_li.C3.A9s">Sujets liés</h4> + + <dl> + <dd><a href="/fr/Extensions" title="fr/Extensions">Extensions</a>, <a href="/fr/HTML" title="fr/HTML">HTML</a>, <a href="/fr/XHTML" title="fr/XHTML">XHTML</a>, <a href="/fr/XML" title="fr/XML">XML</a>, <a href="/fr/XPath" title="fr/XPath">XPath</a></dd> + </dl> + </td> + </tr> + </tbody> +</table> + +<p><span class="comment">Categories</span></p> + +<p><span class="comment">Interwiki Language Links</span></p> diff --git a/files/fr/archive/web/xforms/préférences_utilisateur/index.html b/files/fr/archive/web/xforms/préférences_utilisateur/index.html new file mode 100644 index 0000000000..37446d057b --- /dev/null +++ b/files/fr/archive/web/xforms/préférences_utilisateur/index.html @@ -0,0 +1,27 @@ +--- +title: XForms Préférence utilisateur +slug: Archive/Web/XForms/Préférences_utilisateur +tags: + - XForms +translation_of: Archive/Web/XForms/User_preferences +--- +<p> </p><p>Description des préférences <code>about:config</code> utilisées par XForms. +</p> +<table class="standard-table"> <tbody><tr> +<td class="header">Préférence +</td><td class="header">Défaut +</td><td class="header">Description +</td></tr> <tr> +<td>xforms.disablePopup +</td><td>false +</td><td>Désactive les popups d'erreur XForms +</td></tr> +<tr> +<td>xforms.enableExperimentalFeatures +</td><td>false +</td><td>Active les options de test. Actuellement uniquement l'option <i>XForms 1.1 SOAP Action</i>, pour la version test (<i>trunk</i>) uniquement. +</td></tr> +</tbody></table> +<div class="noinclude"> +</div> +{{ languages( { "en": "en/XForms/User_preferences", "it": "it/Le_preferenze_utente_e_XForms", "ja": "ja/XForms/User_preferences" } ) }} diff --git a/files/fr/archive/web/xforms/référence_api_xforms/index.html b/files/fr/archive/web/xforms/référence_api_xforms/index.html new file mode 100644 index 0000000000..b70aae242f --- /dev/null +++ b/files/fr/archive/web/xforms/référence_api_xforms/index.html @@ -0,0 +1,47 @@ +--- +title: XForms API Reference +slug: Archive/Web/XForms/Référence_API_XForms +tags: + - XForms +translation_of: Archive/Web/XForms/API_Reference +--- +<div class="note"> +<p>Cette page n'est que le début du recensement de la référence de l'API de XForms. Notez le mot <strong>début</strong> :-)</p> +</div> + +<p> </p> + +<h3 id="Convention_de_nommage" name="Convention_de_nommage">Convention de nommage</h3> + +<p>L'interface XForms a les conventions de nommage suivantes :</p> + +<dl> + <dt>nsIXForms...Element </dt> + <dd>Interfaces implémentées par la partie C++ d'un contrôle.</dd> + <dt>nsIXFormsNS...Element </dt> + <dd>Interfaces étendant la spécification des interfaces XForms.</dd> + <dt>nsIXForms...UIElement </dt> + <dd>Interfaces implémentées par la partie JavaScript d'un contrôle.</dd> + <dt>nsIXForms...Accessors </dt> + <dd>Interfaces exposant l'état d'un nœud d'instance liée d'un contrôle donné.</dd> +</dl> + +<h3 id="Interfaces_gel.C3.A9es" name="Interfaces_gel.C3.A9es">Interfaces gelées</h3> + +<dl> + <dt><a href="fr/NsIXFormsModelElement">nsIXFormsModelElement</a></dt> + <dd>L'interface modèle</dd> +</dl> + +<h3 id="Interfaces_exp.C3.A9rimentales" name="Interfaces_exp.C3.A9rimentales">Interfaces expérimentales</h3> + +<dl> + <dt><a href="fr/NsIXFormsDelegate">nsIXFormsDelegate</a></dt> + <dd>L'interface<em>déléguée</em> de <a href="fr/XForms/Contr%c3%b4les_personnalis%c3%a9s">XForms:Contrôles personnalisés</a>.</dd> + <dt><a href="fr/NsIXFormsAccessors">nsIXFormsAccessors</a></dt> + <dd>L'interface<em>accessoires</em> de {{ mediawiki.external('XForms:Contrôles personnalisés') }}].</dd> + <dt><a href="fr/NsIXFormsNSModelElement">nsIXFormsNSModelElement</a></dt> + <dd>Extensions personnalisées de l'interface <a href="fr/NsIXFormsModelElement">nsIXFormsModelElement</a>.</dd> + <dt><a href="fr/NsIXFormsNSInstanceElement">nsIXFormsNSInstanceElement</a></dt> + <dd>Extensions personnalisées de l'élément instance.</dd> +</dl> diff --git a/files/fr/archive/web/xforms/résolution_des_problèmes_avec_xforms/index.html b/files/fr/archive/web/xforms/résolution_des_problèmes_avec_xforms/index.html new file mode 100644 index 0000000000..7607702cdc --- /dev/null +++ b/files/fr/archive/web/xforms/résolution_des_problèmes_avec_xforms/index.html @@ -0,0 +1,25 @@ +--- +title: Résolution des problèmes +slug: Archive/Web/XForms/Résolution_des_problèmes_avec_XForms +translation_of: Archive/Web/XForms/Form_Troubleshooting +--- +<p> </p> +<div class="note"> + Cette page est en cours de traduction, son contenu peut donc être incomplet ou contenir des parties en anglais. N'hésitez pas à participer à sa traduction à partir de</div> +<p> </p> +<h3 id="Introduction">Introduction</h3> +<p>Le but de cette page est de collecter toute une sériée de solutions à des erreurs fréquemment rencontrées quand on utilise XForm.</p> +<h3 id="Commencez_toujours_par_ça">Commencez toujours par ça</h3> +<ol> + <li>Assurez-vous d'utiliser la <a class="external" href="http://www.mozilla.org/projects/xforms/download.html">dernière version</a> de l'extension.</li> + <li>Testez votre code avec le <a class="external" href="http://xformsinstitute.com/validator/">validateur XForms</a>. Il vérifie votre formulaire pour y déceler les erreurs. Ce n'est pas parfait mais c'est mieux que rien et permet de mettre en lumière un certain nombre d'erreurs.</li> + <li>Ayez toujours un œil sur la <em>Console d'erreurs</em> (Outils, Console d'erreurs). Si des erreurs sont détectées, n'espérez pas que votre formulaire fonctionne.</li> +</ol> +<h3 id="Troubleshooting" name="Troubleshooting">Problèmes et solutions</h3> +<h4 id="Check_The_File_Type" name="Check_The_File_Type">Vérifiez le type de fichier</h4> +<p>La page est-elle interprétée en tant que document <u>XHTML</u> ? Cliquez droit dans un endroit vide de la page, et sélectionnez <em>Informations sur la page</em>. Le champ <em>Type</em> devrait afficher <code>application/xhtml+xml</code> comme valeur. Toute autre valeur est mauvaise.</p> +<p>Si vous ouvrez votre fichier directement depuis votre système (en local), l'extension du fichier doit être .xhtml ou .xml. Si vous chargez le fichier depuis un serveur, vérifiez que le serveur déserve bien le fichier en tant qu'<code>application/xhtml+xml</code> ou en tant que <code>text/xml</code>.</p> +<h4 id="Check_the_XHTML_1.0_Namespace_Declaration" name="Check_the_XHTML_1.0_Namespace_Declaration">Vérifiez la déclaration de l'espace de nom XHTML 1.0</h4> +<p>Mozilla XForms est construit sur base de la spécification d'XHTML 1.0, laquelle se trouve ici <a class="external" href="http://www.w3.org/1999/xhtml" rel="freelink">http://www.w3.org/1999/xhtml</a>. Assurez-vous que l'élément <html> contienne la bonne déclaration de l'espace de nom :</p> +<pre>xmlns="http://www.w3.org/1999/xhtml"</pre> +<p>(à la place de la dernière spécification, non-ratifiée, XHTML 2.0, située ici <a class="external" href="http://www.w3.org/2002/06/xhtml2" rel="freelink">http://www.w3.org/2002/06/xhtml2</a> )</p> diff --git a/files/fr/archive/web/xforms/élément_interface_utilisateur_xforms/index.html b/files/fr/archive/web/xforms/élément_interface_utilisateur_xforms/index.html new file mode 100644 index 0000000000..b6b6a12505 --- /dev/null +++ b/files/fr/archive/web/xforms/élément_interface_utilisateur_xforms/index.html @@ -0,0 +1,159 @@ +--- +title: Mozilla XForms User Interface +slug: Archive/Web/XForms/Élément_interface_utilisateur_XForms +translation_of: Archive/Web/XForms/User_Interface_Elements +--- +<h3 id="Introduction" name="Introduction">Introduction</h3> + +<p>Cette article est une référence rapide des éléments de l'interface utilisateur de XForms. Il a pour principal but de documenter la façon dont les éléments XForms seront présentés dans Mozilla car les spécifications de XForms ne donnent que des indices sur le comportement des divers contrôles.</p> + +<p>Currently XForms can be hosted by XHTML and XUL in Seamonkey and Firefox. Later we have plans to support XForms hosted by SVG. The XForms specs define two kinds of XForms UI elements, called 'Form Controls' and 'XForms User Interface'. Elements from the "Form Controls" group allows users to interact with instance data. The set of "XForms User Interface" elements exist to aid form authors in combining host language markup and XForms markup together in order to build user interfaces. Some of the 'Form Controls' can have multiple appearances and thus may be rendered in multiple ways. We use the data type of the instance node that the form control is bound to as a clue when making a rendering decision. The form author can also use the 'appearance' attribute on the form control to give us another clue. For example, a XForms input control may appear as a text field or as a datepicker depending on whether it is bound to a xsd:string type or a xsd:date type. When a xf:output binds to a node that has a type of xsd:date, we output the date value as plain text. An output bound to a date and also having @appearance='full' will display as a calendar.</p> + +<p>This article uses several notations. If you see <small>Fx 3.0 only</small>, that means that the control will only be available for Firefox 3.0 (Gecko 1.9). There are several possible reasons for this restriction. The first is that the changes required for such controls could not be safely made to Firefox 1.5 or Firefox 2.0. The second is that the control is introduced in XForms 1.1 and we don't feel adding the enhancement would be prudent until the 1.1 spec is more stable. For instance, when the spec reaches 'recommendation'-level status. If you see <small>xhtml/xul</small> then it means the control is available when XForms is hosted in either XHTML or XUL. Similarly, if you see <small>xhtml only</small> or <small>xul only</small>, then it means the control is available only in that host language.</p> + +<h3 id="Ensembles_d.27attributs" name="Ensembles_d.27attributs">Ensembles d'attributs</h3> + +<p>This section describes attributes that are often used on XForms elements. These attributes are combined into following logical groups.</p> + +<h4 id="UI_Common" name="UI_Common">UI Common</h4> + +<p>The UI Common attribute set (see the <a class="external" href="http://www.w3.org/TR/xforms/slice8.html#attrs-ui-common">spec</a>) contains the attributes that are available for the XForms elements that are used to build the user interface presentation in a form.</p> + +<ul> + <li>appearance - the value provided by the form author gives a hint to the processor as to which widget to use to represent the XForms control. Three possible values are available to the author: minimal, compact and full. Generally speaking, the main purpose for these values is to reflect how much space (screen real estate) the displayed widget will take.</li> + <li>navindex - defines the keyboard navigation sequence between controls {{ mediawiki.external('not currently supported') }}.</li> + <li>accesskey - keyboard shortcut for moving focus to an XForms element.</li> +</ul> + +<h4 id="Attributs_de_liaison" name="Attributs_de_liaison">Attributs de liaison</h4> + +<p>Single-Node (see the <a class="external" href="http://www.w3.org/TR/xforms/slice3.html#structure-attrs-single-node">spec</a>) and Node-Set (see the <a class="external" href="http://www.w3.org/TR/xforms/slice3.html#structure-attrs-nodeset">spec</a>) attributes are used to bind XForms elements to instance nodes. These attributes are: ref, nodeset, model and bind.</p> + +<h3 id=".C3.89l.C3.A9ments_XForms" name=".C3.89l.C3.A9ments_XForms">Éléments XForms</h3> + +<p>Almost every XForms element can be presented as one of serveral different kinds of widgets. This section contains a short description of each XForms element and its representation. The XForms specification offers suggestions for some of the representations, but some of the widgets we use are only available in the Mozilla XForms processor. The choice of widget that we use is often determined by the data type of the instance node that the xforms element is bound to. The form author can also influence the widget by using the appearance attribute on the element.</p> + +<h4 id="Module_des_contr.C3.B4les_de_formulaire" name="Module_des_contr.C3.B4les_de_formulaire">Module des contrôles de formulaire</h4> + +<p>This section contains a short description for each form control element.</p> + +<h5 id="input" name="input"><a href="/en-US/docs/XForms/User_Interface_Elements/Input">input</a></h5> + +<p>A key xforms element to show and change the instance data to which it is bound. Usually bound to data that can be well-represented by a string (see the <a class="external" href="http://www.w3.org/TR/xforms11/#ui-input">spec</a>). It can have the following representations:</p> + +<ul> + <li>text field - default representation. Used for most data types, especially text data.</li> + <li>checkbox - used for boolean instance data</li> + <li>datepicker - default representation for date data types. Similar to a combobox. Consists of a text field for direct input and a dropdown calendar that can also be used to input the date value.</li> + <li>calendar - used for date data types when appearance = 'full'.</li> + <li>days list - used when the data has a data type of day.</li> + <li>months list - used when the data has a data type of month.</li> + <li>number field - used for numerical data types.</li> +</ul> + +<h5 id="UieXFormsSecret" name="UieXFormsSecret"><a href="/en-US/docs/XForms/User_Interface_Elements/Secret">secret</a></h5> + +<p>Used for inputting passwords. Each character typed by the user is represented by an asterisk on the screen (see the <a class="external" href="http://www.w3.org/TR/xforms/slice8.html#ui-secret">spec</a>).</p> + +<h5 id="UieXFormsTextarea" name="UieXFormsTextarea"><a href="/en-US/XForms/User_Interface_Elements/Textarea">textarea</a></h5> + +<p>Serves to show/change multiline text (see the <a class="external" href="http://www.w3.org/TR/xforms/slice8.html#ui-textarea">spec</a>).</p> + +<h5 id="UieXFormsOutput" name="UieXFormsOutput"><a href="/en-US/XForms/User_Interface_Elements/Output">output</a></h5> + +<p>Serves to show the instance data that the element is bound to in a read-only manner (see the <a class="external" href="http://www.w3.org/TR/xforms/slice8.html#ui-output">spec</a>). It can have the following presentations:</p> + +<ul> + <li>text - default representation for data of most types, especially static text.</li> + <li>calendar - used for date data types when appearance = 'full'.</li> + <li>image - if the instance node contains an image, then an output element can be used in combination with the mediatype element to display the image.</li> +</ul> + +<h5 id="UieXFormsUpload" name="UieXFormsUpload"><a href="/en-US/XForms/User_Interface_Elements/Upload">upload</a></h5> + +<p>Provides a means for the user to select a file (see the <a class="external" href="http://www.w3.org/TR/xforms/slice8.html#ui-upload">spec</a>).</p> + +<h5 id="UieXFormsRange" name="UieXFormsRange"><a href="/en-US/XForms/User_Interface_Elements/Range">range</a></h5> + +<p>Allows the user to choose a value from within a specific range of values. It is represented by a slider widget (see the <a class="external" href="http://www.w3.org/TR/xforms/slice8.html#ui-range">spec</a>).</p> + +<h5 id="UieXFormsTrigger" name="UieXFormsTrigger"><a href="/en-US/XForms/User_Interface_Elements/Trigger">trigger</a></h5> + +<p>Allows the user to initiate actions (see the <a class="external" href="http://www.w3.org/TR/xforms/slice8.html#ui-trigger">spec</a>). It can have the following representations:</p> + +<ul> + <li>button - default representation.</li> + <li>link/clickable text - used when appearance = 'minimal'.</li> +</ul> + +<h5 id="UieXFormsSubmit" name="UieXFormsSubmit"><a href="/en-US/XForms/User_Interface_Elements/Submit">submit</a></h5> + +<p>Invokes the submission of the selected instance data to its target destination, which could be local or remote (see the <a class="external" href="http://www.w3.org/TR/xforms/slice8.html#ui-submit">spec</a>). It can have the following representations:</p> + +<ul> + <li>button - default representation.</li> + <li>link/clickable text - used when appearance = 'minimal'.</li> +</ul> + +<h5 id="UieXFormsSelect" name="UieXFormsSelect"><a href="/en-US/XForms/User_Interface_Elements/select">select</a></h5> + +<p>List control. Allows the user to choose one or multiple values from a list of pre-defined values (see the <a class="external" href="http://www.w3.org/TR/xforms/slice8.html#ui-selectMany">spec</a>). It can have the following representations:</p> + +<ul> + <li>listbox - default representation</li> + <li>checkbox group - used when appearance = 'full'</li> +</ul> + +<h5 id="UieXFormsSelect1" name="UieXFormsSelect1"><a href="/en-US/XForms/User_Interface_Elements/Select1">select1</a></h5> + +<p>Combobox control. Allows the user to choose a single value from a list of pre-defined values (see the <a class="external" href="http://www.w3.org/TR/xforms/slice8.html#ui-selectOne">spec</a>). It can have the following representations:</p> + +<ul> + <li>combobox - default representation</li> + <li>listbox - used when appearance = 'compact'</li> + <li>radio group - used when appearance = 'full'</li> +</ul> + +<h4 id=".C3.89l.C3.A9ments_suppl.C3.A9mentaires" name=".C3.89l.C3.A9ments_suppl.C3.A9mentaires">Éléments supplémentaires</h4> + +<p>These elements may be used as child elements to the form controls described above.</p> + +<h5 id="UieXFormsLabel" name="UieXFormsLabel"><a href="/en-US/XForms/User_Interface_Elements/Label">label</a></h5> + +<p>Specifies the label for the xforms control (see the <a class="external" href="http://www.w3.org/TR/xforms/slice8.html#ui-selectMany">spec</a>). Every form control other than the output element must contain a label element. It is valid for a form control to have an empty label element.</p> + +<h5 id="UieXFormsHelp" name="UieXFormsHelp"><a href="/en-US/XForms/User_Interface_Elements/Help">help</a></h5> + +<p>Specifies contextual help for the containing form control (see the <a class="external" href="http://www.w3.org/TR/xforms/slice8.html#ui-commonelems-help">spec</a>). The help will be displayed if the F1 key is pressed while the containing form control has focus.</p> + +<h5 id="UieXFormsHint" name="UieXFormsHint"><a href="/en-US/XForms/User_Interface_Elements/Hint">hint</a></h5> + +<p>Similar to a tooltip (see the <a class="external" href="http://www.w3.org/TR/xforms/slice8.html#ui-commonelems-hint">spec</a>). The hint is displayed when the mouse moves and pauses over the containing form control.</p> + +<h5 id="UieXFormsAlert" name="UieXFormsAlert"><a href="/en-US/XForms/User_Interface_Elements/Alert">alert</a></h5> + +<p>This message will be shown when the form control cannot properly bind to instance data or when the instance data value is invalid or out of the specified range of selectable values (see the <a class="external" href="http://www.w3.org/TR/xforms/slice8.html#ui-common-elements-alert">spec</a>).</p> + +<h5 id="UieXFormsMessage" name="UieXFormsMessage"><a href="/en-US/XForms/User_Interface_Elements/Message">message</a></h5> + +<p>Used in combination with event listeners to display a message to the user when the specified event occurs (see the <a class="external" href="http://www.w3.org/TR/xforms/slice10.html#action-info">spec</a>).</p> + +<h4 id="Interface_utilisateur_de_XForms" name="Interface_utilisateur_de_XForms">Interface utilisateur de XForms</h4> + +<p>These elements are mainly used to organize and manage the form's markup.</p> + +<p>They can be bound to instance nodes to define context for the xforms controls that they contain, should any of their child nodes happen to use relative xpath expressions. Binding these elements to instance data is also a way to apply Model Item Properties (for example, relevancy) to the elements.</p> + +<p>Elements in this section do not have any behaviors that are dependent on the host language.</p> + +<h5 id="UieXFormsGroup" name="UieXFormsGroup"><a href="/en-US/XForms/User_Interface_Elements/Group">group</a></h5> + +<p>This element is used to logically group xforms elements together (see the <a class="external" href="http://www.w3.org/TR/xforms/slice9.html#ui-group">spec</a>).</p> + +<h5 id="UieXFormsSwitch" name="UieXFormsSwitch"><a href="/en-US/XForms/User_Interface_Elements/Switch">switch</a></h5> + +<p>This element is used in conjunction with 'case' and 'toggle' elements (see the <a class="external" href="http://www.w3.org/TR/xforms/slice9.html#ui-conditional">spec</a>). The 'switch' element contains 'case' elements which in turn contain markup. Only the contents of a single case may be displayed at one time. The 'toggle' element is used (as an event handler) to make a 'case' visible and thereby hiding all other cases contained by the same 'switch'.</p> + +<h5 id="UieXFormsRepeat" name="UieXFormsRepeat"><a href="/en-US/XForms/User_Interface_Elements/Repeat">repeat</a></h5> + +<p>A repeat element contains markup and is itself bound to a nodeset in an instance document (see the <a class="external" href="http://www.w3.org/TR/xforms/slice9.html#ui-repeat">spec</a>). For each node in the nodeset, the contents of the repeat element will be displayed in the form. That node will serve as the context node for any relative xpath expressions in that set of repeated markup. For example, if a repeat is bound to a nodeset that contains 5 nodes and the repeat contains an 'output' element that echoes the current node, then the user will see 5 outputs in the form. Combined together, these outputs would echo the value of every node in the selected nodeset.</p> |
