Author: pyaschenko
Date: 2010-09-17 04:43:11 -0400 (Fri, 17 Sep 2010)
New Revision: 19234
Modified:
trunk/core/impl/src/main/resources/META-INF/resources/richfaces-base-component.js
Log:
https://jira.jboss.org/browse/RFPL-761
Modified:
trunk/core/impl/src/main/resources/META-INF/resources/richfaces-base-component.js
===================================================================
---
trunk/core/impl/src/main/resources/META-INF/resources/richfaces-base-component.js 2010-09-17
08:38:05 UTC (rev 19233)
+++
trunk/core/impl/src/main/resources/META-INF/resources/richfaces-base-component.js 2010-09-17
08:43:11 UTC (rev 19234)
@@ -21,9 +21,13 @@
richfaces.MyComponent = function(componentId, [options]) {
// call constructor of parent class
$super.constructor.call(this, componentId, [options]);
+
+ <span style="color:red">
// call this.attachToDom method to attach component to dom element
// its required for the client side API calls and to clean up after ajax request or
page unload:
// destroy method will be called if component attached to dom
+ this.attachToDom(componentId);
+ </span>
};
// define private method