0 Replies Latest reply on Nov 16, 2007 1:01 PM by Chris Baxter

    rich:panelMenu formatting issue with IE

    Chris Baxter Newbie

      I have noticed that when I use a rich:panelMenu with IE that it always seems to trim off the right border of the menu if the menu is enclosed in a , which is going to be the case more often then not. I have included sample code below. It displays fine in Firefox but it will always trim off the right border for some reason in IE. Any thoughts on why this is happening or if there is a solution for this?

      <html xmlns:ui="http://java.sun.com/jsf/facelets"
       xmlns:h="http://java.sun.com/jsf/html"
       xmlns:f="http://java.sun.com/jsf/core"
       xmlns:a4j="https://ajax4jsf.dev.java.net/ajax"
       xmlns:rich="http://richfaces.ajax4jsf.org/rich">
       <ui:composition>
       <table><tr><td>
       <h:form id="Form">
       <rich:panelMenu id="Menu" mode="ajax" expandSingle="true" selectedChild="item11">
       <rich:panelMenuGroup label="Menu 1" id="menu1" name="menu1" expanded="true">
       <rich:panelMenuItem label="Item 1.1" id="item11" name="item11"/>
       <rich:panelMenuItem label="Item 1.2" id="item12" name="item12"/>
       <rich:panelMenuItem label="Item 1.3" id="item13" name="item13"/>
       </rich:panelMenuGroup>
       <rich:panelMenuGroup label="Menu 2" id="menu2" name="menu2">
       <rich:panelMenuItem label="Item 2.1" id="item21" name="item21"/>
       <rich:panelMenuItem label="Item 2.2" id="item22" name="item22"/>
       <rich:panelMenuItem label="Item 2.3" id="item23" name="item23"/>
       </rich:panelMenuGroup>
       </rich:panelMenu>
       </h:form>
       </td></tr></table>
       </ui:composition>
      </html>