3 Replies Latest reply on Nov 29, 2007 10:16 AM by ilya_shaikovsky

    Misuse of Tables in generated HTML

      My company is currently evaluating Richfaces for production use and it is one of our favourite candidates.

      Unfortunately we find that some richfaces-components generate code that misuses HTML-tables for layout purposes. IMHO this is kind of "old style" HTML coding and div-tags should be used instead (where possible). Examples are:

      panelMenu(Group|Item)
      panelBar(Item)
      simpleTogglePanel
      richTab(Panel)

      Are there any plans to "fix" this issue in the near future?

        • 1. Re: Misuse of Tables in generated HTML
          ilya_shaikovsky

          table design used only in the components where the complex problems appears while trying to have div based layout.

          • 2. Re: Misuse of Tables in generated HTML

            Does that mean that richfaces will
            a) use layout-tables until the "complex problems" with divs are solved? If so, are there any plans when this will be the case?
            b) use layout-tables forever?

            I would like to know before I will develop custom components and try to solve those problems myself... ;)

            Thanks for your answer anyway!

            • 3. Re: Misuse of Tables in generated HTML
              ilya_shaikovsky

              If we have table based layout in the component - it means that div based solution has some limitations that we can't solve without loosing functionality or requires hude design solutions - so we have no plans to rewrite components which are already table based...