1 2 Previous Next 26 Replies Latest reply on Jun 11, 2008 4:51 PM by Sergey Smirnov

    Menu issue with IE not in FireFox

    Phil Wilson Apprentice

      Menu issue with IE not in FireFox.

      I am using the following:

      RichFaceApi_3_2.jar = ${maven.repo}/richFacesAjax/jars/snapshot/richfaces-api-3.2.1-snap.jar
      RichFaceImpl_3_2.jar = ${maven.repo}/richFacesAjax/jars/snapshot/richfaces-impl-3.2.1-snap.jar
      RichFaceUi_3_2.jar = ${maven.repo}/richFacesAjax/jars/snapshot/richfaces-ui-3.2.1.snap.jar

      This is a clip of the menu.fragement..


      This menu works fine in FireFox but in IE I get several errors.


      I these errors in IE ver 7.0 as follows:

      Unterminated string constant
      and
      Expected ')'

      After this my page loads but most of the objects don't work.

      This works fine in FireFox...without any errors in the Tools/Error Console of FF.

      Thanks
      Phil




      ===========================================================================================

      <%@ 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/a4j" prefix="a4j"%>
      <%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>

      <%@ page import="javax.faces.component.UIComponent" %>

      <%@ page import="java.text.SimpleDateFormat" %>
      <%@ page import="java.text.DateFormat" %>
      <%@ page import="java.util.Date" %>

      <%@ page import="java.util.ResourceBundle" %>
      <%@ page import="org.apache.log4j.Logger" %>
      <%@ page import="java.io.*" %>
      <%@ page import="javax.faces.context.FacesContext" %>

      <%

      ... removed for display...

      %>


      .menuLink{
      text-decoration:none;
      color: black;
      }

      .bold2 {
      font-weight: bold;
      }



      <rich:toolBar >

      <rich:dropDownMenu value="Home">
      <rich:menuItem submitMode="none" value="Welcome"
      onclick="document.location.href='welcome.jsf'"> </rich:menuItem>
      </rich:dropDownMenu>

      <rich:dropDownMenu value="Email">
      <rich:menuItem submitMode="none" value="Received"
      onclick="document.location.href='emailReceived.jsf'"> </rich:menuItem>
      <rich:menuItem submitMode="none" value="Sent"
      onclick="document.location.href='emailSent.jsf'"> </rich:menuItem>
      </rich:dropDownMenu>

      <rich:dropDownMenu value="Search">
      <rich:menuItem submitMode="none" value="Advanced"
      onclick="document.location.href='searchTest.jsf'"> </rich:menuItem>
      </rich:dropDownMenu>

      <rich:dropDownMenu value="Orders">
      <rich:menuItem submitMode="none" value="Received"
      onclick="document.location.href='orderTests.jsf'"> </rich:menuItem>
      </rich:dropDownMenu>


      <rich:dropDownMenu value="Profile">
      <rich:menuItem submitMode="none" value="View"
      onclick="document.location.href='profileView.jsf'"> </rich:menuItem>
      <rich:menuItem submitMode="none" value="Update"
      onclick="document.location.href='profileTest.jsf'"> </rich:menuItem>
      <rich:menuItem submitMode="none" value="Manage"
      onclick="document.location.href='memberUploads.jsf'"> </rich:menuItem>
      </rich:dropDownMenu>


      <rich:dropDownMenu value="Logout">
      <rich:menuItem submitMode="none" value="Logout"
      onclick="document.location.href='logoutResults.jsf'"> </rich:menuItem>
      </rich:dropDownMenu>

      </rich:toolBar>






        1 2 Previous Next