]
Nick Belaevski resolved RF-2346.
--------------------------------
Resolution: Won't Fix
That's an influence of prototype.js library extending Array class. A lot of RichFaces
components are built using this library
Incompatibility between Javascript Hash Table and Rich Tab Panel
----------------------------------------------------------------
Key: RF-2346
URL:
http://jira.jboss.com/jira/browse/RF-2346
Project: RichFaces
Issue Type: Bug
Environment: Richfaces 3.1.4
Myfaces 1.2.2
Eclipse Europa
Windows XP
Reporter: Philipp Daumke
Hi,
in the code listed below I would expect only one alert from the javascript function but
heaps of alerts show up. When I remove the Tab Panel everything works fine. Looks like a
bug to me, is it?
Bye
Philipp
<%@ taglib
uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib
uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib
uri="http://richfaces.org/rich" prefix="rich"%>
<%@ taglib
uri="http://richfaces.org/a4j" prefix="a4j"%>
<body>
<script>
var elem2Array = new Array();
elem2Array['in1'] = 'out1';
for (var element in elem2Array) {
alert(element);
}
</script>
<f:view>
<rich:tabPanel>
<rich:tab>
<h:outputText value="Panel1"></h:outputText>
</rich:tab>
</rich:tabPanel>
</f:view>
</body>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: