0 Replies Latest reply on May 18, 2011 3:20 AM by wschindling

    Programmatically resize <rich:modalPanel>?

    wschindling

      Hi!


      I'm looking for a way to resize an opened, visible Richfaces modalPanel with JavaScript.
      There is the method Richfaces.findModalPanel('ID'), but trying to set the width or height on the returned object doesn't work.


      We need this to react to a browser window resize by the user so the modal panel stretches (almost) all of the screen again.
      Does anyone know of a way to do this?