Hi,
we implemented a custom ADF component as described here: http://docs.oracle.com/cd/E21764_01/web.1111/b31973/ad_custom.htm
We have some JavaScript code set up in the "adf-js-features.xml" file. As described in the documentation "http://docs.oracle.com/cd/E24382_01/web.1112/e16181/af_arch.htm#CHDDEAJH" (chapter 4.9.1, point 6), the "feature-name" attribute "... must use the client component's constructor name for this value".
The problem now is, if there are changes in the JavaScript files, the browser still loads the old ones. You have to manually clear the browser cache to get the new JavaScript files. So my question is what are we missing here. How can we force that a new filename for this feature is generated. Because it is not an option to rename the client constructor name only to have a new value for the "feature-name".
The "adf-js-features.xml" for example looks like:
<?xml version="1.0" encoding="UTF-8" ?>
<features xmlns="http://xmlns.oracle.com/adf/faces/feature">
<feature>
<feature-name>AdfMyComp</feature-name>
<feature-class>js/MyComp.js</feature-class>
<feature-class>js/MyCompPeer.js</feature-class>
<feature-class>js/MyCompEvent.js</feature-class>
</feature>
</features>
If I change one of the JavaScript files, e.g. "MyComp.js", the generated JavaScript feature file name is still the same and therefore the browser will not reload it. Someone has any hints about that problem?
Regards, Markus