1 Reply Latest reply on Dec 9, 2010 1:15 AM by Serhiy Zastavnyy

    page component sidebar width

    Serhiy Zastavnyy Novice

      Hello All,

      I tried to use rich:page component but without success.

      Here is my code:

       

      <rich:page xmlns="http://www.w3.org/1999/xhtml"
          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:rich="http://richfaces.org/rich"
          xmlns:a4j="http://richfaces.org/a4j" 
          markupType="xhtml" contentType="text/html" theme="simple"
          sidebarWidth="#{pl.sidebarWidth}" sidebarPosition="right" pageTitle="#{pl.smallName}" id="MY_ID">
         
      
      

       

      And here is excerpt from FireBug:

       

      <div style="">

      <div style="float: left; width: 67.91%;" width="70%">    </div>

      <div style="float: left; width: 29.11%;" width="30%">    </div>

      <div style="display: block; height: 0pt; line-height: 0px; font-size: 0px; clear: both; visibility: hidden;">.   </div>

      </div>

       

      I tried different value for sidebarWidth, tried to use width attribute, but looks like component did not use sidebarWidth attribute. Generated code is always the same.

      There is always free space in right page side, because 67.91 + 29.11 is not 100

       

      Could you please clarify, what I am doing wrong?