Author: vsukhov
Date: 2008-03-24 15:12:34 -0400 (Mon, 24 Mar 2008)
New Revision: 7147
Modified:
trunk/docs/userguide/en/src/main/docbook/modules/RFCarchitectover.xml
Log:
http://jira.jboss.com/jira/browse/RF-2681I've added info abuot
rich:clientId('id'), rich:element('id'), rich:component('id') into
guide 5.4.5 section
Modified: trunk/docs/userguide/en/src/main/docbook/modules/RFCarchitectover.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/modules/RFCarchitectover.xml 2008-03-24
19:10:14 UTC (rev 7146)
+++ trunk/docs/userguide/en/src/main/docbook/modules/RFCarchitectover.xml 2008-03-24
19:12:34 UTC (rev 7147)
@@ -518,7 +518,13 @@
refered with <emphasis>
<property>"data"</property>
</emphasis>.</para>
- </section>
+ <para>There is a number of useful functions which can be used in
JavaScript:</para>
+ <itemizedlist>
+ <listitem>rich:clientId('id') - returns client id by short id or
null if the component with the id specified hasn't been found </listitem>
+ <listitem>rich:element('id') - is a shortcut for
document.getElementById(#{rich:clientId('id')}) </listitem>
+ <listitem>rich:component('id') - is a shortcut for
#{rich:clientId('id')}.component</listitem>
+ </itemizedlist>
+ </section>
<section id="IterationcomponentsAjaxattributes">
<?dbhtml filename="IterationcomponentsAjaxattributes.html"?>