[
http://jira.jboss.com/jira/browse/RF-3612?page=comments#action_12415447 ]
Nick Belaevski commented on RF-3612:
------------------------------------
Kiran,
Here is the definition for getElementsByClassName:
Prototype.BrowserFeatures.XPath ?
function(element, className) {
className = className.toString().strip();
var cond = /\s/.test(className) ? $w(className).map(iter).join('') :
iter(className);
return cond ? document._getElementsByXPath('.//*' + cond, element) : [];
} : function(element, className) {
className = className.toString().strip();
var elements = [], classNames = (/\s/.test(className) ? $w(className) : null);
if (!classNames && !className) return elements;
var nodes = $(element).getElementsByTagName('*');
className = ' ' + className + ' ';
for (var i = 0, child, cn; child = nodes[i]; i++) {
if (child.className && (cn = ' ' + child.className + ' ')
&& (cn.include(className) ||
(classNames && classNames.all(function(name) {
return !name.toString().blank() && cn.include(' ' + name +
' ');
}))))
elements.push(Element.extend(child));
}
return elements;
};
Problem using suggestion box over https
---------------------------------------
Key: RF-3612
URL:
http://jira.jboss.com/jira/browse/RF-3612
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.4
Reporter: Kiran Patel
Priority: Critical
Attachments: httpjira.jboss.comjirabrowseRF-3612.msg
I am using richfaces 3.1.4 GA on JSF 1.1, Weblogic 8.1, JDK 1.4.2_x.
I am using richfaces suggestion box for autocompletion of some value and its working fine
for me as long as I used it over the http.
But if I try to use it over the https , it gives me below js error.
Line 4154, char 5, Object doesn't support this property or method...
It is actually coming on the on prototype.js for the lines
4152: return function(className, parentElement) {
4153: return $(parentElement ||
document.body).getElementsByClassName(className);
4154: };
This errors come at the time of rendering the suggestionbox after filling some characters
in the textbox.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira