Author: ilya_shaikovsky
Date: 2007-09-11 08:47:37 -0400 (Tue, 11 Sep 2007)
New Revision: 2868
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar/jsAPI.xhtml
Log:
Error in description Fixed.
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar/jsAPI.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar/jsAPI.xhtml 2007-09-11
12:32:37 UTC (rev 2867)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar/jsAPI.xhtml 2007-09-11
12:47:37 UTC (rev 2868)
@@ -78,7 +78,7 @@
<dd><code>Richfaces.getComponent('calendar',element).api_function_name(parameters)</code></dd>
<dt>For example, the following call is
used on the "Next Year" button on the popup calendar panel:</dt>
- <dd><code>Richfaces.invokeOnComponent('calendar',this).nextYear();
</code></dd>
+ <dd><code>Richfaces.getComponent('calendar',this).nextYear();
</code></dd>
The second parameter
is an element inside the calendar. Richfaces.invokeOnComponent tries to find
the component in the parents hierarchy with type specified with the first parameter
and
Show replies by date