1

enter image description here

I have in mind to create a dialog as the image, with 3 toggle panels, but I desire that everytime the toggle panels are shown/hide the dialog size changes.

Is this possible using Rich-Faces dialog ?

Dimitri Dewaele
  • 10,311
  • 21
  • 80
  • 127
MadMad666
  • 955
  • 3
  • 11
  • 19

1 Answers1

0

Both rich:modalPanel and rich:popupPanel have an autosized attribute, set it to true and it will do what you want. E.g.

<rich:popupPanel id="panel" autosized="true">
    <rich:collapsiblePanel …
    <rich:collapsiblePanel …
    …
</rich:popupPanel>
Makhiel
  • 3,874
  • 1
  • 15
  • 21