0 Replies Latest reply on Aug 20, 2007 5:04 AM by haoues01

    Bug in IE6 : tabPanel with menuItem : javascript error

    haoues01

      Hi,

      Below a simple jsp with a tabPanel from the demo and a dropdown menu with 2 items. In FF, Opera it's OK, except in IE6 (I haven't tried with IE7 yet ).

      <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
      <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
      <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
      <%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
      <%@ taglib uri="http://richfaces.ajax4jsf.org/rich" prefix="rich"%>
      <!DOCTYPE html PUBLIC
      "-//W3C//DTD XHTML 1.0 Strict//EN"
      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
      <f:view>




      <f:subview id="navbar_sv">
      <h:form id="navbar_fo" >
      <rich:toolBar itemSeparator="none" id="nav_bar" >
      <rich:toolBarGroup itemSeparator="none" location="left">
      <rich:dropDownMenu value="Administration" >
      <rich:menuItem value="Add-Edit Season" action="admin_season-edit" actionListener="#{seasonEdit.load}" >
      <a4j:actionparam name="season_id" value="0" />
      </rich:menuItem>
      <rich:menuItem value="test2" action="test2" />
      </rich:dropDownMenu>
      </rich:toolBarGroup>
      </rich:toolBar>
      </h:form>

      </f:subview>
      <rich:spacer height="50" />
      <f:subview id="main_sv">
      <h:form id="main_fo" >
      <rich:tabPanel switchType="client">
      <rich:tab label="First">
      Here is tab #1
      </rich:tab>
      <rich:tab label="Second">
      Here is tab #2
      </rich:tab>
      <rich:tab label="Third">
      Here is tab #3
      </rich:tab>
      </rich:tabPanel>
      </h:form>
      </f:subview>


      </f:view>

      Thanks.