Author: konstantin.mishin
Date: 2010-05-28 13:39:57 -0400 (Fri, 28 May 2010)
New Revision: 17376
Modified:
root/examples/iteration-demo/trunk/src/main/webapp/extendedtable.xhtml
root/ui/iteration/trunk/tables/ui/src/main/resources/META-INF/resources/extendedDataTable.js
Log:
RF-8691
Modified: root/examples/iteration-demo/trunk/src/main/webapp/extendedtable.xhtml
===================================================================
--- root/examples/iteration-demo/trunk/src/main/webapp/extendedtable.xhtml 2010-05-28
16:47:04 UTC (rev 17375)
+++ root/examples/iteration-demo/trunk/src/main/webapp/extendedtable.xhtml 2010-05-28
17:39:57 UTC (rev 17376)
@@ -58,7 +58,7 @@
<script type="text/javascript">
<!--
function invokeJSAPI() {
- eval("document.getElementById('js_api_result').value =
document.getElementById('"+
document.getElementById("js_api_id_input").value +
"').component."
+ eval("document.getElementById('js_api_result').value =
RichFaces.$('"+ document.getElementById("js_api_id_input").value +
"')."
+ document.getElementById("js_api_function_string_input").value);
}
//-->
Modified:
root/ui/iteration/trunk/tables/ui/src/main/resources/META-INF/resources/extendedDataTable.js
===================================================================
---
root/ui/iteration/trunk/tables/ui/src/main/resources/META-INF/resources/extendedDataTable.js 2010-05-28
16:47:04 UTC (rev 17375)
+++
root/ui/iteration/trunk/tables/ui/src/main/resources/META-INF/resources/extendedDataTable.js 2010-05-28
17:39:57 UTC (rev 17376)
@@ -298,7 +298,8 @@
jQuery(element).bind("rich:onajaxcomplete", ajaxComplete);
//JS API
- element.component = this;
+ element["richfaces"] = element["richfaces"] || {}; // TODO
ExtendedDataTable should extend richfaces.BaseComponent instead of using it.
+ element.richfaces.component = this;
this.getColumnPosition = function(id) {
var position;
Show replies by date