6 Replies Latest reply on Jun 4, 2009 8:54 AM by ilya_shaikovsky

    Does It: nested rich:layout ?

    allforjava

      Dear Team,

      1. Can I use nested rich:layout and rich:layoutPanel ? As I'm not getting the expected layout for the included scrollableDataTable. Here is the code:

      <rich:layout>
      <rich:layoutPanel position="left" width="40%">
       <ui:include src="/ForWorkLog/IL.xhtml"/>
      </rich:layoutPanel>
      <rich:layoutPanel position="center" width="60%">
       <f:view>
       <rich:layout>
       <richfaces:layoutPanel id="issueLayout"
       width="100%"
       height="20%"
       position="top">
       <ui:include src="/ForWorkLog/I.xhtml"/>
       </richfaces:layoutPanel>
       <richfaces:layoutPanel id="workLogLayout"
       position="center"
       width="100%">
       <ui:include src="/ForWorkLog/WL.xhtml"/>
       </richfaces:layoutPanel>
       </rich:layout>
       </f:view>
      </rich:layoutPanel>
      <rich:layout>


      If needed I can send the screenshot.

      2. Is there any way I can restrict the scrollableDataTable size/height to number of rows only? With row field its not working.

      3. Does richfaces team planning to provide any scrollable panel or layout panel? Or there is any work-around without manually giving the size in pixels?

      Thank you for the patience!