4 Replies Latest reply on Oct 28, 2007 11:15 PM by mygol

    rich:toolBar and padding-bottom

    trossmy

      There is a difference between firefox 1.5 and IE 6 in the way they render a rich:toolBar. In IE 6 it is rendered in a way that there is a padding at the bottom (in the sense that the next component is rendered with quite a big empty row) in firefox not. I would like to see the firefox behaviour for IE 6 too. Any suggestions? thanx

        • 1. Re: rich:toolBar and padding-bottom
          ilya_shaikovsky

          what is your RF version? something like this was reported already some time ago.

          • 2. Re: rich:toolBar and padding-bottom
            trossmy

            I'm using 3.1.1GA, upgraded a couple of days ago, didn't change the behaviour described above

            • 3. Re: rich:toolBar and padding-bottom
              trossmy

              you can verify the issue with this code:

              <ui:composition xmlns="http://www.w3.org/1999/xhtml"
               xmlns:jsp="http://java.sun.com/JSP/Page"
               xmlns:f="http://java.sun.com/jsf/core"
               xmlns:h="http://java.sun.com/jsf/html"
               xmlns:c="http://java.sun.com/jstl/core"
               xmlns:rich="http://richfaces.ajax4jsf.org/rich"
               xmlns:ui="http://java.sun.com/jsf/facelets" version="2.0">
               <h:outputText value='<?xml version="1.0" encoding="UTF-8"?>'
               escape="false" />
               <h:outputText
               value='<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">'
               escape="false" />
               <html xmlns="http://www.w3.org/1999/xhtml">
               <head>
               </head>
               <body>
               <h:form id="testForm">
               <rich:toolBar height="34" itemSeparator="line" style="border: none;">
               <h:outputLabel value="Google" />
               <h:outputLabel value="Yahoo" />
               </rich:toolBar>
               </h:form>
               <h:outputText value="test" />
               </body>
               </html>
              </ui:composition>
              



              • 4. Re: rich:toolBar and padding-bottom
                mygol

                is this fixed in 3.12?