[richfaces-issues] [JBoss JIRA] Created: (RF-2346) Incompatibility between Javascript Hash Table and Rich Tab Panel

Philipp Daumke (JIRA) jira-events at lists.jboss.org
Thu Feb 28 04:02:42 EST 2008


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: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list