mozilla

Revision 137993 of action

  • Revision slug: XUL/action
  • Revision title: action
  • Revision id: 137993
  • Created:
  • Creator: chukito
  • Is current revision? No
  • Comment 36 words added, 38 words removed

Revision Content

{{ XULRefElem() }}

Used to specify the content that should be generated for each matching result from a query. The action should be contained within a {{ XULElem("query") }} or {{ XULElem("rule") }} element.

One descendant of the action body should have a {{ XULAttr("uri") }} attribute set to the member variable. This element and its descendants may use variables in place of attribute values. Variables are a question mark followed by a name. For a matched rule, each variable will be a reference to data within the datasource, determined from the query. If the same variable appears multiple times, it will have the same value in each place.

For more information, see Actions.

Examples

example needed

Attributes

{{ XULAttrInheritedWide() }}

Properties

{{ XULPropInheritedWide() }}

Methods

{{ XULMethInheritedWide() }}

{{ languages( { "de": "de/XUL/action", "es": "es/XUL/action", "ja": "ja/XUL/action", "pl": "pl/XUL/action" } ) }}

Revision Source

<div class="noinclude">{{ XULRefElem() }}</div>
<p>Used to specify the content that should be generated for each matching result from a query. The action should be contained within a {{ XULElem("query") }} or {{ XULElem("rule") }} element.</p>
<p>One descendant of the action body should have a {{ XULAttr("uri") }} attribute set to the member variable. This element and its descendants may use variables in place of attribute values. Variables are a question mark followed by a name. For a matched rule, each variable will be a reference to data within the datasource, determined from the query. If the same variable appears multiple times, it will have the same value in each place.</p>
<p>For more information, see <a href="/en/XUL/Template_Guide/Actions" title="en/XUL/Template_Guide/Actions">Actions</a>.</p>
<h3 id="Examples" name="Examples">Examples</h3>
<pre class="eval">example needed
</pre>
<h3 id="Attributes" name="Attributes">Attributes</h3>
<p>{{ XULAttrInheritedWide() }}</p>
<h3 id="Properties" name="Properties">Properties</h3>
<p>{{ XULPropInheritedWide() }}</p>
<h3 id="Methods" name="Methods">Methods</h3>
<p>{{ XULMethInheritedWide() }}</p>
<p>{{ languages( { "de": "de/XUL/action", "es": "es/XUL/action", "ja": "ja/XUL/action", "pl": "pl/XUL/action" } ) }}</p>
Revert to this revision