mozilla

Revision 554599 of action

  • Revision slug: Mozilla/Tech/XUL/action
  • Revision title: action
  • Revision id: 554599
  • Created:
  • Creator: Sheppy
  • Is current revision? Yes
  • Comment XUL/action Mozilla/Tech/XUL/action

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}}

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-US/docs/XUL/Template_Guide/Actions">Actions</a>.</p>

<h3 id="Examples" name="Examples">Examples</h3>
<pre>
example needed
</pre>

<h3 id="Attributes" name="Attributes">Attributes</h3>
<div>{{XULAttrInheritedWide}}</div>

<h3 id="Properties" name="Properties">Properties</h3>
<div>{{XULPropInheritedWide}}</div>

<h3 id="Methods" name="Methods">Methods</h3>
<div>{{XULMethInheritedWide}}</div>
Revert to this revision