2 Replies Latest reply on May 27, 2008 9:54 AM by jiri.pejchal

    rich:panel bodyStyle missing?

    jiri.pejchal

      In the developers guide http://www.jboss.org/file-access/default/members/jbossrichfaces/freezone/docs/devguide/en/html/panel.html

      is written:

      As it has been mentioned above, the component is mostly used for a page style definition, hence the main attributes are style ones.

      * "styleClass" and "style"
      * "headerClass" and "headerStyle"
      * "bodyClass" and "bodyStyle"

      However it seems to me that rich:panel doesn't have attribute bodyStyle, only bodyClass.

        • 1. Re: rich:panel bodyStyle missing?
          ilya_shaikovsky

          Styles will be removed from dev guide. In general the components has too many classes attributes and we think it isn't usefull to duplicate them with corresponding style-ones. Anyway it isn't good style to use it instead of class attributes isn't so?

          • 2. Re: rich:panel bodyStyle missing?
            jiri.pejchal

            But what if have a common class for all panels and would like to have just one panel body to have a specific height and a scrollbar. Is it a good style to create just one class in style file for height 500px or just put it in the style attribute?