if you replace rich:panel with just pure div, does the div works like you expect?
replacing richpanel with div gives scrolling within percentage specified.
However to clarify if the differenece beteween richfaces panel and div of html
earlier to include left richfaces panel and right panel these component were embeded within panelgrid component when specifying percentage for richfaces panel it never took consideration of the style specified for these panel.
when richfaces panel were changed to pure div element without any embedding of panel grid the same worked. so is the problem in the way the style was specified for richfaces or the way it is used embedding within the panel grid.
basically our requirement is to have two vertical panel, left and right the data within th panel may expanded however the percentage alloted for these panel is fixed so the scroll should come automatically.
we noticed that richfaces panel has a style class rich-panel body do we have to specify the desired css property in there , if yes doing do will it not affect other richfaces panel used in the application if the css is common for all entire application.
appreciate if anybody can help us clear our understanding on using richfaces panel vertically with fixed percentage.
rich:panel is div. header and body are other div inside it. No any height are specified by default.
<table style="height:300px" border="1"> <tr> <td style="height:100%"> <rich:panel style="height:100%"> ..... </rich> </td> </tr> </table>
The panel fills the 100% of the table height