Author: SeanRogers
Date: 2011-02-02 23:40:17 -0500 (Wed, 02 Feb 2011)
New Revision: 21408
Added:
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richfindComponent-richfindComponent_example.xml_sample
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richisUserInRole-richisUserInRole_example.xml_sample
Modified:
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Actions.xml
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Functions.xml
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Layout_and_appearance.xml
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Output_and_messages.xml
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Panels_and_containers.xml
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Processing_management.xml
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Rich_inputs.xml
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Tables_and_grids.xml
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Trees.xml
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-Table_filtering-Basic_filtering.xml_sample
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-Table_filtering-External_filtering.xml_sample
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-Tables_and_grids-richextendedDataTable_example.xml_sample
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-a4jajax-a4jajax_example.xml_sample
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-a4jstatus-Updating_a_common_a4jstatus_component.xml_sample
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richajaxValidator-Using_richajaxValidator_with_Hibernate_Validator-0.xml_sample
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richajaxValidator-richajaxValidator_example.xml_sample
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richcomponentControl-Attaching_richcomponentControl_to_a_component.xml_sample
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richcomponentControl-Using_parameters-0.xml_sample
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richcomponentControl-Using_parameters-1.xml_sample
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richcomponentControl-richcomponentControl_basic_usage.xml_sample
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richjQuery-richjQuery_example.xml_sample
Log:
Changed all names of events as per RF-10199
Modified:
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Actions.xml
===================================================================
---
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Actions.xml 2011-02-03
02:40:56 UTC (rev 21407)
+++
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Actions.xml 2011-02-03
04:40:17 UTC (rev 21408)
@@ -183,7 +183,7 @@
<section id="sect-Component_Reference-a4jcommandButton-Basic_usage">
<title>Basic usage</title>
<para>
- The <sgmltag><a4j:commandButton></sgmltag> requires only
the <varname>value</varname> and <varname>render</varname>
attributes to function. The <varname>value</varname> attribute specifies the
text of the button and the <varname>render</varname> attribute specifies which
areas are to be updated. The
<sgmltag><a4j:commandButton></sgmltag> uses the
<varname>onclick</varname> event instead of the
<varname>onsubmit</varname> event, but otherwise uses all common Ajax
attributes as listed in <xref
linkend="chap-Component_Reference-Common_Ajax_attributes" />.
+ The <sgmltag><a4j:commandButton></sgmltag> requires only
the <varname>value</varname> and <varname>render</varname>
attributes to function. The <varname>value</varname> attribute specifies the
text of the button and the <varname>render</varname> attribute specifies which
areas are to be updated. The
<sgmltag><a4j:commandButton></sgmltag> uses the
<varname>click</varname> event instead of the
<varname>submit</varname> event, but otherwise uses all common Ajax attributes
as listed in <xref linkend="chap-Component_Reference-Common_Ajax_attributes"
/>.
</para>
<note>
<title>Set
<code>disabledDefault="true"</code></title>
@@ -243,7 +243,7 @@
<section id="sect-Component_Reference-a4jcommandLink-Basic_usage">
<title>Basic usage</title>
<para>
- The <sgmltag><a4j:commandLink></sgmltag> requires only the
<varname>value</varname> and <varname>render</varname> attributes
to function. The <varname>value</varname> attribute specifies the text of the
link and the <varname>render</varname> attribute specifies which areas are to
be updated. The <sgmltag><a4j:commandLink></sgmltag> uses the
<varname>onclick</varname> event instead of the
<varname>onsubmit</varname> event, but otherwise uses all common Ajax
attributes as listed in <xref
linkend="chap-Component_Reference-Common_Ajax_attributes" />.
+ The <sgmltag><a4j:commandLink></sgmltag> requires only the
<varname>value</varname> and <varname>render</varname> attributes
to function. The <varname>value</varname> attribute specifies the text of the
link and the <varname>render</varname> attribute specifies which areas are to
be updated. The <sgmltag><a4j:commandLink></sgmltag> uses the
<varname>click</varname> event instead of the
<varname>submit</varname> event, but otherwise uses all common Ajax attributes
as listed in <xref linkend="chap-Component_Reference-Common_Ajax_attributes"
/>.
</para>
</section>
@@ -303,7 +303,7 @@
<title>Attaching
<sgmltag><rich:componentControl></sgmltag> to a
component</title>
<programlisting language="XML" role="XML"><xi:include
parse="text"
href="extras/exam-Component_Reference-richcomponentControl-Attaching_richcomponentControl_to_a_component.xml_sample"
xmlns:xi="http://www.w3.org/2001/XInclude" /></programlisting>
<para>
- In the example, the <literal>onclick</literal> event of the component
with the identifier <literal>ccCalendarID</literal> will trigger the
<literal>Expand</literal> operation for the component with the identifier
<literal>doExpandCalendarID</literal>.
+ In the example, the <literal>click</literal> event of the component with
the identifier <literal>ccCalendarID</literal> will trigger the
<literal>Expand</literal> operation for the component with the identifier
<literal>doExpandCalendarID</literal>.
</para>
</example>
</section>
@@ -351,7 +351,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><literal>onavailable</literal></term>
+ <term><literal>available</literal></term>
<listitem>
<para>
attached after the target component is initialized.
@@ -359,7 +359,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><literal>onload</literal></term>
+ <term><literal>load</literal></term>
<listitem>
<para>
attached after the page is loaded.
@@ -469,7 +469,7 @@
The <sgmltag><a4j:jsFunction></sgmltag> component allows
the use of the <sgmltag><a4j:actionParam></sgmltag> component or
the JavaServer Faces <sgmltag><f:param></sgmltag> component to
pass any number of parameters for the JavaScript function.
</para>
<para>
- The <sgmltag><a4j:jsFunction></sgmltag> component is
similar to the <sgmltag><a4j:commandButton></sgmltag> component,
but it can be activated from the JavaScript code. This allows some server-side
functionality to be invoked and the returned data to subsequently be used in a JavaScript
function invoked by the <varname>oncomplete</varname> event attribute. In this
way, the <sgmltag><a4j:jsFunction></sgmltag> component can be
used instead of the <sgmltag><a4j:commandButton></sgmltag>
component.
+ The <sgmltag><a4j:jsFunction></sgmltag> component is
similar to the <sgmltag><a4j:commandButton></sgmltag> component,
but it can be activated from the JavaScript code. This allows some server-side
functionality to be invoked and the returned data to subsequently be used in a JavaScript
function invoked by the <varname>complete</varname> event attribute. In this
way, the <sgmltag><a4j:jsFunction></sgmltag> component can be
used instead of the <sgmltag><a4j:commandButton></sgmltag>
component.
</para>
</section>
Modified:
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Functions.xml
===================================================================
---
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Functions.xml 2011-02-03
02:40:56 UTC (rev 21407)
+++
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Functions.xml 2011-02-03
04:40:17 UTC (rev 21408)
@@ -32,14 +32,10 @@
<para>
The <function>rich:findComponent('id')</function> function returns
the a UIComponent instance of the passed component identifier. If the specified component
identifier is not found, <literal>null</literal> is returned instead.
</para>
+ </example>
<example
id="exam-Component_Reference-richfindComponent-richfindComponent_example">
<title><function>rich:findComponent</function>
example</title>
-
-<programlisting language="XML" role="XML"><h:inputText
id="myInput">
- <a4j:support event="onkeyup" reRender="outtext"/>
-</h:inputText>
-<h:outputText id="outtext"
value="#{rich:findComponent('myInput').value}" />
-</programlisting>
+ <programlisting language="XML" role="XML"><xi:include
parse="text"
href="extras/exam-Component_Reference-richfindComponent-richfindComponent_example.xml_sample"
xmlns:xi="http://www.w3.org/2001/XInclude" /></programlisting>
</example>
</section>
@@ -53,9 +49,7 @@
<para>
The <function>rich:isUserInRole(Object)</function> function can be used
in conjunction with the <varname>rendered</varname> attribute of a component
to only display certain controls to authorized users.
</para>
-
-<programlisting language="XML" role="XML"><rich:editor
value="#{bean.text}" rendered="#{rich:isUserInRole('admin')}"
/>
-</programlisting>
+ <programlisting language="XML" role="XML"><xi:include
parse="text"
href="extras/exam-Component_Reference-richisUserInRole-richisUserInRole_example.xml_sample"
xmlns:xi="http://www.w3.org/2001/XInclude" /></programlisting>
</example>
</section>
Modified:
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Layout_and_appearance.xml
===================================================================
---
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Layout_and_appearance.xml 2011-02-03
02:40:56 UTC (rev 21407)
+++
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Layout_and_appearance.xml 2011-02-03
04:40:17 UTC (rev 21408)
@@ -208,7 +208,7 @@
</para>
<variablelist>
<varlistentry>
- <term><literal>ondomready</literal></term>
+ <term><literal>domready</literal></term>
<listitem>
<para>
This is the default behavior. The query is triggered when the document is loaded
and the DOM is ready. The query is called as a
<methodname>jQuery()</methodname> function.
@@ -228,7 +228,7 @@
<title><sgmltag><rich:jQuery></sgmltag>
example</title>
<programlisting language="XML" role="XML"><xi:include
parse="text"
href="extras/exam-Component_Reference-richjQuery-richjQuery_example.xml_sample"
xmlns:xi="http://www.w3.org/2001/XInclude" /></programlisting>
<para>
- In the example, the selector picks out the odd
<sgmltag><tr></sgmltag> elements that are children of the
element with an
<code><varname>id</varname>="customlist"</code>
attribute. The query <code>addClass(odd)</code> is then performed on the
selection during page loading (<literal>onload</literal>) such that the
<literal>odd</literal> CSS class is added to the selected elements.
+ In the example, the selector picks out the odd
<sgmltag><tr></sgmltag> elements that are children of the
element with an
<code><varname>id</varname>="customlist"</code>
attribute. The query <code>addClass(odd)</code> is then performed on the
selection during page loading (<literal>load</literal>) such that the
<literal>odd</literal> CSS class is added to the selected elements.
</para>
<mediaobject>
<imageobject>
@@ -269,7 +269,7 @@
The <sgmltag><rich:jQuery></sgmltag> component applies
style and behavioral changes to DOM objects dynamically. As such, changes applied during
an Ajax response are overwritten, and will need to be re-applied once the Ajax response is
complete.
</para>
<para>
- Any timed queries with the <varname>timing</varname> attribute set to
<literal>ondomready</literal> may not update during an Ajax response, as the
DOM document is not completely reloaded. To ensure the query is re-applied after an Ajax
response, include the <varname>name</varname> attribute in the
<sgmltag><rich:jQuery></sgmltag> component and invoke it using
JavaScript from the <varname>oncomplete</varname> event attribute of the
component that triggered the Ajax interaction.
+ Any timed queries with the <varname>timing</varname> attribute set to
<literal>domready</literal> may not update during an Ajax response, as the DOM
document is not completely reloaded. To ensure the query is re-applied after an Ajax
response, include the <varname>name</varname> attribute in the
<sgmltag><rich:jQuery></sgmltag> component and invoke it using
JavaScript from the <varname>complete</varname> event attribute of the
component that triggered the Ajax interaction.
</para>
</section>
Modified:
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Output_and_messages.xml
===================================================================
---
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Output_and_messages.xml 2011-02-03
02:40:56 UTC (rev 21407)
+++
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Output_and_messages.xml 2011-02-03
04:40:17 UTC (rev 21408)
@@ -570,7 +570,7 @@
</para>
<variablelist>
<varlistentry>
- <term><literal>onclick</literal></term>
+ <term><literal>click</literal></term>
<listitem>
<para>
This event is activated when the tool-tip is clicked with the mouse.
@@ -578,7 +578,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><literal>ondblclick</literal></term>
+ <term><literal>dblclick</literal></term>
<listitem>
<para>
This event is activated when the tool-tip is double-clicked with the mouse.
@@ -586,7 +586,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><literal>onmouseout</literal></term>
+ <term><literal>mouseout</literal></term>
<listitem>
<para>
This event is activated when the mouse cursor leaves the tool-tip.
@@ -594,7 +594,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><literal>onmousemove</literal></term>
+ <term><literal>mousemove</literal></term>
<listitem>
<para>
This event is activated when the mouse cursor moves over the tool-tip.
@@ -602,7 +602,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><literal>onmouseover</literal></term>
+ <term><literal>mouseover</literal></term>
<listitem>
<para>
This event is activated when the mouse cursor hovers over the tool-tip.
@@ -610,7 +610,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><literal>onshow</literal></term>
+ <term><literal>show</literal></term>
<listitem>
<para>
This event is activated when the tool-tip is shown.
@@ -618,7 +618,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><literal>oncomplete</literal></term>
+ <term><literal>complete</literal></term>
<listitem>
<para>
This event is activated when the tool-tip is completed.
@@ -626,7 +626,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><literal>onhide</literal></term>
+ <term><literal>hide</literal></term>
<listitem>
<para>
This event is activated when the tool-tip is hidden.
Modified:
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Panels_and_containers.xml
===================================================================
---
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Panels_and_containers.xml 2011-02-03
02:40:56 UTC (rev 21407)
+++
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Panels_and_containers.xml 2011-02-03
04:40:17 UTC (rev 21408)
@@ -178,12 +178,12 @@
<itemizedlist>
<listitem>
<para>
- The <varname>onitemchange</varname> event points to the function to
perform when the switchable item is changed.
+ The <varname>itemchange</varname> event points to the function to
perform when the switchable item is changed.
</para>
</listitem>
<listitem>
<para>
- The <varname>onbeforeitemchange</varname> event points to the function
to perform when before the switchable item is changed.
+ The <varname>beforeitemchange</varname> event points to the function to
perform when before the switchable item is changed.
</para>
</listitem>
</itemizedlist>
@@ -259,12 +259,12 @@
<itemizedlist>
<listitem>
<para>
- The <varname>onenter</varname> event points to the function to perform
when the mouse enters the panel.
+ The <varname>enter</varname> event points to the function to perform
when the mouse enters the panel.
</para>
</listitem>
<listitem>
<para>
- The <varname>onleave</varname> attribute points to the function to
perform when the mouse leaves the panel.
+ The <varname>leave</varname> event points to the function to perform
when the mouse leaves the panel.
</para>
</listitem>
</itemizedlist>
@@ -769,12 +769,12 @@
<itemizedlist>
<listitem>
<para>
- The <varname>onitemchange</varname> event points to the function to
perform when the switchable item is changed.
+ The <varname>itemchange</varname> event points to the function to
perform when the switchable item is changed.
</para>
</listitem>
<listitem>
<para>
- The <varname>onbeforeitemchange</varname> event points to the function
to perform when before the switchable item is changed.
+ The <varname>beforeitemchange</varname> event points to the function to
perform when before the switchable item is changed.
</para>
</listitem>
</itemizedlist>
@@ -896,12 +896,12 @@
<itemizedlist>
<listitem>
<para>
- The <varname>onenter</varname> event points to the function to perform
when the mouse enters the tab.
+ The <varname>enter</varname> event points to the function to perform
when the mouse enters the tab.
</para>
</listitem>
<listitem>
<para>
- The <varname>onleave</varname> attribute points to the function to
perform when the mouse leaves the tab.
+ The <varname>leave</varname> attribute points to the function to
perform when the mouse leaves the tab.
</para>
</listitem>
</itemizedlist>
Modified:
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Processing_management.xml
===================================================================
---
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Processing_management.xml 2011-02-03
02:40:56 UTC (rev 21407)
+++
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Processing_management.xml 2011-02-03
04:40:17 UTC (rev 21408)
@@ -49,32 +49,32 @@
<itemizedlist>
<listitem>
<para>
- The <varname>oncomplete</varname> event attribute is fired after a
request is completed. The request object is passed as a parameter to the event handler, so
the queue is accessible using <code>request.queue</code> and the element which
was the source of the request is accessible using <code>this</code>.
+ The <varname>complete</varname> event attribute is fired after a
request is completed. The request object is passed as a parameter to the event handler, so
the queue is accessible using <code>request.queue</code> and the element which
was the source of the request is accessible using <code>this</code>.
</para>
</listitem>
<listitem>
<para>
- The <varname>onrequestqueue</varname> event attribute is fired after a
new request has been added to the queue.
+ The <varname>requestqueue</varname> event attribute is fired after a
new request has been added to the queue.
</para>
</listitem>
<listitem>
<para>
- The <varname>onrequestdequeue</varname> event attribute is fired after
a request has been removed from the queue.
+ The <varname>requestdequeue</varname> event attribute is fired after a
request has been removed from the queue.
</para>
</listitem>
<listitem>
<para>
- The <varname>onsizeexceeded</varname> event attribute is fired when the
queue has been exceeded.
+ The <varname>sizeexceeded</varname> event attribute is fired when the
queue has been exceeded.
</para>
</listitem>
<listitem>
<para>
- The <varname>onsubmit</varname> event attribute is fired before the
request is sent.
+ The <varname>submit</varname> event attribute is fired before the
request is sent.
</para>
</listitem>
<listitem>
<para>
- The <varname>onsuccess</varname> event attribute is fired after a
successful request but before the <acronym>DOM</acronym> is updated on the
client side.
+ The <varname>success</varname> event attribute is fired after a
successful request but before the <acronym>DOM</acronym> is updated on the
client side.
</para>
</listitem>
</itemizedlist>
Modified:
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Rich_inputs.xml
===================================================================
---
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Rich_inputs.xml 2011-02-03
02:40:56 UTC (rev 21407)
+++
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Rich_inputs.xml 2011-02-03
04:40:17 UTC (rev 21408)
@@ -739,23 +739,23 @@
-->
<listitem>
<para>
- <varname>onfilesubmit</varname> is triggered before a file is
uploaded.
+ <varname>filesubmit</varname> is triggered before a file is uploaded.
</para>
</listitem>
<listitem>
<para>
- <varname>onuploadcomplete</varname> is triggered after all files in the
list have finished uploading.
+ <varname>uploadcomplete</varname> is triggered after all files in the
list have finished uploading.
</para>
</listitem>
<!--
<listitem>
<para>
- <varname>onuploadcanceled</varname> is triggered after an upload has
been canceled.
+ <varname>uploadcanceled</varname> is triggered after an upload has been
canceled.
</para>
</listitem>
<listitem>
<para>
- <varname>onerror</varname> is triggered when an error occurs during the
upload process.
+ <varname>error</varname> is triggered when an error occurs during the
upload process.
</para>
</listitem>
-->
Modified:
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Tables_and_grids.xml
===================================================================
---
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Tables_and_grids.xml 2011-02-03
02:40:56 UTC (rev 21407)
+++
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Tables_and_grids.xml 2011-02-03
04:40:17 UTC (rev 21408)
@@ -1350,7 +1350,7 @@
Set the <varname>filterValue</varname> attribute to point to the value
used to filter the column. This can be either an initial filtering value on the page, or a
value binding on the server. The <varname>filterValue</varname> value is then
used with the JavaScript <function>startsWith()</function> method to filter
the column entries based on the data specified with the
<varname>filterBy</varname> attribute. Expressions in the
<varname>filterBy</varname> attribute must refer to the variable declared in
the table's <varname>var</varname> attribute, which is used to fill the
contents of the table.
</para>
<para>
- The filter is processed and the table is rendered when the
<literal>onblur</literal> event occurs for the column. This can be changed by
defining a different event with the <varname>filterEvent</varname> attribute.
For example, to implement live updating such that the filter refreshes after every
keystroke, set <code>filterEvent="onkeyup"</code>.
+ The filter is processed and the table is rendered when the
<literal>onblur</literal> event occurs for the column. This can be changed by
defining a different event with the <varname>filterEvent</varname> attribute.
For example, to implement live updating such that the filter refreshes after every
keystroke, set <code>filterEvent="keyup"</code>.
</para>
<example
id="exam-Component_Reference-Table_filtering-Basic_filtering">
<title>Basic filtering</title>
Modified:
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Trees.xml
===================================================================
---
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Trees.xml 2011-02-03
02:40:56 UTC (rev 21407)
+++
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Trees.xml 2011-02-03
04:40:17 UTC (rev 21408)
@@ -242,43 +242,43 @@
<itemizedlist>
<listitem>
<para>
- The <varname>onnodetoggle</varname> event is triggered when a node is
expanded or collapsed.
+ The <varname>nodetoggle</varname> event is triggered when a node is
expanded or collapsed.
</para>
</listitem>
<listitem>
<para>
- The <varname>onbeforenodetoggle</varname> event is triggered before a
node is expanded or collapsed.
+ The <varname>beforenodetoggle</varname> event is triggered before a
node is expanded or collapsed.
</para>
</listitem>
<listitem>
<para>
- The <varname>onselectionchange</varname> event is triggered when a node
is selected.
+ The <varname>selectionchange</varname> event is triggered when a node
is selected.
</para>
</listitem>
<listitem>
<para>
- The <varname>onbeforeselectionchange</varname> event is triggered
before a node is selected.
+ The <varname>beforeselectionchange</varname> event is triggered before
a node is selected.
</para>
</listitem>
<!--
<listitem>
<para>
- The <varname>ondragstart</varname> event is triggered when an element
starts being dragged.
+ The <varname>dragstart</varname> event is triggered when an element
starts being dragged.
</para>
</listitem>
<listitem>
<para>
- The <varname>ondragexit</varname> event is triggered when an element is
dragged out of the tree.
+ The <varname>dragexit</varname> event is triggered when an element is
dragged out of the tree.
</para>
</listitem>
<listitem>
<para>
- The <varname>ondragenter</varname> event is triggered when an element
is dragged into the tree.
+ The <varname>dragenter</varname> event is triggered when an element is
dragged into the tree.
</para>
</listitem>
<listitem>
<para>
- The <varname>ondragend</varname> event is triggered when an element is
dropped.
+ The <varname>dragend</varname> event is triggered when an element is
dropped.
</para>
</listitem>
-->
Modified:
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-Table_filtering-Basic_filtering.xml_sample
===================================================================
---
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-Table_filtering-Basic_filtering.xml_sample 2011-02-03
02:40:56 UTC (rev 21407)
+++
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-Table_filtering-Basic_filtering.xml_sample 2011-02-03
04:40:17 UTC (rev 21408)
@@ -8,11 +8,11 @@
</rich:column>
</f:facet>
<rich:column filterValue="#{capitalsBean.currentStateFilterValue}"
- filterBy="#{cap.state}" filterEvent="onkeyup">
+ filterBy="#{cap.state}" filterEvent="keyup">
<h:outputText value="#{cap.state}"/>
</rich:column>
<rich:column filterValue="#{capitalsBean.currentNameFilterValue}"
- filterBy="#{cap.name}" filterEvent="onkeyup">
+ filterBy="#{cap.name}" filterEvent="keyup">
<h:outputText value="#{cap.name}"/>
</rich:column>
</rich:dataTable>
Modified:
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-Table_filtering-External_filtering.xml_sample
===================================================================
---
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-Table_filtering-External_filtering.xml_sample 2011-02-03
02:40:56 UTC (rev 21407)
+++
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-Table_filtering-External_filtering.xml_sample 2011-02-03
04:40:17 UTC (rev 21408)
@@ -10,7 +10,7 @@
<rich:column filterMethod="#{filteringBean.filterStates}">
<f:facet name="header">
<h:inputText value="#{filteringBean.filterValue}"
id="input">
- <a4j:ajax event="onkeyup" render="table"
+ <a4j:ajax event="keyup" render="table"
ignoreDupResponses="true" requestDelay="700"/>
</h:inputText>
</f:facet>
@@ -21,7 +21,7 @@
<f:facet name="header">
<h:selectOneMenu value="#{filteringBean.filterZone}">
<f:selectItems value="#{filteringBean.filterZones}" />
- <a4j:ajax event="onchange" render="table" />
+ <a4j:ajax event="change" render="table" />
</h:selectOneMenu>
</f:facet>
<h:outputText value="#{cap.timeZone}"/>
Modified:
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-Tables_and_grids-richextendedDataTable_example.xml_sample
===================================================================
---
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-Tables_and_grids-richextendedDataTable_example.xml_sample 2011-02-03
02:40:56 UTC (rev 21407)
+++
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-Tables_and_grids-richextendedDataTable_example.xml_sample 2011-02-03
04:40:17 UTC (rev 21408)
@@ -1,27 +1,27 @@
<rich:extendedDataTable id="edt" value="#{extendedDT.dataModel}"
var="edt" width="500px" height="500px"
selectedClass="dataTableSelectedRow" sortMode="single"
selectionMode="multi" selection="#{extendedDT.selection}"
rowKeyVar="rkvar" tableState="#{extendedDT.tableState}">
- <rich:column id="id" headerClass="dataTableHeader"
width="50" label="Id" sortable="true"
sortBy="#{edt.id}" sortIconAscending="dataTableAscIcon"
sortIconDescending="dataTableDescIcon">
- <f:facet name="header">
- <h:outputText value="Id" />
- </f:facet>
- <h:outputText value="#{edt.id}" />
- </rich:column>
- <rich:column id="name" width="300"
headerClass="dataTableHeader" label="Name" sortable="true"
sortBy="#{edt.name}" sortIconAscending="dataTableAscIcon"
sortIconDescending="dataTableDescIcon" filterBy="#{edt.name}"
filterEvent="onkeyup" visible="false">
- <f:facet name="header">
- <h:outputText value="Name" />
- </f:facet>
- <h:outputText value="#{edt.name}" />
- </rich:column>
- <rich:column id="date" width="100"
headerClass="dataTableHeader" label="Date" sortable="true"
comparator="#{extendedDT.dateComparator}"
sortIconAscending="dataTableAscIcon"
sortIconDescending="dataTableDescIcon">
- <f:facet name="header">
- <h:outputText value="Date" />
- </f:facet>
- <h:outputText value="#{edt.date}"><f:convertDateTime
pattern="yyyy-MM-dd HH:mm:ss" />
- </h:outputText>
- </rich:column>
- <rich:column id="group" width="50"
headerClass="dataTableHeader" label="Group" sortable="true"
sortBy="#{edt.group}" sortIconAscending="dataTableAscIcon"
sortIconDescending="dataTableDescIcon">
- <f:facet name="header">
- <h:outputText value="Group" />
- </f:facet>
- <h:outputText value="#{edt.group}" />
- </rich:column>
+ <rich:column id="id" headerClass="dataTableHeader"
width="50" label="Id" sortable="true"
sortBy="#{edt.id}" sortIconAscending="dataTableAscIcon"
sortIconDescending="dataTableDescIcon">
+ <f:facet name="header">
+ <h:outputText value="Id" />
+ </f:facet>
+ <h:outputText value="#{edt.id}" />
+ </rich:column>
+ <rich:column id="name" width="300"
headerClass="dataTableHeader" label="Name" sortable="true"
sortBy="#{edt.name}" sortIconAscending="dataTableAscIcon"
sortIconDescending="dataTableDescIcon" filterBy="#{edt.name}"
filterEvent="keyup" visible="false">
+ <f:facet name="header">
+ <h:outputText value="Name" />
+ </f:facet>
+ <h:outputText value="#{edt.name}" />
+ </rich:column>
+ <rich:column id="date" width="100"
headerClass="dataTableHeader" label="Date" sortable="true"
comparator="#{extendedDT.dateComparator}"
sortIconAscending="dataTableAscIcon"
sortIconDescending="dataTableDescIcon">
+ <f:facet name="header">
+ <h:outputText value="Date" />
+ </f:facet>
+ <h:outputText value="#{edt.date}"><f:convertDateTime
pattern="yyyy-MM-dd HH:mm:ss" />
+ </h:outputText>
+ </rich:column>
+ <rich:column id="group" width="50"
headerClass="dataTableHeader" label="Group" sortable="true"
sortBy="#{edt.group}" sortIconAscending="dataTableAscIcon"
sortIconDescending="dataTableDescIcon">
+ <f:facet name="header">
+ <h:outputText value="Group" />
+ </f:facet>
+ <h:outputText value="#{edt.group}" />
+ </rich:column>
</rich:extendedDataTable>
Modified:
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-a4jajax-a4jajax_example.xml_sample
===================================================================
---
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-a4jajax-a4jajax_example.xml_sample 2011-02-03
02:40:56 UTC (rev 21407)
+++
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-a4jajax-a4jajax_example.xml_sample 2011-02-03
04:40:17 UTC (rev 21408)
@@ -1,6 +1,6 @@
<h:panelGrid columns="2">
<h:inputText id="myinput" value="#{userBean.name}">
- <a4j:ajax event="onkeyup" render="outtext" />
+ <a4j:ajax event="keyup" render="outtext" />
</h:inputText>
<h:outputText id="outtext" value="#{userBean.name}" />
</h:panelGrid>
Modified:
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-a4jstatus-Updating_a_common_a4jstatus_component.xml_sample
===================================================================
---
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-a4jstatus-Updating_a_common_a4jstatus_component.xml_sample 2011-02-03
02:40:56 UTC (rev 21407)
+++
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-a4jstatus-Updating_a_common_a4jstatus_component.xml_sample 2011-02-03
04:40:17 UTC (rev 21408)
@@ -7,12 +7,12 @@
<h:panelGrid columns="2">
<h:outputText value="Name" />
<h:inputText id="name"
value="#{userBean.name}">
- <a4j:support event="onkeyup" reRender="out"
status="commonstatus" />
+ <a4j:support event="keyup" reRender="out"
status="commonstatus" />
</h:inputText>
<h:outputText value="Job" />
<h:inputText id="job" value="#{userBean.job}">
- <a4j:support event="onkeyup" reRender="out"
status="commonstatus" />
+ <a4j:support event="keyup" reRender="out"
status="commonstatus" />
</h:inputText>
<h:panelGroup />
Modified:
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richajaxValidator-Using_richajaxValidator_with_Hibernate_Validator-0.xml_sample
===================================================================
---
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richajaxValidator-Using_richajaxValidator_with_Hibernate_Validator-0.xml_sample 2011-02-03
02:40:56 UTC (rev 21407)
+++
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richajaxValidator-Using_richajaxValidator_with_Hibernate_Validator-0.xml_sample 2011-02-03
04:40:17 UTC (rev 21408)
@@ -1,24 +1,24 @@
<h:form id="ajaxValidatorForm2">
- <rich:panel>
- <f:facet name="header">
- <h:outputText value="User Info:" />
- </f:facet>
- <h:panelGrid columns="3">
- <h:outputText value="Name:" />
- <h:inputText value="#{validationBean.name}" id="name"
required="true">
- <rich:ajaxValidator event="onblur" />
- </h:inputText>
- <rich:message for="name" />
- <h:outputText value="Email:" />
- <h:inputText value="#{validationBean.email}"
id="email">
- <rich:ajaxValidator event="onblur" />
- </h:inputText>
- <rich:message for="email" />
- <h:outputText value="Age:" />
- <h:inputText value="#{validationBean.age}"
id="age">
- <rich:ajaxValidator event="onblur" />
- </h:inputText>
- <rich:message for="age" />
- </h:panelGrid>
- </rich:panel>
+ <rich:panel>
+ <f:facet name="header">
+ <h:outputText value="User Info:" />
+ </f:facet>
+ <h:panelGrid columns="3">
+ <h:outputText value="Name:" />
+ <h:inputText value="#{validationBean.name}" id="name"
required="true">
+ <rich:ajaxValidator event="blur" />
+ </h:inputText>
+ <rich:message for="name" />
+ <h:outputText value="Email:" />
+ <h:inputText value="#{validationBean.email}"
id="email">
+ <rich:ajaxValidator event="blur" />
+ </h:inputText>
+ <rich:message for="email" />
+ <h:outputText value="Age:" />
+ <h:inputText value="#{validationBean.age}" id="age">
+ <rich:ajaxValidator event="blur" />
+ </h:inputText>
+ <rich:message for="age" />
+ </h:panelGrid>
+ </rich:panel>
</h:form>
Modified:
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richajaxValidator-richajaxValidator_example.xml_sample
===================================================================
---
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richajaxValidator-richajaxValidator_example.xml_sample 2011-02-03
02:40:56 UTC (rev 21407)
+++
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richajaxValidator-richajaxValidator_example.xml_sample 2011-02-03
04:40:17 UTC (rev 21408)
@@ -1,23 +1,23 @@
<rich:panel>
- <f:facet name="header">
- <h:outputText value="User Info:" />
- </f:facet>
- <h:panelGrid columns="3">
-
- <h:outputText value="Name:" />
- <h:inputText value="#{userBean.name}" id="name"
required="true">
- <f:validateLength minimum="3" maximum="12"/>
- <rich:ajaxValidator event="onblur"/>
- </h:inputText>
- <rich:message for="name" />
-
- <h:outputText value="Age:" />
- <h:inputText value="#{userBean.age}" id="age"
required="true">
- <f:convertNumber integerOnly="true"/>
- <f:validateLongRange minimum="18" maximum="99"/>
- <rich:ajaxValidator event="onblur"/>
- </h:inputText>
- <rich:message for="age"/>
-
- </h:panelGrid>
+ <f:facet name="header">
+ <h:outputText value="User Info:" />
+ </f:facet>
+ <h:panelGrid columns="3">
+
+ <h:outputText value="Name:" />
+ <h:inputText value="#{userBean.name}" id="name"
required="true">
+ <f:validateLength minimum="3" maximum="12"/>
+ <rich:ajaxValidator event="blur"/>
+ </h:inputText>
+ <rich:message for="name" />
+
+ <h:outputText value="Age:" />
+ <h:inputText value="#{userBean.age}" id="age"
required="true">
+ <f:convertNumber integerOnly="true"/>
+ <f:validateLongRange minimum="18" maximum="99"/>
+ <rich:ajaxValidator event="blur"/>
+ </h:inputText>
+ <rich:message for="age"/>
+
+ </h:panelGrid>
</rich:panel>
Modified:
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richcomponentControl-Attaching_richcomponentControl_to_a_component.xml_sample
===================================================================
---
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richcomponentControl-Attaching_richcomponentControl_to_a_component.xml_sample 2011-02-03
02:40:56 UTC (rev 21407)
+++
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richcomponentControl-Attaching_richcomponentControl_to_a_component.xml_sample 2011-02-03
04:40:17 UTC (rev 21408)
@@ -1 +1 @@
-<rich:componentControl attachTo="doExpandCalendarID"
event="onclick" operation="Expand" for="ccCalendarID" />
+<rich:componentControl attachTo="doExpandCalendarID" event="click"
operation="Expand" for="ccCalendarID" />
Modified:
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richcomponentControl-Using_parameters-0.xml_sample
===================================================================
---
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richcomponentControl-Using_parameters-0.xml_sample 2011-02-03
02:40:56 UTC (rev 21407)
+++
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richcomponentControl-Using_parameters-0.xml_sample 2011-02-03
04:40:17 UTC (rev 21408)
@@ -1 +1 @@
-<rich:componentControl name="func" event="onRowClick"
for="menu" operation="show" params="#{car.model}"/>
+<rich:componentControl name="func" event="rowclick"
for="menu" operation="show" params="#{car.model}"/>
Modified:
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richcomponentControl-Using_parameters-1.xml_sample
===================================================================
---
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richcomponentControl-Using_parameters-1.xml_sample 2011-02-03
02:40:56 UTC (rev 21407)
+++
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richcomponentControl-Using_parameters-1.xml_sample 2011-02-03
04:40:17 UTC (rev 21408)
@@ -1,3 +1,3 @@
-<rich:componentControl event="onRowClick" for="menu"
operation="show">
+<rich:componentControl event="rowclick" for="menu"
operation="show">
<f:param value="#{car.model}" name="model"/>
</rich:componentControl>
Modified:
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richcomponentControl-richcomponentControl_basic_usage.xml_sample
===================================================================
---
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richcomponentControl-richcomponentControl_basic_usage.xml_sample 2011-02-03
02:40:56 UTC (rev 21407)
+++
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richcomponentControl-richcomponentControl_basic_usage.xml_sample 2011-02-03
04:40:17 UTC (rev 21408)
@@ -1,4 +1,4 @@
<h:commandButton value="Show Modal Panel">
<!--componentControl is attached to the commandButton-->
- <rich:componentControl for="ccModalPanelID" event="onclick"
operation="show"/>
+ <rich:componentControl for="ccModalPanelID" event="click"
operation="show"/>
</h:commandButton>
Added:
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richfindComponent-richfindComponent_example.xml_sample
===================================================================
---
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richfindComponent-richfindComponent_example.xml_sample
(rev 0)
+++
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richfindComponent-richfindComponent_example.xml_sample 2011-02-03
04:40:17 UTC (rev 21408)
@@ -0,0 +1,4 @@
+<h:inputText id="myInput">
+ <a4j:support event="keyup" render="outtext"/>
+</h:inputText>
+<h:outputText id="outtext"
value="#{rich:findComponent('myInput').value}" />
Added:
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richisUserInRole-richisUserInRole_example.xml_sample
===================================================================
---
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richisUserInRole-richisUserInRole_example.xml_sample
(rev 0)
+++
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richisUserInRole-richisUserInRole_example.xml_sample 2011-02-03
04:40:17 UTC (rev 21408)
@@ -0,0 +1 @@
+<rich:editor value="#{bean.text}"
rendered="#{rich:isUserInRole('admin')}"/>
Modified:
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richjQuery-richjQuery_example.xml_sample
===================================================================
---
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richjQuery-richjQuery_example.xml_sample 2011-02-03
02:40:56 UTC (rev 21407)
+++
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richjQuery-richjQuery_example.xml_sample 2011-02-03
04:40:17 UTC (rev 21408)
@@ -1,5 +1,5 @@
<rich:dataTable id="customList" ... >
- ...
+ ...
</rich:dataTable>
-<rich:jQuery selector="#customList tr:odd" timing="ondomready"
query="addClass(odd)" />
+<rich:jQuery selector="#customList tr:odd" timing="domready"
query="addClass(odd)" />