1 Reply Latest reply on Jun 5, 2008 5:53 PM by Sergey Smirnov

    Problem rendering menuItem in 3.2.1.GA

    Sergio Del Valle Newbie

      I just upgraded to 3.2.1 GA and there's a problem with the rendering of the menuItem, my page is really simple

      <?xml version="1.0" encoding="UTF-8"?>
      <html xmlns="http://www.w3.org/1999/xhtml"
       <ui:insert name="headers">Headers</ui:insert>
       <rich:panel id="container">
       <rich:panel id="header">
       <h:form id="headerForm">
       <f:facet name="label">
       <h:outputText value="Archivo"/>
       <rich:menuItem action="#{ddMenu.logout}" submitMode="ajax"
       <f:facet name="label">
       <h:outputText value="Planillas"/>
       <rich:menuItem action="#{ddMenu.doRegistrarPlanilla}"
       submitMode="ajax" value="Registar"/>
       <a4j:include id="main" layout="block" viewId="#{mainPanel.view}"/>

      When I try it Firefox shows me a page informing the xml is malformed. If I look at the source code generated there is a property for a div element that says

      onmouseover="if (RichFaces.Menu.isWithin(event, this)) return; this.className='dr-menu-item dr-menu-item-hover rich-menu-item rich-menu-item-hover ';; $('headerForm:j_id11').style.cssText='; ; ;'; $('headerForm:j_id11:icon').className='dr-menu-icon dr-menu-icon-selected rich-menu-item-icon rich-me?u-item-icon-selected '

      Note the ? in rich-me?u-item-icon-selected, if I copy and paste it on a text editor with UTF-8 encoding set it appears as a square, if I change the econding to ANSI it is shown as �. Guess this is a bug and will return to 3.2.0.SR1 until you have it solved.